There are no immediate reports of damages or injuries.
The US Geological Survey says the quake occurred Friday just after 8 am local time.
It was centered about 135 miles southwest of Guatemala City.
The head of Mexico's civil defense agency says the quake was also felt lightly in the state of Chiapas, which borders Guatemala.