Home / Qibla Finder / Is Prayer Valid If Qibla Slightly Off
Is Prayer Valid If Qibla Is Slightly Off? Scholars Explain
You prayed, then realised your mat was a few degrees off. Maybe the compass jumped, the hotel sticker was wrong, or you just weren't sure. Short answer: your prayer is almost certainly valid. The overwhelming scholarly consensus is that sincere effort to face the qibla suffices — small deviations do not invalidate the prayer. Here is the evidence, the limits, and what to do next time.
The Qibla Finder gives you the true great-circle bearing from your exact location. No guesswork.
Open Qibla Finder →The short answer: sincere effort suffices
All four Sunni madhhabs (Hanafi, Maliki, Shafi'i, Hanbali) and the Ja'fari school agree on the core principle:
If you made a genuine effort to determine the qibla and prayed facing that direction, your prayer is valid — even if the true qibla was slightly different.
The Quran says: "So wherever you turn, there is the Face of Allah" (2:115) and "And from wherever you go out [for prayer], turn your face toward al-Masjid al-Haram" (2:149). The obligation is to strive to face the Kaaba, not to hit a mathematical coordinate with laser precision.
Quranic & hadith basis (brief, respectful)
- Quran 2:144 — "Turn your face toward al-Masjid al-Haram" — establishes the qibla as the Kaaba.
- Quran 2:115 — "Wherever you turn, there is the Face of Allah" — revealed when companions prayed in slightly different directions during travel; Allah affirmed their prayers.
- Hadith (Bukhari, Muslim): The Prophet ﷺ said: "The qibla is between the east and the west" — for those far from Mecca, the general direction suffices.
- Hadith (Tirmidhi): "What is between the east and the west is qibla" — for those who cannot determine the exact direction.
These texts establish that the obligation is directional approximation (jihat al-Ka'ba), not pinpoint precision (ayn al-Ka'ba) for those at a distance.
How much "off" is acceptable? (degrees explained simply)
| Deviation | Ruling | Notes |
|---|---|---|
| 0–5° | Fully valid, no concern | Normal measurement error, compass variance, construction tolerance |
| 5–15° | Valid (majority) | Within normal human estimation error; sincere effort covers this |
| 15–45° | Valid (Hanafi, Maliki, Shafi'i, Ja'fari) | Still within "general direction" (jihat); Hanbali prefers repeating if able |
| 45–90° | Disputed | Some say repeat if discovered soon; others say valid if effort was genuine |
| >90° (opposite) | Generally invalid | If you faced the opposite direction without excuse, repeat is required |
Practical takeaway: A difference of 2–10 degrees — typical for phone compass error, hotel sticker offset, or magnetic declination confusion — is well within the valid range for all schools. You do not need to repeat.
When should you repeat the prayer?
Repeat (qada) is generally recommended only if:
- You made no effort at all — guessed randomly without any method (compass, app, sun, mosque, asking).
- You discovered a major error (>90°) — e.g., you faced east in Dubai (qibla is west).
- You deliberately ignored a known correct direction — e.g., the mihrab was visible but you chose a different direction.
If you used a reasonable method (phone app, mosque mihrab, sun, asking someone knowledgeable) and later found a small discrepancy — do not repeat. Your prayer stands.
How to get it right next time
- Use the Qibla Finder — GPS-based, gives the true great-circle bearing from your exact spot.
- In a mosque: always face the mihrab. It is the gold standard.
- Calibrate your phone compass (figure-eight wave) before relying on it.
- Step away from metal (lifts, cars, steel furniture) — the #1 cause of compass error.
- If travelling, screenshot the bearing at check-in (works offline all stay).