The quake struck 213 km northwest of Socotra island in the Gulf of Aden.
There was no immediate tsunami warning associated with the earthquake.