Mexico City residents were rattled by a moderate 5.8 magnitude earthquake that struck to the south of the capital Thursday.

MAGNITUDE 5.1 EARTHQUAKE RATTLES BARBADOS

The U.S. Geological Survey said the quake occurred at about 2:03 p.m. local time at a spot near Chiautla de Tapia, a rural village about 125 miles south of Mexico City in Puebla state.

Mexican flag

A Mexican flag waves in front of The National Palace, the office of the president, in Mexico City's main square, the Zocalo, at sunrise, April 24, 2023. The shark bite victim was identified as Mexican national Maria Fernandez Martinez Jimenez. (AP Photo/Marco Ugarte)

The head of the federal civil defense agency said there were no immediate reports of damage anywhere around Chiautla. Acting Mexico City Mayor Martí Batres said there were no immediate reports of any damage or injuries in the capital.

CLICK HERE TO GET THE FOX NEWS APP

The tremor set off the Mexico City earthquake alarm system and people left apartment and office buildings in neighborhoods across the city. Groups of office workers gathered on sidewalks along the city’s downtown Reforma boulevard.