
Masjid al-Qiblatain: The Mosque of Two Qiblas in Madinah
Masjid al-Qiblatain, the “Mosque of the Two Qiblas”, marks one of the turning points of Islamic history: the moment the direction of prayer changed from Jerusalem to the Kaaba in Makkah.
Quick facts
- Location
- About 5 km north-west of Masjid an-Nabawi
- Visiting
- Usually 9 am–5 pm outside prayer times
- Time needed
- 30–45 minutes
- Known for
- The change of Qibla
The day the Qibla changed
For around sixteen or seventeen months after the Hijrah, Muslims in Madinah prayed facing Bait al-Maqdis in Jerusalem. The Prophet ﷺ longed to face the Kaaba, and Allah revealed: “So turn your face toward al-Masjid al-Haram” (Al-Baqarah 2:144).
According to well-known reports, the news reached a congregation of the Banu Salamah tribe in the middle of their prayer, and they turned around towards Makkah. That is how the mosque got its name.
The mosque today
The present building, with its twin domes and twin minarets, was rebuilt in the late 1980s. Inside, the prayer hall faces only the Kaaba, but the mosque remains a powerful reminder of obedience: the Companions turned instantly when the command came.
Visiting tips
- Pray two rak'ahs if you arrive outside the forbidden times.
- Visiting hours can change, so it's best to come in the morning on your Ziyarat tour.
- Dress modestly. Women should use the women's entrance.
Getting there
Qiblatain is usually visited straight after Quba on a Madinah Ziyarat tour. With Zakarasma it is included in the Madinah Ziyarat tour (250 SAR per vehicle).
Photos of Masjid al-Qiblatain
Frequently asked questions
Why is it called the Mosque of Two Qiblas?
The command to change the Qibla from Jerusalem to the Kaaba reached the people here during a prayer, and they turned to face Makkah partway through it.
When did the Qibla change?
In the second year after the Hijrah (around 624 CE), with the revelation of Surah Al-Baqarah 2:144.
How far is Qiblatain from the Haram?
About 5 km, roughly a 10–15 minute drive.
Visit Masjid al-Qiblatain with Zakarasma
Private, air-conditioned transport with an experienced driver. Add this Ziyarat to your package and see your full day-by-day plan with prices.
Related Ziyarat guides

Masjid Quba
Masjid Quba is the first mosque in Islam. Learn its history, the reward of praying two rak'ahs there, opening …

The Seven Mosques (Sab'a Masajid)
The Seven Mosques of Madinah stand near the site of the Battle of the Trench (Khandaq). Discover their history…

Mount Uhud & the Martyrs of Uhud
Visit Mount Uhud and the graves of the martyrs, including Hamza (ra). History of the Battle of Uhud, the Arche…