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.

Worshippers on the prayer carpet near the mihrab

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

WomenMenChildren
HeadScarf over the hairUncoveredOlder girls usually cover too
ShouldersCoveredCoveredCovered
LegsBelow the kneeLong trousers or to the kneeLong clothing advised
Sold at the boothScarf €1, cover €3Cover €3Covers available
Hagia Sophia minarets silhouetted at sunset

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.

💡 Pro Tip
Choose a scarf with some grip
Silk slides off the hair on the windy square. Cotton or a light wool blend stays in place while you climb the ramp and look up at the dome.
Alesia Vakula
Pro tip by: Alesia Vakula
Travel expert and itinerary planning specialist

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.

💡 Pro Tip
Pack the scarf in your pocket, not the bag
Bags go through the check at the gate. If your scarf is inside, you end up unpacking there. Wear it round your neck and pull it up once you are through.
Alesia Vakula
Pro tip by: Alesia Vakula
Travel expert and itinerary planning specialist

Dressing for Istanbul weather at Hagia Sophia

SeasonWhat to wearWatch for
Summer (June to August)Loose linen trousers or a long skirt, a light scarfHeat in the booth and security queues at midday
Spring and autumnLight layers that cover shouldersChangeable weather; the ramp stones get slippery after rain
WinterWarm coat, a scarf that doubles as head coverThe 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.

Last updated: October 13, 2026

Hagia Sophia dress code: questions

Do non-Muslim women have to cover their hair?
Yes. The head-covering rule applies to every woman visitor, Muslim or not.
Are leggings acceptable?
Leggings are tight; a long top or a wrap over them fits the etiquette better.
Can I borrow a scarf instead of buying one?
The booth sells scarves for €1; the operator does not mention a free loan scheme.
Are knee-length shorts fine for men?
Shorts that reach the knee meet the usual mosque standard; shorter ones do not.
Do girls need a headscarf?
The operator states the rule for women; older girls usually cover too, and staff rarely ask it of small children.
Can I wear a hat instead of a scarf?
A hat does not count as a head cover in a mosque. Bring a scarf or buy one at the booth.
Is the €3 cover a skirt or a robe?
The operator calls it a body cover; it is a long wrap that covers legs and arms over your clothes.
Can I take photos of the mosaics?
Yes. The published rule concerns people: do not photograph worshippers while they pray.
Is a long dress with bare arms enough?
No. Shoulders and arms should be covered too; add a cardigan or a shawl.
Does the dress code apply in the outer courtyard?
The rules are enforced at the gate, but dressing modestly around the tombs and the fountain is expected courtesy.
BOOK TICKETS