Yes. There is no specific regulation on the costumes of foreign travelers when visiting Egypt; thus, tourists can wear shorts in Egypt. However, it is essential to be mindful of cultural norms and local customs to show your respect to the community there. While Egypt is generally more liberal and accustomed to tourists, especially in popular tourist areas, it's still advisable to dress modestly, particularly when visiting religious sites and conservative communities.
In more touristy areas like Cairo, Luxor, and beach resorts along the Red Sea, wearing shorts is generally acceptable for both men and women. However, it's a good idea to choose knee-length shorts or slightly longer ones, as this is considered more respectful and culturally sensitive. In rural areas, smaller towns, or when visiting mosques and temples, it's recommended to opt for clothing that covers the knees and shoulders, such as lightweight pants or longer skirts. This shows respect for local customs and helps avoid any unintended discomfort.
Ultimately, it's about finding a balance between comfort and cultural respect. Checking the specifics of your travel destinations, especially if you plan to explore beyond the well-trodden tourist areas, will help you determine what attire is most appropriate. Remember that showing awareness and consideration for local traditions will enhance your experience and interactions during your trip to Egypt.