Skip to content

    Prayer & Purity

    How to Find the Qibla Direction, With or Without a Compass

    The qibla is the direction of the Ka'bah in Makkah. From the US and Canada it's north-east, from the UK east-south-east, from Australia west. Five ways to find it, and what if you get it wrong.

    Al Hidayah Institute6 min read

    A metal compass lying on an old world map
    On this page

    The qibla is the direction of the Ka'bah in Makkah, and you face it for every prayer. The quickest way to find it is a qibla tool on your phone, which uses your location and compass. But you can also find it with an ordinary compass, from the sun, or by asking at a mosque, and you don't need to be exact to the degree.

    One thing surprises a lot of people in North America: the qibla isn't south-east. Flat world maps make Makkah look that way, but the shortest path over the globe runs north-east. More on that below.

    Why we face the Ka'bah

    Early on, the Muslims in Madinah prayed towards Jerusalem. Then Allah turned them towards the Sacred Mosque in Makkah:

    Quran, Al-Baqarah 2:144

    قَدْ نَرَىٰ تَقَلُّبَ وَجْهِكَ فِى ٱلسَّمَآءِۖ فَلَنُوَلِّيَنَّكَ قِبْلَةً تَرْضَىٰهَاۚ فَوَلِّ وَجْهَكَ شَطْرَ ٱلْمَسْجِدِ ٱلْحَرَامِۚ وَحَيْثُ مَا كُنتُمْ فَوَلُّوا۟ وُجُوهَكُمْ شَطْرَهُۥۗ وَإِنَّ ٱلَّذِينَ أُوتُوا۟ ٱلْكِتَـٰبَ لَيَعْلَمُونَ أَنَّهُ ٱلْحَقُّ مِن رَّبِّهِمْۗ وَمَا ٱللَّهُ بِغَـٰفِلٍ عَمَّا يَعْمَلُونَ ١٤٤

    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]. Indeed, those who have been given the Scripture [i.e., the Jews and the Christians] well know that it is the truth from their Lord. And Allāh is not unaware of what they do.

    Translation: Saheeh International. Recitation: Mishary al-Afasy.

    The change reached one group of Companions in the middle of a prayer. They turned around and carried on:

    While the people were offering the Fajr prayer at Quba' (near Medina), someone came to them and said: "It has been revealed to Allah's Messenger (ﷺ) tonight, and he has been ordered to pray facing the Ka`ba." So turn your faces to the Ka`ba. Those people were facing Sham (Jerusalem) so they turned their faces towards Ka`ba (at Mecca).

    Sahih al-Bukhari 403Sahih

    Narrated by 'Abdullah ibn 'Umar.

    Facing the qibla is a condition of the prayer, along with being in wudu and praying at the right time. You'll find it in our step-by-step salah guide under the five things to get in place first.

    Which way is the qibla from where you live?

    These are the bearings from true north along the shortest path over the globe (a great circle), worked out from each city's centre to the Ka'bah. A few degrees either way across a city makes no practical difference.

    Qibla direction from major cities
    CityQibla bearingRoughly
    New York58°North-east
    Chicago49°North-east
    Houston45°North-east
    Los Angeles24°North-north-east
    Toronto55°North-east
    Vancouver17°Almost north
    London119°East-south-east
    Birmingham118°East-south-east
    Manchester118°East-south-east
    Glasgow118°East-south-east
    Sydney277°West, a little north
    Melbourne279°West, a little north
    Perth295°West-north-west

    Our qibla direction tool works this out for your exact location, with a live compass on phones, and has pages for cities like London.

    Five ways to find it

    1. A qibla tool on your phone

    Open a qibla tool, allow location, and hold your phone flat. It points along the bearing for where you are. Phone compasses are thrown off by metal and magnets, so step away from laptops, speakers, car dashboards and steel desks, and if the reading jumps around, move the phone in a slow figure-of-eight to recalibrate it.

    2. A normal compass

    Look up your bearing (the table above, or the tool), hold the compass flat, turn until the needle points to north, then face the bearing. A compass points to magnetic north, not true north. The gap (called magnetic declination) is close to zero in the UK but can be more than ten degrees in parts of the US, Canada and Australia. Phone tools usually correct for it. With a plain compass, look up your local declination if you want to be precise; a few degrees either way doesn't matter for prayer.

    3. A mosque, or a Muslim's home

    Mosques are built facing the qibla, so the front wall, where the imam stands, shows you the direction. Note it against something you can see from home, like a road or a landmark, and you've got it for good. Muslim friends will usually know their own house's direction too.

    4. The sun

    Twice a year the sun passes directly over the Ka'bah, and at that moment shadows everywhere it's daytime point directly away from Makkah. In 2027 this happens around 27 to 28 May at about 09:18 UTC (10:18 in the UK) and 15 to 16 July at about 09:27 UTC (10:27 in the UK). Stand a pencil upright, and the qibla is the opposite way to its shadow. It works across the UK, Europe and Africa; in the Americas and Australia it's night or around dawn at that time.

    On any other day, the sun still gives you a rough idea: it rises in the east and sets in the west, and in the northern hemisphere it's due south around midday. From there, use your rough direction from the table.

    5. Your best effort

    If you're somewhere with no signal, no compass and no sun, make your best judgement and pray. That's what's asked of you.

    How exact do you have to be?

    If you can see the Ka'bah, you face it exactly. Everyone else faces its direction, and a little off is fine. The Prophet ﷺ said this in Madinah, where the qibla lies to the south:

    What is between the east and the west is Qiblah.

    Jami' at-Tirmidhi 344Sahih

    Narrated by Abu Hurairah. Graded sahih (Darussalam).

    Scholars take this to mean that someone far away only needs the general direction. Don't stress about two or three degrees, or about lining up your prayer mat perfectly with the walls of a room built at an angle.

    What if you realise you were facing the wrong way?

    If you find out partway through a prayer, turn and carry on, like the people of Quba did. If you only find out afterwards, and you'd made a real effort to find the direction, the majority of scholars say your prayer is valid and you don't repeat it. The Shafi'i school generally says to repeat it if you become sure you were wrong. If you didn't try at all, the prayer needs repeating. When in doubt, ask your imam.

    When you're new and unsure

    It's normal to worry about this at the start. Allah knows you're trying. The Quran reminds us that the east and the west both belong to Him:

    Quran, Al-Baqarah 2:115

    وَلِلَّهِ ٱلْمَشْرِقُ وَٱلْمَغْرِبُۚ فَأَيْنَمَا تُوَلُّوا۟ فَثَمَّ وَجْهُ ٱللَّهِۚ إِنَّ ٱللَّهَ وَٰسِعٌ عَلِيمٌ ١١٥

    And to Allāh belongs the east and the west. So wherever you [might] turn, there is the Face of Allāh. Indeed, Allāh is all-Encompassing and Knowing.

    Translation: Saheeh International. Recitation: Mishary al-Afasy.

    Find the direction as well as you reasonably can, mark it at home, and then put your attention on the prayer itself.


    The free Salah course covers the qibla with everything else you need in place before you pray, then teaches the prayer one step at a time. It's part of the New Muslim Foundations path. For your exact direction right now, open the qibla direction tool.

    Find your qibla now

    Questions people ask

    Which direction is the qibla from the USA?

    North-east from almost everywhere in the US: about 58° from New York, 49° from Chicago, 45° from Houston and 24° from Los Angeles, measured from true north.

    Do Muslims face east or west to pray?

    Neither, as a rule. Muslims face the Ka'bah in Makkah, so the direction depends on where you are: north-east from North America, east-south-east from the UK, west from Australia.

    How do I find the qibla in my house?

    Use a qibla tool on your phone away from metal and electronics, or a compass with your city's bearing. Then mark it with something you can see, like a picture on the wall or the line of a cupboard, so you don't have to check every time.

    Can I find the qibla without a compass?

    Yes. Use a phone tool, follow a mosque's direction, or use the sun: on the two days a year it passes over the Ka'bah, shadows point away from Makkah. Otherwise use the sun's position to get your rough bearing.

    Is my prayer valid if I faced the wrong direction?

    If you tried to find the qibla and got it wrong, most scholars say the prayer is valid and you don't repeat it; the Shafi'i school generally says repeat it once you're sure. If you find out mid-prayer, turn and continue.

    Written by

    Al Hidayah Institute

    The teaching team at Al Hidayah Institute.

    Discussion

    Questions and reflections are welcome. Be kind; our team reads along.

    Sign in to join the discussion.

    No comments yet. If something here raised a question, ask it.

    A row of brass taps along the marble wall of a mosque ablution area

    Dua Before and After Wudu

    Before wudu you say Bismillah. After it, the shahada: Ash-hadu an la ilaha illallah wahdahu la sharika lah. The Arabic, the meaning, the reward, and which popular wudu duas aren't authentic.

    A carved stone archway and doors at the entrance of a historic mosque

    Dua for Entering and Leaving the Masjid

    Entering the masjid: send salam on the Prophet ﷺ and say Allahumma-ftah li abwaba rahmatik. Leaving: Allahumma inni as'aluka min fadlik. The Arabic, meanings, sources and the manners that go with them.

    Two clean white sinks with dark taps in a bathroom

    Dua for Entering and Leaving the Bathroom

    The dua before entering the toilet, Allahumma inni a'udhu bika minal-khubuthi wal-khaba'ith, the one word to say when you leave, Ghufranak, and the basic bathroom manners every new Muslim asks about.