How to Find the Qibla Direction with Your iPhone — Anywhere, Even Offline
The qibla is the direction of the Kaaba in Mecca (21.4225°N, 39.8262°E). Your iPhone can find it in seconds: a qibla compass computes the great-circle bearing from your location to the Kaaba and points you there — no internet required.

Find the qibla in 4 steps
- Open the Qibla tab in Hayya. The bearing to the Kaaba is calculated on your device from your coordinates — it works in airplane mode.
- Hold your iPhone flat, away from metal desks, speakers, laptops and magnetic cases.
- Calibrate if prompted by moving the phone in a figure-eight.
- Rotate slowly until aligned. Hayya taps your palm with haptic feedback the moment you're facing Mecca, and shows the exact bearing (e.g. 118°) and distance (e.g. 4,794 km).
Why the qibla isn't always "southeast"
The qibla follows the great-circle route — the shortest path across the earth's surface — not a straight line on a flat map. That's why from much of North America the qibla points surprisingly north-east, not east. A proper qibla finder handles this math for you; eyeballing a world map will mislead you.
Common compass problems (and fixes)
- Needle drifts or spins: magnetic interference. Move away from electronics and metal furniture; remove MagSafe accessories while aligning.
- Direction seems off indoors: steel-framed buildings distort magnetic fields. Verify near a window, then note a fixed landmark in your room.
- Two apps disagree slightly: a degree or two of difference is normal magnetometer noise. Scholars agree facing the general direction suffices when precision isn't possible — sincere effort is what counts.
Praying while travelling
Because Hayya's qibla compass, prayer times (12-month cache) and full Quran all work offline, it's built for flights, road trips and umrah travel — no roaming data needed. Check the qibla once at your hotel, note a landmark, and you're set for your stay.
Qibla, prayer times & Quran — fully offline
Haptic qibla compass with bearing and distance to the Kaaba. Private by design. Free.
Download Hayya FreeFAQ
Does a qibla compass work without internet?
Yes. GPS and the magnetometer are offline sensors; the bearing is pure math. Hayya never sends your location anywhere — the calculation happens on your iPhone.
Why does my qibla app point the wrong way?
Almost always interference or calibration. Step away from metal, remove magnetic cases, recalibrate with a figure-eight motion, and compare readings near a window.
What if I can't determine the exact direction?
Make your best effort. The scholarly consensus is that facing the general direction of the Kaaba is sufficient when precision isn't possible.