Prayer

How to find the qibla with a compass and the sun

Last updated: 10 November 2026

The qibla is the direction of the Kaaba in Mecca, which Muslims face in prayer. Facing the qibla is one of the conditions of prayer (Al-Baqarah 144). Someone who can see the Kaaba faces it directly; someone who cannot faces the direction in which it lies.

Which way is the qibla from Türkiye?

From Türkiye the qibla is generally south-southeast. In western provinces you face southeast; in eastern provinces almost due south or slightly southwest. Approximate qibla angles measured clockwise from north:

  • İzmir: 144°
  • Edirne: 147°
  • Antalya: 150°
  • Istanbul: 152°
  • Konya: 157°
  • Ankara: 160°
  • Trabzon: 180°
  • Diyarbakır: 181°
  • Erzurum: 184°
  • Van: 191°

The qibla angle of every province is shown under "Qibla direction" on its city page; see for example Istanbul, Ankara and İzmir.

Ways to find the qibla

With a phone or compass

The qibla compass in the NurVakit app shows the qibla direction for your location. When using a compass:

  • Hold the phone flat and keep away from metal objects, speakers and magnets.
  • If the compass is off, calibrate it by moving the phone in a figure "8" in the air a few times.
  • With a traditional compass, find north and then turn clockwise by the angle for your location.

With the sun's shadow (qibla time)

Twice a year the sun is directly above the Kaaba at noon. At those moments, wherever the sun is visible, the direction opposite to the shadow of an upright object points to the qibla:

  • 27–28 May, at about 12:18 Türkiye time (09:18 UTC)
  • 15–16 July, at about 12:27 Türkiye time (09:27 UTC)

At these times, look at the shadow of an upright object such as a stick, door frame or pole; the qibla is opposite to where the shadow falls.

With a mosque and its mihrab

The mihrab of a mosque faces the qibla. When you move somewhere new, the orientation of a nearby mosque is a reliable guide for finding the qibla at home.

What if I cannot find the qibla exactly?

  • According to the Hanafi school, someone who cannot see the Kaaba only needs to face its general direction; small deviations do not harm the prayer.
  • If it is not possible to ask someone who knows or to check landmarks, make an effort and pray in the direction your heart settles on. If you realise after the prayer that you faced the wrong way, the prayer is valid.
  • If you learn during the prayer that the direction is wrong, turn to the right direction without breaking the prayer and continue.
  • Turning the chest away from the qibla without an excuse invalidates the prayer; for details see what invalidates the prayer.

For how patients praying lying down face the qibla, see praying sitting down. For the concessions while travelling, see prayer while travelling, and for how to pray, see how to pray.

Sources

  • Surah Al-Baqarah, verse 144
  • Presidency of Religious Affairs of Türkiye (Diyanet), İlmihal I, chapter "Kıbleye Yönelmek"

This guide is also available in Turkish.

Prayer times, duas and khatm in your pocket

The NurVakit app for Android and iPhone: adhan notifications, time until the next prayer, duas and surahs, shared khatm, the daily verse and guides. Works offline.

About the app