Qibla · Western Cape

Qibla direction in Cape Town

To face the Kaaba in Cape Town, turn to 23.4° measured clockwise from true north, which is north-east (23.4° east of north). The Sacred Mosque in Mecca lies 6,558 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Cape Town should follow.

Line up the top of your phone or compass with the green needle: it marks 23.4°, the Qibla of Cape Town. Phone compasses usually display true north, so a reading of 23° is all you need; a needle compass reads magnetic north and needs the local declination added or subtracted first.

Find the Qibla with your phone

How to face the Qibla in Cape Town

Stand where you will pray and find north first. Then turn towards north and move a further 23.4° towards east: the result is the bearing of 23.4°. A small error of a few degrees is forgiven by most scholars, but aiming simply at north would leave you about 23° off.

Facing the Qibla is a condition of the prayer. Whoever prays inside the Sacred Mosque faces the Kaaba itself; whoever is far away, as in Cape Town, faces its direction and makes a sincere effort to be accurate. Any of the mosques of Cape Town is a handy reference, because the prayer rows were aligned when it was built. Once you know the direction at home, a discreet mark on the wall saves you from checking again.

Why a flat map shows a different direction

A straight line drawn on a flat (Mercator) map from Cape Town to Mecca points to 20.2° (north), 3.1° away from the correct 23.4°. That map line is a rhumb line: it keeps the same compass heading all the way, but it is 1 km longer than the true shortest route. The Qibla follows the great circle, the shortest path on the curved Earth, which is why the bearing differs.

How is the figure of 23.4° obtained? From the coordinates of Cape Town (33.9258° S, 18.4232° E) and of the Kaaba (21.4225° N, 39.8262° E), spherical trigonometry gives the starting bearing of the great circle joining them. Mosque architects and astronomical Qibla tables rely on exactly the same calculation.

Distance from Cape Town to Mecca and Medina

Mecca is 6,558 km from Cape Town as the crow flies, and Medina, the city of the Prophet ﷺ, is 6,868 km away. A direct flight would take roughly 8 h 13 min, although most pilgrims from Cape Town connect through Jeddah or Medina airport.

Clocks in Cape Town run 1 hour behind Mecca all year. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Cape Town rather than those of Mecca.

Finding the Qibla with the sun in Cape Town

On 365 days of 2027, the sun passes exactly through the Qibla direction of Cape Town while it is well above the horizon. At that moment, facing the sun means facing Mecca. The effect is most frequent in January (31 days); for example, on 1 January 2027 it happens at 12:30 local time.

The sun is never opposite the Qibla of Cape Town during daylight, so the shadow method does not apply here; the left-hand column is the one to use.

Sun in the Qibla direction in Cape Town, 2027 (local time, 24-hour clock). — means it does not happen that day.
DateSun in the Qibla direction (face the sun)Sun opposite (shadows point to the Qibla)
1 January 202712:30—
15 January 202712:32—
1 February 202712:30—
15 February 202712:24—
1 March 202712:15—
15 March 202712:04—
1 April 202711:50—
15 April 202711:39—
1 May 202711:28—
15 May 202711:21—
1 June 202711:17—
15 June 202711:18—
1 July 202711:22—
15 July 202711:27—
1 August 202711:32—
15 August 202711:37—
1 September 202711:41—
15 September 202711:43—
1 October 202711:46—
15 October 202711:50—
1 November 202711:56—
15 November 202712:03—
1 December 202712:13—
15 December 202712:22—

Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Cape Town: at 11:18 and 11:27 local time, face the sun and you face the Qibla exactly, anywhere in the city.

Cape Town compared with other cities

Compared with Pretoria, 1,308 km away, the Qibla in Cape Town is turned 8.8° further clockwise (23.4° against 14.5°), and Mecca is 1,165 km farther away. The nearest city with its own Qibla page, Somerset West (41 km), prays towards 22.9°, a difference of 0.4°.

Among the 59 cities in South Africa on this site, Cape Town has the largest Qibla bearing; the smallest is 9.4° in Richards Bay. Across the country the direction varies by 14.0°.

See all cities on the Qibla page for South Africa.

Qibla in cities near Cape Town

Qibla in Cape Town: questions and answers

What is the Qibla direction in Cape Town?

It is 23.4° from true north, which is north-east: 23.4° east of north.

How far is Cape Town from Mecca?

6,558 km in a straight line over the globe, and 6,868 km to Medina.

When does the sun show the Qibla in Cape Town?

On 365 days of 2027 the sun stands in the Qibla direction; the table on this page gives the exact time for the 1st and 15th of each month.

Why is the Qibla in Cape Town not the direction shown on a map?

Flat maps distort directions. The line on a map points to 20.2°, but the shortest route on the globe leaves Cape Town at 23.4°, and that is the Qibla.

Does the Qibla change during the year?

No. The direction of 23.4° is fixed; only the times when the sun lines up with it change from day to day.

More for Cape Town