According to the Mexican National Seismological Service (MNSS), the 5.0 earthquake was registered at a depth of 13 kilometres (8 miles), 28 kilometres southwest of San Marcos, at 11:20 p.m. local time (16:00 GMT).
No casualties or damages have been reported following the quake and a tsunami alert has not been issued.
More about: earthquake Mexico