Topkapı Palace Map and Layout: The Four Courtyards

Topkapı is not a single building you walk around. It is a sequence of courtyards, one behind the next, and reading that sequence before you arrive is what turns a confusing sprawl into a visit you can actually plan.

Mehmet Demir, Istanbul Topkapi Palace ticket specialist Written with Mehmet Demir, Istanbul Topkapi Palace ticket specialist
Elevated wide view over the courtyards, domes and rooftops of Topkapı Palace showing its sprawling layout in clear midday light

Short answer

Topkapı Palace is arranged as four courtyards set one behind another, each entered through its own gate, running from a large open first courtyard to the private inner household and the terraces above the Bosphorus. The Harem opens off the second courtyard, and the Treasury and Sacred Relics sit in the third. You move forward through them in order rather than around a central hall.

People arrive at Topkapı expecting a palace like Versailles, one grand structure with rooms leading off a spine. What they find instead is a walled town: gates, gardens, pavilions and kitchens spread across a headland, with no obvious front door once you are inside. The confusion is avoidable. Once you understand that the whole place is built as four courtyards in a row, each more private than the last, the map stops fighting you.

What is the layout of Topkapı Palace?

Topkapı Palace is arranged as four courtyards set one behind another, each entered through its own gate, running from a large public first courtyard to the private inner rooms and the terraces above the water. You move forward through them in sequence, from the Imperial Gate onward, rather than circling a central building. The Harem opens off the second courtyard as a world of its own.

That linear plan is the single most useful thing to hold in your head. Every ticket check, every famous room, every viewpoint sits somewhere along this front-to-back line, so you rarely need to backtrack if you walk it in order. The official National Palaces listing for Topkapı treats the complex the same way, as a graded progression from the outer court to the sultan's inner household.

What is in each of the four courtyards?

The first courtyard is a free public park holding Hagia Irene; the second courtyard has the palace kitchens, the Imperial Council chamber and the Harem entrance; the third courtyard holds the Treasury, the Sacred Relics chamber and the audience halls; the fourth is a garden terrace of pavilions above the Bosphorus. Ticket control sits at the gate into the second courtyard, so the first is genuinely free to enter.

Here is the whole complex, front to back, in one table:

Courtyard Turkish name What is here Ticket needed
First Alay Meydanı Hagia Irene, outer gardens, ticket booths Free to enter the court
Second Divan Meydanı Kitchens, Imperial Council, Harem entrance Palace ticket from here in
Third Enderun Avlusu Treasury, Sacred Relics, Audience Hall, Library of Ahmed III Palace ticket
Fourth (Sofa / terrace) Baghdad Kiosk, İftar Pavilion, tulip gardens, Bosphorus views Palace ticket

The Byzantine church of Hagia Irene is the odd one out, standing in that free first courtyard yet needing its own admission to go inside. Deeper in, the third courtyard is where most visitors spend the bulk of their time, because it packs in the Imperial Treasury and its famous cases alongside the relics rooms. The Harem is the exception to the neat front-to-back rule: its entrance is back in the second courtyard, and it runs as a separately ticketed maze of 300-odd rooms rather than a stop on the main line. When you want context for the individual rooms rather than the plan, our overview of everything worth seeing inside walks through the standout stops one by one.

For the version that stitches the sequence together on the ground, book the Topkapi Palace & Harem Guided Tour and check live availability & prices on GetYourGuide; a licensed guide takes the courtyards in the right order and folds the Harem in without you hunting for its door.

How big is Topkapı Palace, and how do the gates divide it?

The palace covers roughly 350,000 square metres of the old-city headland, and three ceremonial gates split that ground into its zones: the Imperial Gate from the street, the Gate of Salutation into the ticketed palace, and the Gate of Felicity into the private inner court. Each gate marked a rise in privilege in Ottoman times, and today they double as your orientation points.

Gate Turkish name Divides What it meant
Imperial Gate Bâb-ı Hümâyûn Street to first courtyard Public entry, security today
Gate of Salutation Bâbüsselâm First to second courtyard Ticket check, start of the palace proper
Gate of Felicity Bâbüssaâde Second to third courtyard Threshold of the sultan's private world

If you lose your bearings inside, find the nearest gate and you instantly know which zone you are in. The official museum page is the source of truth for which sections are open, since rooms rotate in and out of restoration and the odd courtyard building closes without much notice.

What is the best route through the palace?

Walk it straight through, first courtyard to fourth, then take the Harem as a loop off the second courtyard either at the start or the end so you never cross the grounds twice. Going front to back keeps you moving with the plan instead of against it, and it saves the terrace views over the Bosphorus as a natural finish.

Schematic map of Topkapi Palace showing the four courtyards in sequence from the Imperial Gate to the fourth-courtyard terrace, with the Harem branching off the second courtyard
Four courtyards in a line, three gates between them, the Harem hanging off the side.

A sensible order looks like this on the clock, assuming you arrive near opening:

Stop Roughly when Why here
First courtyard and Hagia Irene On arrival Free zone, quiet before the ticket gate
Second courtyard, then Harem Early Beat the Harem queue while it is thin
Third courtyard: Treasury and relics Mid-visit Small rooms, best before late-morning crowds
Fourth-courtyard terraces To finish Bosphorus views, a place to sit and rest

How long that takes is the next question most people ask, and the honest ranges sit in our breakdown of how much time the palace really needs: two to three hours for the palace alone, three to four or more once the Harem is in the plan. If you would rather thread Topkapı into a wider morning of the historic peninsula, a guided old-city walk covers the surrounding monuments as a separate booking, and you can see what that route includes here.

One last thing the map cannot show: the ground is uneven and spread out, cobbles and gentle slopes between courts, so the distances feel longer than they look on a plan. Comfortable shoes matter more here than at most museums. Walk the line, take the Harem as a detour, and finish on the terrace, and the sprawl that confuses everyone at the gate turns into one of the most logical visits in Istanbul.

Frequently asked questions

How many courtyards does Topkapı Palace have?

Four, set one behind another. The first is a free public court with Hagia Irene, the second holds the kitchens and Council chamber and the Harem entrance, the third has the Treasury and Sacred Relics, and the fourth is a garden terrace over the Bosphorus.

Where is the Harem on the Topkapı map?

Its entrance is off the second courtyard, not on the main front-to-back line. It runs as a separately ticketed section of around 300 rooms, so treat it as a loop you branch into rather than a stop you pass through.

Is the first courtyard free to enter?

Yes. Ticket control sits at the Gate of Salutation into the second courtyard, so the first courtyard, including the outside of Hagia Irene, is free to walk. Going inside Hagia Irene needs its own admission.

What is the best route through Topkapı Palace?

Walk straight through from the first courtyard to the fourth, and take the Harem as a loop off the second courtyard at the start or end. That keeps you moving with the plan and saves the terrace views for last.

How big is Topkapı Palace?

Roughly 350,000 square metres across the old-city headland. The distances feel longer than a map suggests because the ground is uneven and spread across four courtyards, so wear comfortable shoes.

Walk the courtyards with a guide who knows the order

The featured guided ticket routes you through the palace in sequence, Harem included. Live price and dates on the official GetYourGuide listing.

Check Live Availability & Prices on GetYourGuide →

Top rated · 4.8 ★ (1,928) Get Tickets →