Qibla · Alexandria Governorate

Qibla direction in Alexandria

To face the Kaaba in Alexandria, turn to 135.4° measured clockwise from true north, which is south-east (44.6° east of south). The Sacred Mosque in Mecca lies 1,468 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Alexandria should follow.

Line up the top of your phone or compass with the green needle: it marks 135.4°, the Qibla of Alexandria. Phone compasses usually display true north, so a reading of 135° 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 Alexandria

Stand where you will pray and find north first. Then turn towards south and move a further 44.6° towards east: the result is the bearing of 135.4°. Because the angle sits far from the cardinal points, a rough guess such as “south” would be off by more than 40°, which is why a measured bearing matters in Alexandria.

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 Alexandria, faces its direction and makes a sincere effort to be accurate. Any of the mosques of Alexandria 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 Alexandria to Mecca points to 137.8° (south-east), 2.4° away from the correct 135.4°. That map line is a rhumb line: it keeps the same compass heading all the way, but it is not 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 135.4° obtained? From the coordinates of Alexandria (31.2018° N, 29.9158° 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 Alexandria to Mecca and Medina

Mecca is 1,468 km from Alexandria as the crow flies, and Medina, the city of the Prophet ﷺ, is 1,211 km away. The distance is short enough that many pilgrims from Alexandria travel to the Hijaz by road.

Clocks in Alexandria run 1 hour behind Mecca in winter and the same time as Mecca in summer, because of daylight saving time. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Alexandria rather than those of Mecca.

Finding the Qibla with the sun in Alexandria

On 365 days of 2027, the sun passes exactly through the Qibla direction of Alexandria 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 09:01 local time.

The sun is never opposite the Qibla of Alexandria 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 Alexandria, 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 202709:01—
15 January 202709:14—
1 February 202709:32—
15 February 202709:47—
1 March 202710:02—
15 March 202710:15—
1 April 202710:30—
15 April 202710:42—
1 May 202711:56—
15 May 202712:08—
1 June 202712:21—
15 June 202712:28—
1 July 202712:31—
15 July 202712:27—
1 August 202712:15—
15 August 202712:00—
1 September 202711:37—
15 September 202711:17—
1 October 202710:53—
15 October 202710:32—
1 November 202709:11—
15 November 202708:59—
1 December 202708:51—
15 December 202708:52—

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

Alexandria compared with other cities

Compared with Cairo, 180 km away, the Qibla in Alexandria is turned 0.8° further anticlockwise (135.4° against 136.2°), and Mecca is 180 km farther away. The nearest city with its own Qibla page, Kafr ad Dawwār (22 km), prays towards 135.9°, a difference of 0.5°.

Across the 55 cities in Egypt on this site, the Qibla ranges from 111.3° in Aswān to 149.5° in Arish, a spread of 38.2°. That is too large to use one national direction, so each city has its own bearing.

See all cities on the Qibla page for Egypt.

Qibla in cities near Alexandria

Qibla in Alexandria: questions and answers

What is the Qibla direction in Alexandria?

It is 135.4° from true north, which is south-east: 44.6° east of south.

How far is Alexandria from Mecca?

1,468 km in a straight line over the globe, and 1,211 km to Medina.

When does the sun show the Qibla in Alexandria?

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.

Is the Qibla the same everywhere in Egypt?

No. It ranges from 111.3° to 149.5° across the country, so each city has its own bearing.

Does the Qibla change during the year?

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

More for Alexandria