Hagia Sophia Dress Code
The Hagia Sophia dress code follows from its status: since 2020 it is a working mosque, and the Ministry visitor page says general mosque etiquette is required of every visitor, including those who only walk the gallery route upstairs. In practice that means a covered head for women and covered shoulders and knees for everyone. If you arrive dressed for a summer day, the booth sells what you need for a few euros.

Hagia Sophia dress code for women
- Head: a scarf covering the hair. The operator states that women must cover their heads.
- Shoulders and arms: covered; a cardigan or a long-sleeved shirt over a top works.
- Legs: a skirt or trousers reaching below the knee. Long, loose clothing is the safest choice.
- If you forgot: a headscarf costs €1 and a full body cover €3 at the ticket booth.
Visitors who keep a light scarf in a day bag tend to have the easiest time in Istanbul, because the same rule applies in the Blue Mosque, the Süleymaniye and every other mosque you may step into that day. A scarf large enough to wrap around the waist also deals with a too-short skirt.
Hagia Sophia dress code for men
Men do not cover their heads, but shorts that stop above the knee and sleeveless shirts fall outside mosque etiquette. Long trousers or knee-length shorts and a T-shirt with sleeves are enough. Staff at the gate turn back visitors whose clothing does not fit the rule, and the full body cover sold at the booth for €3 fits men as well as women; it is the quick way back into the queue.
Hats and caps are usually taken off in a mosque out of courtesy, and that is the expected behaviour on the ground floor of Hagia Sophia; on the gallery route nobody will stop you for a sunhat in your hand. Football shirts, slogans and see-through fabrics are best left at the hotel.
Dress code table for Hagia Sophia
| Women | Men | Children | |
| Head | Scarf over the hair | Uncovered | Older girls usually cover too |
| Shoulders | Covered | Covered | Covered |
| Legs | Below the knee | Long trousers or to the knee | Long clothing advised |
| Sold at the booth | Scarf €1, cover €3 | Cover €3 | Covers available |

Why the Hagia Sophia gallery has a dress code too
Visitors sometimes ask why they need a scarf to walk a gallery above the prayer hall. The answer is that the whole building, from the ramp to the dome, is the Ayasofya-i Kebir Cami-i Şerifi, a mosque run by its foundation since the 2020 ruling, and the operator applies mosque etiquette to everyone who enters it. Before 2024, when tourists still crossed the carpet among worshippers, the same rules applied downstairs; the separate gallery route did not relax them.
- The gallery looks straight onto the prayer hall and its congregation.
- Visitors share the building with worshippers at every hour it is open.
- The operator publishes one etiquette for all visitors, without exceptions for the upper floor.
What not to wear to Hagia Sophia
- Shorts above the knee, mini skirts and short dresses.
- Sleeveless tops, crop tops and low necklines.
- See-through fabrics, even over a swimsuit or vest.
- Clothing with slogans or images that could offend in a place of worship.
- Very tight clothing on its own; add a long shirt or wrap over it.
None of this needs special purchases: a long skirt or loose trousers, a T-shirt with sleeves and a scarf cover every rule at Hagia Sophia and in the other mosques of the city.
Muslim visitors and prayer at Hagia Sophia
Muslims who want to pray rather than sightsee follow a different path. The operator directs foreign Muslims to the main gate before prayer times, where they enter the ground-floor prayer hall like local worshippers, free of charge. Ritual washing takes place at the ablution taps outside; the şadırvan, the domed fountain built for that purpose in 1740, still stands in the courtyard. Note that the prayer hall is closed for cleaning until 10:00 each morning, and that shoes come off at its entrance.
- Entrance: the main gate, not the tourist gate.
- Cost: free.
- Timing: before prayer times; the hall is closed until 10:00 for cleaning.
Buying a scarf before your Hagia Sophia visit
The €1 scarf at the booth is plain and practical. If you would rather bring something you will wear again, Istanbul is a good place to buy one: the Grand Bazaar, a short tram ride west along Divanyolu, and the streets around it sell scarves in silk, cotton and wool at every price, and pashmina-style wraps double as shoulder covers. Buy it the day before and you arrive at the gate ready, without joining the booth queue only for the scarf.
Photography and behaviour inside Hagia Sophia
Photography of the building is allowed from the gallery. The one firm rule the operator publishes is about people: do not photograph worshippers while they pray. From the gallery you look straight down onto the prayer hall, so this comes up constantly; wait until rows have broken up, or frame the dome, the medallions and the mosaics rather than the floor.
- Keep voices low: the congregation below hears the gallery.
- Phones on silent, and no video calls along the route.
- No food or drinks on the gallery route.
- No touching the mosaics or leaning over the balustrades.
- Groups follow the guide quietly; tour leaders keep commentary short inside.
Children and strollers at Hagia Sophia
The rules for older children are those for adults: shoulders and knees covered, and girls past early childhood generally wear a scarf. Strollers are allowed only folded: the operator asks visitors to fold and carry them, because the route runs up a long ramp and along the gallery. A baby carrier is the more comfortable choice. Children under eight enter free with an accompanying adult and a passport or ID.
Dressing for Istanbul weather at Hagia Sophia
| Season | What to wear | Watch for |
| Summer (June to August) | Loose linen trousers or a long skirt, a light scarf | Heat in the booth and security queues at midday |
| Spring and autumn | Light layers that cover shoulders | Changeable weather; the ramp stones get slippery after rain |
| Winter | Warm coat, a scarf that doubles as head cover | The gallery is not heated like a museum hall |
Whatever the season, wear shoes with grip. The ramp up to the gallery is paved with stones worn smooth over fifteen centuries.
Shoes and the Hagia Sophia gallery route
The Ministry page does not mention shoes for the visitor route, and we have not been able to confirm a rule from the operator, so we do not state one. The carpeted ground floor is a prayer hall, and there, as in every mosque, shoes come off at the entrance. Comfortable flat shoes are a good idea in any case on the long ramp to the gallery.
- Flat soles with grip for the worn ramp stones.
- Shoes you can slip off easily if you also visit the Blue Mosque, where shoes come off.
- A plastic bag for carrying shoes in mosques where you remove them.
The same dress code at the Blue Mosque and Süleymaniye
If your day continues at the Blue Mosque across the park or at the Süleymaniye on the third hill, the same etiquette applies: head cover for women, shoulders and knees covered for everyone. Both are free, both are working mosques, and both close to sightseers during prayer times. Dressing once for the strictest stop of the day saves changing between buildings; Topkapı Palace and the Basilica Cistern, which are not places of worship, are more relaxed but nobody minds covered shoulders there either.
