The quake triggered small tsunami waves and damaged some buildings.
According tot he United States Geological Survey (USGS), the epicentre of the quake was about 62 miles (100km) south-west of the town of Pijijiapan and at a depth of 35km.
Tsunami warning has been issued for Mexico, Honduras, Nicaragua, Panama, Guatemala, El Salvador and Costa Rica.
The quake was felt in the capital, Mexico City.
Power cuts were also reported.
Mexico is also facing threat from Hurricane Katia, which is expected to hit its eastern coast.
Support Our Journalism
We cannot do without you.. your contribution supports unbiased journalism
IBNS is not driven by any ism- not wokeism, not racism, not skewed secularism, not hyper right-wing or left liberal ideals, nor by any hardline religious beliefs or hyper nationalism. We want to serve you good old objective news, as they are. We do not judge or preach. We let people decide for themselves. We only try to present factual and well-sourced news.