Qibla
How to find the Qibla in Malaysia (and when not to trust your phone)
6 min read
From Malaysia the Qibla points west-northwest, not west. The bearing used across the country falls between 291° and 293° — and knowing that number is the single best defence against a compass app that has quietly drifted.
The short answer
Jabatan Mufti Wilayah Persekutuan states that the Qibla azimuth used in Malaysia is between 291° and 293°.[1] For Kuala Lumpur, Putrajaya and Shah Alam the figure commonly given is 292°. If your compass is pointing anywhere near due west (270°) or north-west (315°), something is wrong.
Why it is a bearing, not just “towards Mecca”
On a globe, the shortest path between two points is a great circle, and its initial heading is rarely the direction you would guess from a flat map. Makkah sits west and slightly north of Malaysia, roughly 6,900km away. The great-circle heading works out in the low 290s — hence the range rather than a single national number, since the exact figure shifts a little depending on where in the country you stand.[1]
This is also why the Qibla is expressed as an azimuth: degrees clockwise from north. 0° is north, 90° east, 180° south, 270° west. 292° is just past west, leaning north.
What throws a phone compass off
A phone finds direction with a magnetometer — it is reading the Earth's magnetic field, and anything magnetic nearby competes with it. The Mufti's office is explicit that Qibla apps work on compass principles and are highly sensitive to interference from iron, electrical currents and electronic equipment.[1]
- Steel in the building. Reinforced concrete, structural beams and metal door frames all distort the field. Praying in a car park or next to a lift shaft is close to worst case.
- Your own gear. Magnetic phone cases, MagSafe mounts, laptops, speakers and wireless chargers sit close enough to dominate the reading.
- An uncalibrated sensor. Compasses drift. Most phones ask you to wave the device in a figure-of-eight to recalibrate, and it genuinely works.
- Tilt. Readings are most reliable with the phone flat and level, not held up at an angle.
How to check properly
- Step away from metal and recalibrate, then take the reading two or three times. A trustworthy compass settles on the same bearing; a confused one wanders.
- Sanity-check against the number. You are looking for roughly 291–293°.[1] Treat a reading far outside that as interference until proven otherwise.
- Cross-check against a known mihrab. Your local mosque's Qibla has been surveyed properly. If you can line your prayer room up with the same heading, you are in good shape.
- For anything permanent, ask. Mufti departments determine and verify Qibla direction for mosques, surau, offices and private homes, and accept applications to do so.[3]In Selangor that work sits with the department's Bahagian Falak, which handles determination and verification for premises across the state.[2]
Qibla applications on smartphones are “untuk peribadi sahaja” — for personal use only. Official determination for mosques, surau and public premises uses specialised methods and equipment that consumer apps are not comparable to.
What Solahpro does — and does not claim
Solahpro's Qibla compass reads your device's sensors and shows the bearing, and it displays the Malaysian Qibla angle alongside it so you always have the expected value to check against. It works offline. But it is a phone compass with a phone compass's limits: fine for finding your direction in a hotel room, not a substitute for having a surau's Qibla properly surveyed.
If you genuinely cannot tell
Facing the Qibla is a condition of the prayer, but the obligation is to make a reasonable effort (ijtihad) with the means available, and a mistaken direction after a sincere effort is treated differently from carelessness. If you are unsure of your specific situation — travelling, in an aircraft, or somewhere you cannot get a stable reading — put the question to a qualified scholar or your state mufti department rather than to an app.
Related reading: how JAKIM prayer zones work, which is the other thing worth setting correctly once and forgetting.
References
- [1] Soalan-Soalan Lazim Falak: Kiblat — Jabatan Mufti Wilayah Persekutuan. Accessed 22 July 2026.
- [2] Bahagian Falak — penentuan dan pengesahan arah kiblat — Jabatan Mufti Negeri Selangor. Accessed 22 July 2026.
- [3] Permohonan Penentuan Arah Kiblat di Wilayah Persekutuan — Jabatan Mufti Wilayah Persekutuan. Accessed 22 July 2026.
A note on this article. Solahpro is a prayer times app, not a religious authority. Everything above is sourced to JAKIM or a Malaysian mufti department, and where the sources give a range or a difference of opinion, that is said plainly rather than flattened into one answer. For a ruling on your own situation, ask a qualified scholar or your state mufti department. Found something wrong? Tell us and it will be corrected.