How to Find the Qibla Direction (With or Without a Compass)
The Qibla is the direction every Muslim faces in prayer — toward the Kaaba in Mecca. The fastest way to find it is a Qibla finder that uses your phone's location, but you should also know how to do it with a plain compass and, when you have neither, with nothing but the sun and a few landmarks. This guide covers all three, plus the one mistake that throws most compass readings off: magnetic declination.
Quick Answer — Find the Qibla Right Now
- Open a Qibla finder that uses your location — it gives the exact bearing to Mecca and corrects for magnetic declination automatically.
- No internet? Use a compass and turn to your local Qibla bearing (e.g. ~58° in New York, ~50° in Chicago, ~24° in Los Angeles), then add or subtract your magnetic declination.
- No compass? Use the sun: it's due south at midday in the Northern Hemisphere — face south, then rotate to your bearing.
From most of North America the Qibla points northeast, not southeast — the curve of the globe makes the shortest path bend north.
What Is the Qibla?
The Qibla (القبلة) is the direction Muslims face during the five daily prayers: toward the Kaaba, the cube-shaped structure inside the Masjid al-Haram in Mecca, Saudi Arabia (21.4225°N, 39.8262°E). Facing the Qibla is a condition of valid prayer for anyone able to determine it.
The command to face it is in the Qur'an:
“So turn your face toward the Sacred Mosque, and wherever you are, turn your faces toward it.”
— Qur'an 2:144
The key thing to understand is that the correct Qibla is the great-circle bearing — the shortest path between two points on a sphere — not a straight line on a flat map. A flat map distorts direction badly over long distances. This is why the Qibla from New York, London, or Toronto points northeast, even though Mecca sits well below them on a flat map and instinct says “east” or “southeast.” On a globe, the shortest route from North America to Mecca curves up over the North Atlantic, so you face northeast.
How to Find the Qibla Using Your Phone
A phone-based Qibla finder is the fastest and usually the most accurate option, because it combines two things at once: your exact GPS coordinates and the device's built-in compass (magnetometer). It calculates the great-circle bearing to the Kaaba from where you actually are.
Allow location access
The tool needs your coordinates to compute the bearing to Mecca. Without location it cannot know which way the Qibla is — a compass alone only knows where north is, not where you are.
Calibrate the compass
Most phones ask you to wave the device in a figure-8 motion. This recalibrates the magnetometer. Do it whenever the reading feels jumpy or the app warns of low accuracy.
Hold the phone flat and level
Lay the phone flat in your palm, screen up, away from your body. Tilting it sideways skews the reading. The needle or arrow then points to the Qibla.
Get clear of metal and electronics
Magnets in cases, speakers, laptops, cars, radiators, and steel-framed buildings all distort the magnetometer. Step a metre away from them and re-check.
Find your exact Qibla bearing
Our Qibla finder uses your location to point straight at the Kaaba — and lists the bearing for major cities so you can double-check it against a regular compass.
Finding the Qibla Without a Compass
No phone signal and no compass? You can still pray confidently. The trick is to find one fixed direction — usually south, using the sun — and then rotate to your local Qibla bearing. The examples below assume you are in the Northern Hemisphere, where the sun sits to the south at midday.
Method 1 — The midday sun and shadows
At solar noon (the sun's highest point, not always 12:00 on the clock), the sun is due south and shadows are at their shortest, pointing due north. Stand a stick upright; the shadow it casts at its shortest length runs along the north–south line. Once you have north and south fixed, turn toward your local Qibla bearing — northeast from the eastern US, for example.
Method 2 — Sunrise and sunset
The sun rises in the east and sets in the west (it drifts a little north of due east in summer and south of it in winter, but it is close enough to orient yourself). Facing the morning sun, east is ahead, west behind, north to your left, south to your right. From the Eastern US you would then turn from east toward your left to face the northeast Qibla.
Method 3 — Known landmarks and street grids
Many cities are laid out on a grid aligned roughly to the compass points; if you know your street runs east–west, that gives you your bearings instantly. A local mosque is the most reliable landmark of all — its prayer hall is already oriented to the Qibla, so its front wall points the way. Even a satellite map viewed earlier, a highway you know the direction of, or the side of a building that gets the midday sun can anchor you.
Method 4 — The stars at night
In the Northern Hemisphere, Polaris (the North Star) sits almost exactly above true north. Find the Big Dipper, follow its two “pointer” stars to Polaris, and you have north without any instrument — then rotate to your Qibla bearing. This is the same sky travellers and sailors used for centuries.
Using a Qibla Compass
A physical compass is reliable, needs no battery, and is unaffected by patchy signal — which makes it a favourite for travel prayer mats, cars, and hotel rooms. There are two kinds you'll come across:
Dedicated Qibla compass
These are printed with a numbered dial (often 1–400) or a city index. You look up your city's number, rotate the dial to that number, align the needle with north, and the marked arrow points to the Qibla. They're convenient but only as accurate as the table they were printed with — double-check against a modern calculation if you can.
Standard magnetic compass
With a regular compass you need to know your local Qibla bearing in degrees (from a finder or a reference table), then turn until that number sits under the direction-of-travel arrow. Hold it flat, away from metal, and let the needle settle before reading.
Common Mistakes & Magnetic Declination
Most “my Qibla seems wrong” problems come down to a handful of repeat offenders. The biggest by far is magnetic declination.
Magnetic declination — the silent error
A magnetic compass points to the magnetic north pole, but Qibla bearings are measured from true (geographic) north. The angle between the two is magnetic declination, and it changes depending on where you are — close to zero in some places, more than 15° east or west in parts of North America. Ignore it and your prayer direction can be off by that whole amount.
The fix:look up your local declination (search your city plus “magnetic declination,” or use any navigation app), then adjust your compass bearing. Declination east means magnetic north sits east of true north, so you subtract it; declination west means you add it. A GPS-based digital Qibla finder does this correction for you automatically — one more reason to cross-check a printed compass against a digital tool.
❌ Assuming the Qibla is due east (or southeast) from the US
Fix: It points northeast from most of North America. Trust the great-circle bearing, not the flat-map instinct.
❌ Tilting the phone while reading the compass
Fix: Hold it flat and level. A tilted phone feeds the magnetometer a skewed reading and the arrow drifts.
❌ Standing near metal, magnets, or electronics
Fix: Cars, fridges, speakers, laptops, magnetic phone mounts, and steel-framed buildings all bend the needle. Move a metre away and re-check.
❌ Never calibrating the phone compass
Fix: Run the figure-8 calibration when the app warns of low accuracy. An uncalibrated magnetometer can be wildly off.
❌ Trusting one source only
Fix: Cross-check: confirm the digital bearing against the sun, a known landmark, or a local mosque's orientation. Two methods agreeing is far safer than one.
What If You're Unsure of the Direction?
Islam is practical about this. You are required to face the Qibla to the best of your ability — not to achieve laboratory precision. Outside Mecca, scholars require facing the general direction (jihah) of the Kaaba, not its exact point; a small deviation does not break the prayer.
You have a way to check
If a compass, app, sun, or local mosque is available, use it. Making the effort to find the correct direction is part of the obligation.
You genuinely cannot tell
Make your sincerest estimate (ijtihad) and pray toward it. Do not delay the prayer past its time hunting for certainty — a best-effort prayer in its window is better than a precise one prayed late.
You find out afterward you were off
If you made a sincere effort, the prayer is valid and there is no need to repeat it — the majority view. If you realise you are wrong during the prayer, simply turn to the correct direction and continue.
🔔 Know the direction — and the time
Prayer Times Near Me Pro sends a reminder before every prayer, so you never scramble to find the Qibla at the last minute. Try free for 14 days.
Start 14-Day Free TrialFrequently Asked Questions
What is the Qibla direction?
The direction of the Kaaba in Mecca (21.4225°N, 39.8262°E), which Muslims face in prayer. The correct direction is the great-circle bearing — the shortest path over the curved Earth — so it points northeast from most of North America, not southeast.
How do I find the Qibla without a compass?
Use the sun. It is due south at solar noon in the Northern Hemisphere and shadows are shortest then, marking the north–south line. Fix south, then turn to your local Qibla bearing. You can also use sunrise/sunset, a local mosque's orientation, or a street grid you know.
What direction do I pray if I am in the US?
Roughly northeast — about 58° from true north in New York, ~50° in Chicago, and ~24° in Los Angeles. Not due east or southeast, despite how Mecca looks on a flat map.
Why does my compass give a slightly different Qibla?
A magnetic compass points to magnetic north, but Qibla bearings are measured from true north. The gap is magnetic declination and it varies by location. Add or subtract your local declination, or use a GPS-based finder that corrects for it automatically.
Is my prayer valid if I faced the wrong Qibla?
If you made a sincere effort and were slightly off, the prayer is valid (majority view). If you couldn't tell at all, make your best estimate and pray in time. Only deliberately facing away without excuse invalidates it.
Do phone Qibla apps work accurately?
Yes, when calibrated and away from metal and electronics. They use GPS plus the magnetometer to point at the great-circle bearing. Calibrate with the figure-8 motion and cross-check against the sun or a landmark before trusting it.
Related Guides
Find your Qibla and your prayer times in one place
Point straight at the Kaaba with the Qibla finder, then check exactly when the next prayer window opens — Fajr, Dhuhr, Asr, Maghrib, and Isha with a live countdown.
Open the Qibla finder →