The quake registered a magnitude of 6.1 and was followed half an hour later by an aftershock of 5.3, the U.S. Geological Survey reported.
It was centered near the Pacific coast and about 60 miles east of Acapulco.
Some of the buildings in the resort town sustained cracks and schools sent children home for the day fearing more aftershocks, ABC News reported.
Buildings in Mexico City, 170 miles to the north, swayed but there were no reports of any damage or serious injuries.
The U.S. Geological Survey said Mexico is one of the world's most active earthquake regions due to its location atop three large tectonic plates.
Swim Week Miami Beach 2014 [PHOTOS]