A general view of the Nile river in Cairo, Egypt. (AP)
The earthquake occurred at 1:24am Cairo local time 506 kilometres north of the northwestern Egyptian city of Matrouh, the National Research Institute of Astronomy and Geophysics (NRIAG) reported.
According to the European-Mediterranean Seismological Centre (EMSC), the quake occurred with a magnitude of up to six at a moderate depth of 80 kilometres.
No casualties have been reported in the areas affected by the quake, including in North Africa. However, the EMSC issued a tsunami alert.