Prayer essentials

How to Find the Qibla Direction (With or Without a Compass)

·7 min read

New city, hotel room, the middle of nowhere — and it's prayer time. Which way is the Kaaba? Here are five reliable ways to find the qibla, from instant to no-tech, and what to do when you genuinely can't tell.

The qibla is simply the direction of the Kaaba in Makkah — the point every Muslim on earth turns toward in prayer. When you are at home it is automatic. The trouble starts when you travel: a hotel room with no markings, a friend's house, an airport, a hike. The good news is that you are never actually stuck. Here are five ways to find it, from instant to completely tech-free.

The short version

  • The qibla is the direction to the Kaaba in Makkah (~21.42°N, 39.83°E).
  • A qibla compass app is the fastest, most precise method.
  • No phone? Use your region's rough direction, a nearby mosque, or the sun.
  • If you try sincerely and still get it slightly wrong, your prayer still counts.

Method 1 — A qibla compass app (fastest)

The quickest and most accurate option is a qibla compass on your phone. It takes your exact location from GPS, calculates the true bearing to the Kaaba, and uses the phone's built-in compass to point you straight to it — usually in a couple of seconds. For best accuracy, calibrate the compass first (the little figure-eight motion) and step away from large metal objects, speakers, or magnets, which can throw off any compass.

Try I pray

Find the qibla in two seconds, wherever you are.

I pray has a built-in qibla compass with smooth haptic feedback that guides you as you turn — plus accurate prayer times and an authentic adhan, all in one app. Free on iPhone, no account needed.

Download on theApp Store

Method 2 — Know your region's direction

You probably already have a rough sense of north. That is often enough, because the qibla from any given region falls in a fairly consistent direction. These are approximate — good for orienting yourself when you have nothing else:

Where you areApproximate qibla direction
North America (US & Canada)Northeast
UK & IrelandSoutheast (slightly east)
Western & Central EuropeSoutheast
South AfricaNorth to north-northeast
Pakistan, India, BangladeshWest (slightly northwest)
Southeast Asia (Indonesia, Malaysia)West-northwest
AustraliaWest-northwest

The northeast direction from North America surprises many people — it feels like Makkah should be “east.” That is the curve of the globe at work: the shortest path follows a great circle, not a flat-map straight line. Trust the bearing, not the world map in your head.

Method 3 — Borrow a mosque's direction

Local mosques have already done this calculation precisely. If you can see or recall the orientation of a nearby mosque — specifically the wall with the mihrab (the niche the imam stands at) — that wall faces the qibla. Prayer mats laid out in any local masjid, prayer room, or even many hotels in Muslim-majority countries point the same way.

Method 4 — Use the sun (no devices at all)

Here is a genuinely precise trick that needs nothing but sunlight. Twice a year, the sun passes directly over the Kaaba — around 27–28 May and 15–16 July, near midday in Makkah (roughly 12:18 pm Saudi time). At that exact moment, anywhere on earth the sun is visible, a vertical object's shadow points directly away from the qibla. Stand a stick upright, mark the shadow, and the line from the shadow's tip back to the stick points straight to Makkah.

On any other day

You can still estimate from the sun's general path — it rises in the east and sets in the west — and combine that with your region's direction above. It will not be laser-precise, but it is more than enough to pray with a sound, sincere effort.

Method 5 — Draw the line on a map

With internet but no compass, open a maps app and find the bearing from your location to Makkah (the Kaaba sits at about 21.42°N, 39.83°E). Online qibla finders do exactly this — they draw the great-circle line from wherever you are to the Kaaba and give you the precise angle.

What if you genuinely can't tell?

Do not let uncertainty become a reason to delay or skip the prayer. Islam is not asking for perfection here — it is asking for a sincere effort. Make your best judgement (the scholars call this ijtihad), face that way, and pray. If you later discover you were somewhat off, the majority of scholars hold that your prayer is valid and does not need to be repeated, because you did what was asked of you.

“And to Allah belong the east and the west. So wherever you turn, there is the Face of Allah.”

Qur'an 2:115

The mercy in that verse is the whole point: the goal is to turn to Allah with what you can, not to be paralysed by the degrees on a compass. For rulings specific to your situation, ask a trusted local scholar.

Facing the right way is step one

Knowing the qibla solves the where. The harder battle for most of us is the when — actually praying, on time, before the day swallows it. If that is the part you struggle with, start with our guide on how to stop delaying your prayers. And if missed prayers have piled up behind you, here is how to begin making them up without being overwhelmed.

Try I pray

Qibla, prayer times, and adhan — in one calm app.

I pray points you to the Kaaba instantly, calls you with an authentic adhan, and locks your distractions until you pray. Free on iPhone.

Download on theApp Store

Frequently asked

How do I find the qibla without a compass?

Three no-compass options work well. First, the approximate direction for your region (for example, the qibla is roughly northeast from North America and southeast from the UK and Europe). Second, align with a nearby mosque's prayer direction. Third, use the sun: twice a year the sun passes directly over the Kaaba, and at that exact moment a vertical object's shadow points away from the qibla everywhere the sun is visible.

Which direction is the qibla from my country?

It is the great-circle direction to the Kaaba in Makkah (about 21.42°N, 39.83°E). As a rough guide: northeast from most of North America, southeast from the UK and Western Europe, west (slightly northwest) from Pakistan and India, and west-northwest from Southeast Asia and Australia. A qibla compass app gives you the exact bearing for your precise location.

What if I pray in the wrong direction by mistake?

If you make a genuine effort to find the qibla and pray, and only later learn you were off, the majority of scholars hold your prayer is valid and does not need to be repeated — the sincere effort is what is required. Allah says, 'So wherever you turn, there is the Face of Allah' (2:115). For your specific situation, ask a trusted local scholar.

Are qibla compass apps accurate?

A good one is accurate enough for prayer, as it calculates the true bearing to the Kaaba from your GPS location and uses your phone's magnetometer to point you there. Accuracy improves if you calibrate the compass (the figure-eight motion) and stay away from metal and magnets, which can distort any compass — digital or analogue.

Keep reading