Standard visit
Masjid al-Qiblatain in Madinah is the mosque where, according to Islamic tradition, the direction of prayer was changed from Jerusalem to Makkah in 624 CE, giving it the name Mosque of the Two Qiblas.
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.
We check practical details such as entry rules, seasons and costs against official government and tourism sources.
Masjid al-Qiblatain in Madinah is the mosque where, according to Islamic tradition, the direction of prayer was changed from Jerusalem to Makkah in 624 CE, giving it the name Mosque of the Two Qiblas.
Guided tours and experiences that include Masjid al-Qiblatain. See tours
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
No special events on record for Masjid al-Qiblatain.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Not confirmed yet. Please check with the venue before you visit.
Others of this kind you opened on this device, so you can get back to them quickly.
No questions yet about Masjid al-Qiblatain. Ask the community or our travel team, and the answer will show here once it is published.
Our team answers questions here
Hotels closest to Masjid al-Qiblatain, nearest first, so you spend less time on the road and more time there.
Madina
3.4 km from Masjid al-Qiblatain
Find your kind of trip: 14 travel themes, from Heritage, Mosque (Islam), Landmarks.
More sights and places to visit in Saudi Arabia, nearest first.
Madina
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...
Madina
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....
Madina
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...
Madina
Mount Uhud rises on the northern edge of Madinah, about 5 kilometres north of Al-Masjid an-Nabawi. It is a long reddish ridge, about 7.5 kilometres from end to...
Madina
Jannat al-Baqi, also called Baqi al-Gharqad, lies southeast of Al-Masjid an-Nabawi, the Prophet's Mosque, in the centre of Madinah. It is the oldest and first I...
Madina
Quba Mosque stands in the Quba district on the southern edge of Madinah, in western Saudi Arabia, about 3.5 kilometres south of Al-Masjid an-Nabawi. According t...
AlUla
Hegra lies in the desert north of AlUla in Medina Province, in the Hejaz region of north-western Saudi Arabia. It was the southernmost and second-largest city o...
Jeddah
Jeddah Corniche runs along the Red Sea coast of Jeddah, Saudi Arabia's main port city on the west coast. It stretches for about 30 kilometres and is also known...
Jeddah
Al-Balad, whose name means the town, is the old core of Jeddah on Saudi Arabia's Red Sea coast. It grew from the 7th century as the main port for pilgrims trave...
Tell us where and when you want to go, and local travel experts send you offers for your trip.
General
Because, according to tradition, the direction of prayer was changed from Jerusalem to Makkah during a prayer held here in 624 CE.
It is in the Bani Salamah area in north west Madinah, about 4 km from the Prophet's Mosque.
The Egyptian architect Abdel-Wahed El-Wakil designed the 1987 building.
No. The niche facing Jerusalem was removed in the rebuilding, and there is now one mihrab facing Makkah.
Yes, there is a separate prayer area for women.
Taxis and ride-hailing cars run from central Madinah, and the mosque is on most ziyarat tour routes.
Modest clothing that covers the arms and legs. Women should cover their hair.
The Mandhry Mosque in Mombasa, Kenya, is the only other mosque known to have had prayer niches facing different directions.
Yes, entry to Masjid al-Qiblatain is free.
Explore the area on this page lists 5 places around Masjid al-Qiblatain, with the distance to each.
Timing & weather
The present mosque was built in 1987 during the reign of King Fahd.
The mosque is open for the five daily prayers. Visiting between prayers is usually quieter.
Yes. In October 2025 King Salman ordered that the mosque stay open 24 hours a day.
Booking
It can hold around 2,000 worshippers.
Getting there
Prince Mohammad bin Abdulaziz International Airport (MED) is the airport for Masjid al-Qiblatain, about 15 km away in a straight line.
We use necessary cookies to make this site work. With your permission we would also like to remember your preferences, measure how the site is used, and show relevant ads and partner offers. You can change your mind at any time under "Cookie settings" on our Privacy policy page.