Masjid Nabawi gate numbers, and the hotels near each
The 42 gates of the Prophet's Mosque by number and side: Bab al-Salam is 1, King Fahd Gate 20 to 22, gate 25 is Uthman's, and the hotels nearest each.
3 min read

Masjid Nabawi has 42 gates into the roofed mosque, each with its number written above it. People meet by number ("see you at gate 25"), so knowing the numbers on your hotel's side of the mosque helps from the first day.
The large gates carry several numbers, one for each doorway: King Fahd Gate is gates 20, 21 and 22. The gates in the outer courtyard wall have numbers of their own, separate from these.
The north side: King Fahd Gate and its neighbours
Most of the central area's hotels are on this side.
- 16 to 18: Umar ibn al-Khattab Gate, near the north-west corner.
- 19: Badr Gate.
- 20 to 22: King Fahd Gate, the main northern entrance and the only gate with two minarets.
- 23: Uhud Gate.
- 24 to 26: Uthman ibn Affan Gate, near the north-east corner, which opens onto the women's prayer area on that side.
The closest hotels to King Fahd Gate are the Madinah Hilton (4 minutes, about 320 steps) and Sofitel Shahd Al Madinah (4 minutes, about 330 steps). They are all in hotels near King Fahd Gate, and Umar's gate has hotels near Umar ibn al-Khattab Gate.

Madinah Hilton
5-star4 minto King Fahd Gate (20–22)See the hotelThe west side: Bab al-Salam and Bab al-Aqiq
- 1: Bab al-Salam, the largest and most decorated of the old gates.
- 2: Abu Bakr Gate.
- 3: Bab al-Rahmah.
- 7 to 9: King Saud Gate, at the south-west corner.
- 10: Imam Bukhari Gate.
- 11: Bab al-Aqiq.
- 12 to 14: Bab al-Majidi.

Near Bab al-Salam are Pullman Zamzam Madinah (5 minutes) and Crowne Plaza (6 minutes), and near Bab al-Aqiq, Anwar Al Madinah Mövenpick (5 minutes). See hotels near Bab al-Salam, hotels near Bab al-Aqiq and hotels near King Saud Gate.
The south side: Bab Quba and Bab Makkah
- 4: Bab al-Hijrah.
- 5: Bab Quba.
- 37: Bab Makkah.
- 38: Bilal Gate.
- 42: Bab al-A'immah.
Mysk Al Balad is near Bab Quba (4 minutes, about 390 steps), and View Al Madina near Bab Makkah (7 minutes). See hotels near Bab Quba and hotels near Bab Makkah.
The east side: towards Al-Baqi'
- 28 to 30: Ali ibn Abi Talib Gate.
- 31: Abu Dharr al-Ghifari Gate.
- 32: Imam Muslim Gate.
- 33 to 35: King Abdulaziz Gate, at the south-east corner.
- 39: Bab al-Nisa.
- 40: Bab Jibril.
- 41: Bab al-Baqi', facing the Baqi' cemetery.
A few tips
- Note the number of the gate you went in by, or take a photo of it. The gates look alike, and leaving by the wrong one puts you on the far side from your hotel.
- The women's entrances are signposted, and the gate closest for men is not always the closest entrance for women.
- Visiting the Rawdah needs a permit from the Nusuk app: see the Rawdah permit.
Every hotel's page gives its walk to the nearest gate in minutes and steps. Book your hotel near Masjid Nabawi from Madinah hotels.
Hotels near the Prophet's Mosque
Compare the walk, the view and the price, then book in minutes.
See the hotelsSources
- Madain Project: Gates of Masjid an-Nabawi (the 42 gates of the roofed mosque, their numbers and sides) · Checked 30 Nov 2026
- OpenStreetMap: walking routes from each hotel's entrance to its nearest gate of the Prophet's Mosque (estimates from the map; lifts and the time inside the building not included) · Checked 30 Nov 2026


