Overview Highlights Location Policies Reviews Q&A Missing some information? Yes /
In short

Masjid al-Qiblatain in the Bani Salamah area of Madinah, about 4 km from the Prophet's Mosque, is where Islamic tradition holds the direction of prayer changed from Jerusalem to Makkah in 624, giving it the name Mosque of the Two Qiblas. Entry is free and the mosque is open at all hours. It is among the city's most visited historic mosques.

Masjid al-Qiblatain stands in the Bani Salamah area in the north west of Madinah, Saudi Arabia, about 4 kilometres from the Prophet's Mosque. It is one of the most visited historic mosques in the city after the Prophet's Mosque and Quba Mosque.

Islamic tradition holds that in the second year after the Hijra, in 624 CE, the Prophet Muhammad was leading a prayer at this place when the revelation came to turn the direction of prayer, the qibla, from Jerusalem toward the Kaaba in Makkah. The worshippers turned during the prayer, and the mosque became known as the Mosque of the Two Qiblas.

For centuries the mosque held two prayer niches, one facing Jerusalem and one facing Makkah. The building has been rebuilt and enlarged many times. The present mosque was built in 1987 under King Fahd, designed by the Egyptian architect Abdel-Wahed El-Wakil. It has two domes and two minarets, and the old niche facing Jerusalem was removed during the rebuilding, leaving a single mihrab toward Makkah.

The mosque sits on a gentle rise and its white walls and arched windows give it a clean, traditional look. It can hold around 2,000 worshippers, and facilities include wudu areas and a separate section for women.

The mosque is open for the five daily prayers, and in October 2025 King Salman ordered that it stay open 24 hours a day. It is included in most local ziyarat tours of Madinah. Visitors should dress modestly, and women should cover their hair.

The first mosque on the site was built in the second year after the Hijra by Sawad ibn Ghanam ibn Ka'ab al-Ansari, and tradition dates the change of qibla to the 15th of Sha'ban of that year. Caliph Umar ibn al-Khattab looked after it in its early years, and the last renovation before the modern era was carried out under the Ottoman sultan Suleiman the Magnificent.

It was long one of only two mosques in the world with prayer niches facing different directions; the other is the Mandhry Mosque in Mombasa, Kenya. In El-Wakil's design, the Jerusalem-facing niche was replaced by a small marker under a secondary false dome, and the interior also contains a replica of the mihrab in the lower chamber of the Dome of the Rock. The ablution area is in a sub-basement, the prayer hall is raised one storey on the north side, and the staff quarters form a separate block to the west.

An expansion now under way will raise the capacity to about 3,000 worshippers. The mosque stands on Khalid ibn al-Walid Road, about 5 kilometres northwest of the Prophet's Mosque by road, so most visitors arrive by taxi or on a ziyarat bus in the morning.

Fact-checked by the bookingMentor Travel Desk Reviewed · Updated when rules or prices change

We check practical details such as entry rules, seasons and costs against official government and tourism sources.

Been here? Your review helps other travellers.
Key information
🕌Event: Change of qibla, 624 CE (2 AH)
🏗️Current building: 1987, King Fahd
✏️Architect: Abdel-Wahed El-Wakil
👥Capacity: About 2,000
✦ Plan your visit to Masjid al-Qiblatain Dates, opening hours and how to get there are below. Booking ahead secures your preferred day.
Highlights Include:
Type of attraction
  • Heritage
  • Mosque (Islam)
Where it is
  • Madina
  • Saudi Arabia

Accessibility

Not confirmed yet. Please check with the venue before you visit.

Age limits

Not confirmed yet. Please check with the venue before you visit.

What to pack

Not confirmed yet. Please check with the venue before you visit.

What to wear

Not confirmed yet. Please check with the venue before you visit.

Not allowed

Not confirmed yet. Please check with the venue before you visit.

Amenities

Not confirmed yet. Please check with the venue before you visit.

Tips for visiting Masjid al-Qiblatain

  • Visit between prayers for a calmer experience.
  • Combine the visit with Quba Mosque and the Seven Mosques area.
  • Keep shoes in the racks provided at the entrance.

Visitor policy

Cancellation and prepayment
Not confirmed yet. Please check with the venue before you visit.
Children and admission
Not confirmed yet. Please check with the venue before you visit.
Groups
Not confirmed yet. Please check with the venue before you visit.
Pets
Not confirmed yet. Please check with the venue before you visit.
Photography
Not confirmed yet. Please check with the venue before you visit.
Bags
Not confirmed yet. Please check with the venue before you visit.
Smoking
Not confirmed yet. Please check with the venue before you visit.
Accepted payment
Not confirmed yet. Please check with the venue before you visit.
Contribute:

Travelers are asking

No questions yet about Masjid al-Qiblatain. Ask the community or our travel team, and the answer will show here once it is published.

Be the first to ask

Our team answers questions here

Stay in Madina

Where to stay near Masjid al-Qiblatain

Hotels closest to Masjid al-Qiblatain, nearest first, so you spend less time on the road and more time there.

Madina

Anwar Al Madinah Mövenpick Hotel5-star hotel

No reviews yet

3.4 km from Masjid al-Qiblatain

from$172.00/ night
  • Free WiFi
  • Airport shuttle
  • Parking
10 Rooms available Book Now
CHECK ALL

Explore by Theme

Find your kind of trip: 14 travel themes, from Heritage, Mosque (Islam), Landmarks.

Top things to do nearby

More sights and places to visit in Saudi Arabia, nearest first.

Madina

Seven Mosques (Al-Masajid al-Sab'a)

The Seven Mosques, known in Arabic as al-Masajid al-Sab'a, stand at the western foot of Mount Sal' in the north west of Madinah, Saudi Arabia. They are linked t...

No reviews yet

Madina

Masjid al-Ghamama

Masjid al-Ghamama stands in central Madinah, about 500 metres west of the As-Salam door of the Prophet's Mosque, on the open plaza that now surrounds the Haram....

No reviews yet

Madina

Al-Masjid an-Nabawi (Prophet's Mosque), Medina

Al-Masjid an-Nabawi, the Prophet's Mosque, is the mosque built by the Prophet Muhammad in 622 CE in central Medina, Saudi Arabia, and the second holiest site in...

5.0 1 Review
CHECK ALL

Save time: create a trip and get offers from locals

Tell us where and when you want to go, and local travel experts send you offers for your trip.

1 Create a trip 2 Get offers from locals 3 Pick the one you like
Create a trip
Need help?

Frequently Asked Questions (FAQs)

General

Because, according to tradition, the direction of prayer was changed from Jerusalem to Makkah during a prayer held here in 624 CE.