Every resident of Madinah has a favourite gate, and most have had a phone call from a guest saying “I’m at the gate” without knowing which one. The Prophet’s Mosque has a large number of gates, and once you understand how they are numbered, meeting people and finding your way gets much easier.
This guide explains the numbering, the best-known gates and some practical habits for residents and their visitors.
Quick answer
Short answer: The Ministry of Hajj and Umrah says the Prophet’s Mosque has 100 gates and its courtyards have 40 more. Every gate shows its number beside the door, and many also have a name. Agree on a gate number, not just a name, when meeting family.
How the gates are numbered
According to the Ministry of Hajj and Umrah, all gates of the Prophet’s Mosque carry numbers visible next to each door. The courtyard gates have their numbers on the outer wall of the courtyards, and many also carry names linked to holy places or historical figures.
Gates of the Prophet’s Mosque (MoHU)
100
gates of the mosque
40
courtyard gates
The ministry’s Prophet’s Mosque Services Guide explains that the mosque gates are numbered from 1 to 42 and divided across five letters (A to E), bringing the total to 100 gates. Codes that combine a number and a letter, such as 7A or 9B, are used for the service facility gates in the courtyards.
The best-known gates
The services guide lists these gates, which make useful reference points for residents and guests.
Well-known gates (MoHU services guide)
- Bab al-Salam (باب السلام), gate 1: on the western side; the guide describes it as one of the oldest gates, established during the era of Caliph Umar Ibn Al-Khattab.
- Bab al-Rahmah (باب الرحمة), gate 3: on the western side.
- Bab Quba (باب قباء), gate 5: on the southern side.
- King Fahd Gate (بوابة الملك فهد), gate 21: on the northern side.
- King Abdulaziz Gate (بوابة الملك عبدالعزيز), gate 34: on the eastern side.
- Bab Jibril (باب جبريل), gate 40, and Bab al-Baqi’ (باب البقيع), gate 41: on the eastern side, towards al-Baqi’.
Women’s gates
The ministry’s Prophet’s Mosque Services Guide lists these gates for women:
Women’s gates (MoHU services guide)
- Sultan Abdul Majid Gate (Women): gate 13.
- Umar Ibn Al-Khattab Gate (Women): gate 17.
- Uthman Ibn Affan Gate (Women): gate 25.
- Ali Ibn Abi Talib Gate (Women): gate 29.
The guide also lists Bab al-Nisa’ (Nisa Gate) as gate 39, and it notes offices at the Western Women’s Prayer Area No. 13 and the Eastern Women’s Prayer Area No. 29. Signs at the doors show which areas are for women.
Tip
When bringing female relatives, agree on which women’s gate they will use and a nearby courtyard gate number where you will meet afterwards.
Accessible entrances
The Ministry says wheelchairs are available at specific gates, including Bab al-Salam, Bab al-Rahmah, Bab Quba, King Fahd Gate, King Abdulaziz Gate and Bab Jibril. Our guide to hosting visiting parents covers planning a visit with elderly relatives.
Meeting guests without stress
Busy prayer times make it easy to lose people. A clear plan before you go in saves a lot of phone calls.
Agreeing a meeting point
1
Pick a courtyard gate number: for example, a numbered gate on the side you entered.
2
Send a photo of the number: so everyone recognises the plaque.
3
Set a time, not “after prayer”: crowds take time to clear.
4
Agree a backup: a second gate number if the first is crowded.
5
Share live location: if phones are allowed and charged.
Note
If someone gets separated, stay calm and go to the agreed backup point first. The services guide says a lost child should be taken to the nearest security officer. For help, go to the Haram Security Lost and Found Office on the southern side in building 1, opposite courtyard gate 367.
Habits that help residents
Most residents settle on one or two gates that suit their parking, bus stop or walking route. Use the same ones each time, and teach children the number.
Guests from abroad often remember gate names better than numbers, so share both. Our page on hosting guests at the Prophet’s Mosque has more etiquette tips.
Before you leave home
A few minutes of planning at home saves a lot of searching later, especially if you are bringing guests who have never visited.
Gate planning for a visit
- Decide which gate you will enter by and which you will leave by
- Agree a meeting gate in case anyone gets separated
- Share the gate number by message with everyone in the group
- Check the women’s entrances you will use, if the group is mixed
- Plan where you will be dropped off and picked up
Gates near the most popular areas get very crowded before and after prayers. If you are flexible, a gate a little further along the wall can be calmer, and the extra walk is often quicker than queuing.
For a wider look at hosting visitors, see our guide to Prophet’s Mosque etiquette for hosts, which covers dress, behaviour and planning a first visit with guests.
FAQ
How many gates does Masjid an-Nabawi have?
The Ministry of Hajj and Umrah says 100 gates for the mosque, plus 40 courtyard gates.
Are gate numbers shown on the doors?
Yes. The ministry says every gate has its number displayed beside it.
Last checked: 2 November 2026, from Ministry of Hajj and Umrah pages. Gate arrangements can change during busy seasons; follow signs on the day.
Also visiting Makkah: Wheelchairs and electric carts at Masjid al-Haram (Living in Makkah).
Sources
- https://haj.gov.sa/en/Al-Madinah-Al-Munawwarah/Information-About-the-Prophets-Mosque
- https://haj.gov.sa/-/media/Project/HAJJ/PDF-and-FILES/Awareness-Guides/Masjid-Nabawi-Services-Guide/English/EN-masjid-nabawi-services-Guide.pdf
- https://www.spa.gov.sa/en/N2528510
- https://livinginmadina.com/hosting-visiting-parents-madinah/
- https://livinginmadina.com/hosting-guests-prophets-mosque-etiquette/
