The country's seismic institute issued a preliminary magnitude of 4.96 after the latest Sunday morning temblor, which hit at 10:57 am (11:57 ET) and was centered about 44 kilometres (27 miles) south of the Guerrero state community of Atoyac de Alvarez.
There were no immediate reports of injuries or damage, but the seismic alarm went off in Mexico City and authorities warned people to stay away from elevators and windows.
Mexico's National Seismology Institute said the first temblor struck at 9:27 am (10:27 ET) and was centered about 5 kilometres (less than 3 miles) south of Coyuca de Benitez in the southern state of Guerrero.
Mexico City Mayor Miguel Angel Mancera also reported both quakes on his official Twitter account.
The quakes were centered along the stretch of Guerrero state coast and inland mountains that were hardest hit last month by Tropical Storm Manuel.
The second quake, which was felt in Mexico City, had its epicenter near the most significant population center closest to the hamlet of La Pintada, where dozens died when a massive mudslide hit the center of town on Sept. 16.
