Qibla direction from Tripoli
From Tripoli, the Kaaba lies south, a bearing of 164° from true north, with 1499 km (931 mi) of great-circle distance between you and Masjid al-Haram.
Toward the Kaaba
How to face the qibla from Tripoli
Stand facing what your compass reads as 164° from true north. From Tripoli, that's a south orientation. The number is calculated from true north. The live arrow uses the heading supplied by your phone and browser, which may be magnetic north on some devices. Treat the numeric bearing as the stable reference if the sensor appears uncertain.
When you're indoors and the compass acts erratic, step closer to a window or step outside. Steel-framed buildings and household electronics interfere with the device's magnetometer. Give the compass a figure-eight motion to recalibrate, then compare the reading again. Remove magnetic phone cases or accessories before relying on the sensor.
How to check the compass reading
- Move away from vehicles, speakers, laptops and reinforced walls.
- Remove any magnetic phone case or ring.
- Hold the phone flat and move it slowly in a figure-eight pattern.
- Compare the live arrow with the fixed 164° true-northbearing above, a trusted mosque mihrab or a map.
A sensor can drift even when the mathematical bearing is correct. That is why this page shows both the city bearing and the live compass instead of hiding the number behind an arrow.
What the bearing means
164° from true north is a great-circle bearing, the shortest path along the surface of the earth between Tripoli and the Kaaba in Makkah. It's not the same as the direction you'd see on a flat (Mercator) map, because the earth is curved. At long distances especially, the great-circle direction can look surprising on a flat projection.
For a Muslim in Tripoli, the practical answer is simple: face the direction the compass tells you, with the small tolerance that classical Sunni fiqh allows. The Prophet ﷺ said: "What is between the east and the west is qibla" (Sunan at-Tirmidhi 342, hasan), for those distant from Makkah, exact precision to the degree was never required.
Travel duas for the journey to Makkah
If you're preparing for Hajj or Umrah from Tripoli, three duas the Prophet ﷺ taught:
- Boarding transport: Subhana-lladhi sakhkhara lana hadha wa ma kunna lahu muqrineen, wa inna ila Rabbina la-munqaliboon. (Surah az-Zukhruf 43:13-14)
- Departure: Allahumma inna nas'aluka fi safarina hadha al-birra wa-t-taqwa, wa min al-amali ma tarda. (Sahih Muslim 1342)
- Arrival: A'udhu bi-kalimati-llahi-t-tammati min sharri ma khalaq. (Sahih Muslim 2708)
Source and calculation
Allah (SWT) commands Muslims to face al-Masjid al-Haram in Surah al-Baqarah 2:144. The 164° bearing shown here is the initial great-circle direction from Tripoli's coordinates to the Kaaba at 21.4225° N, 39.8262° E. See our content methodology for how calculated pages are reviewed.
Mosques in Tripoli
Inside a masjid the qibla is already set: the mihrab faces 164° for you. The nearest mosques to the centre of Tripoli:
Other cities in Lebanon
Prayer times in Tripoli
The five daily salah for Tripoli.
Mosques near me
Find the nearest masjid from your location.
How to pray
Step-by-step salah guide for new Muslims.