Qibla Direction: How to Find the Qibla Anywhere
The Qibla is the direction of the Ka’bah in Makkah, which Muslims face in every prayer. Find it as a compass bearing from true north along the shortest route over the globe: about 119° (south-east) from London, 58° (north-east) from New York, 258° (west) from Dubai and 293° (west-north-west) from Kuala Lumpur.
That last point surprises people. From North America the Qibla is north-east, not south-east, even though Makkah is further south on a flat map. This guide explains why, gives the bearing for major cities, and walks through five practical ways to find the Qibla, from a phone compass to the sun itself, plus what the schools say if you get it wrong.
What the Qur’an says about the Qibla
The command to face the Ka’bah came about sixteen or seventeen months after the Prophet ﷺ moved to Madinah. Until then the Muslims prayed towards Jerusalem (Bayt al-Maqdis). Al-Bara’ ibn ‘Azib reported that the Prophet ﷺ “loved to face the Ka’ba”, and then the verse was revealed (Sahih al-Bukhari 399):
“We have certainly seen the turning of your face, [O Muḥammad], toward the heaven, and We will surely turn you to a qiblah with which you will be pleased. So turn your face [i.e., yourself] toward al-Masjid al-Ḥarām. And wherever you [believers] are, turn your faces [i.e., yourselves] toward it [in prayer].”
Qur’an 2:144, Sahih International (quran.com)
The change happened mid-prayer for some. Ibn ‘Umar reported that people praying Fajr at Quba’ were told of the revelation and “turned their faces towards Ka’ba” while still praying (Sahih al-Bukhari 403). The command is repeated a few verses later: “from wherever you go out [for prayer], turn your face toward al-Masjid al-Ḥarām” (Qur’an 2:150).
The Qur’an also reminds believers that direction is a means, not the object of worship: “And to Allāh belongs the east and the west. So wherever you [might] turn, there is the Face of Allāh” (Qur’an 2:115).
Why the Qibla is “north-east” from America
The Earth is a sphere, so the true direction to Makkah follows a great circle, the shortest path over the globe. Flat maps distort that path. From New York, the shortest route to Makkah heads out over the North Atlantic, past Europe, then turns south-east. The starting bearing, which is what you face, is about 58° from north.
North American scholars and organisations debated this for years in the late twentieth century, and today almost all mosques in the US and Canada use the great-circle bearing. If you see an older mosque facing south-east, that is why.
Qibla direction from major cities
The bearings below are from PrayerZTime city pages, which give each city’s Qibla in degrees from true north and its distance to Makkah:
| City | Qibla (from true north) | Rough direction | Distance to Makkah |
|---|---|---|---|
| London | 119.0° | South-east | 4,794 km |
| Manchester | 118.5° | South-east | 5,024 km |
| New York | 58.5° | North-east | 10,306 km |
| Toronto | 54.6° | North-east | 10,496 km |
| Dubai | 258.0° | West | 1,635 km |
| Karachi | 267.7° | West | 2,800 km |
| Dhaka | 277.6° | West | 5,172 km |
| Kuala Lumpur | 292.5° | West-north-west | 6,974 km |
| Jakarta | 295.2° | West-north-west | 7,920 km |
| Sydney | 277.5° | West | 13,236 km |
| Istanbul | 151.6° | South-south-east | 2,405 km |
| Madinah | 176.3° | South | 339 km |
For any other city, open its page from the prayer times directory; the Qibla bearing is in the quick facts and the FAQ. PrayerZTime does not currently have a dedicated Qibla compass page or tool, so the city pages are the place to look.
Five ways to find the Qibla
1. Use a phone compass, carefully
Most Qibla apps use the phone’s magnetic sensor. Three things throw them off:
- Calibration. Move the phone in a figure-of-eight a few times before reading.
- Interference. Steel desks, car bodies, laptops and magnetic phone cases can swing the needle by tens of degrees. Step away from them.
- Magnetic declination. A compass points to magnetic north, not true north. NOAA’s model puts the difference at about 1° east in London, about 10° west in Toronto and nearly 13° east in Sydney in 2026 (NOAA magnetic field calculator). Good apps correct for this automatically using your location; a plain compass does not.
2. Use a bearing and a map
Take the bearing from your city page, open an online map with north at the top, and line up a nearby street or building edge. If London’s Qibla is 119°, it is about 30° south of due east. This is often more reliable indoors than a phone compass.
3. Use the sun on Qibla day
Twice a year the sun passes directly over the Ka’bah. At that moment, everywhere the sun is up, a vertical object’s shadow points directly away from the Qibla, so you face along the shadow towards the sun. By our calculation from the sun’s position, this happens at about 12:18 Makkah time (09:18 UTC) on 27–28 May and 12:27 Makkah time (09:27 UTC) on 15–16 July. That is 13:18 and 13:27 in Dubai, and 10:18 and 10:27 in London during British Summer Time. A minute or two either side is fine.
4. Use local landmarks
The mihrab of a mosque, or the direction your local mosque faces, is a trusted reference. Ayatollah Sistani’s rulings list “the position of the miḥrāb of a mosque, or the graves of believers” among the ways to form a reasonable judgement, and even accept the word of someone, Muslim or not, “who knows the direction of qibla by employing scientific principles” (Islamic Laws, Ruling 769). Sunni jurists say the same about mosque mihrabs and reliable local information.
5. Ask someone who knows
At a hotel, office or friend’s house, ask. Many hotels in Muslim-majority countries mark the Qibla on the ceiling or in a drawer.
How exact do you need to be?
Facing the Ka’bah itself (ʿayn al-Ka’bah) is required only for someone who can see it, as in Makkah‘s Masjid al-Haram. For everyone else, the schools say facing its general direction (jihat al-Ka’bah) is enough. The Hanafi, Maliki and Hanbali schools state this clearly; the Shafi’i school asks for the most accurate direction you can reasonably find.
The Prophet ﷺ said, addressing people in Madinah: “What is between the east and the west is Qiblah” (Jami’ at-Tirmidhi 342, graded sahih by Darussalam). Since Makkah lies south of Madinah, scholars took this as a sign of the leeway given to people far away. Sistani’s rulings put it similarly: for someone far away, “it is sufficient to stand in such a manner that it can be said he is performing prayers facing qibla” (Ruling 763).
In practice, a few degrees off makes no difference. Being 45° or more off, such as facing south-east from Toronto, is the kind of error worth fixing.
What if I prayed in the wrong direction?
If you made a sincere effort and later find you were wrong, the Hanafi, Maliki and Hanbali schools say the prayer is valid and you correct yourself from then on; the Shafi’i school’s main position is that you repeat it if you become certain of the error. If you realise during the prayer, turn to the right direction and continue, as the people of Quba’ did. Someone who prayed without trying to find the Qibla, when they could have, should repeat the prayer.
Ja’fari rulings require effort to reach certainty, or failing that a reasonable supposition. If someone truly has no indication at all, praying in a direction they think could be Qibla is sufficient, with a recommended precaution to pray in more than one direction if time allows (Ruling 771); if they believe it is one of two directions, they pray in both (Ruling 772). For a mistaken prayer, check the further rulings or ask your local scholar.
Voluntary prayers when travelling
Voluntary prayers may be prayed on a moving vehicle without facing the Qibla. Sistani’s rulings state that a recommended prayer can be performed while walking or riding without facing qibla (Ruling 768), and the Sunni schools allow the same for voluntary prayers on a mount or vehicle. Obligatory prayers on a plane or train are a separate topic with more conditions.
Frequently asked questions
What is the Qibla direction?
The Qibla is the direction of the Ka’bah in Masjid al-Haram, Makkah, which Muslims face in prayer (Qur’an 2:144). It is given as a bearing from true north along the shortest route over the globe, for example 119° from London, 58.5° from New York and 258° from Dubai.
Why is the Qibla north-east from the USA and Canada?
Because the Earth is round. The shortest path from North America to Makkah curves over the North Atlantic and Europe, so its starting direction is north-east, about 55° to 60° from true north in Toronto and New York. Flat maps make south-east look shorter, but it is not.
How accurate does the Qibla need to be?
Someone who can see the Ka’bah must face it exactly. Everyone else faces its general direction, and small errors of a few degrees do not matter. Tirmidhi 342 (sahih) and Sistani’s Ruling 763 both reflect this leeway. Do make a real effort to find it.
Is my phone’s Qibla compass accurate?
It can be, if you calibrate it, keep it away from metal and magnets, and use an app that corrects for magnetic declination. Declination is about 10° in Toronto and 13° in Sydney, so an uncorrected compass can be well off. Check against your city’s bearing on a map.
When is Qibla day?
The sun is directly over the Ka’bah twice a year: around 27–28 May at 12:18 Makkah time (09:18 UTC) and around 15–16 July at 12:27 Makkah time (09:27 UTC). At those times, shadows everywhere the sun is up point directly away from the Qibla.
Do I repeat my prayer if I faced the wrong way?
For the Hanafi, Maliki and Hanbali schools, if you tried to find the Qibla and later learn you were wrong, your prayer is valid; Shafi’is repeat it once certain of the error. If you realise during the prayer, turn and continue. Ja’fari rulings have detailed conditions, so Shia worshippers should check their marja’s rulings or ask a local scholar.
Related guides
Published