MEXICO CITY — A strong earthquake shook southern Mexico on Tuesday, causing buildings in Mexico City — more than 300 miles away — to sway and prompting residents to flee their homes and offices and seek safety on the streets under open sky.
The earthquake’s magnitude was 7.5, according to Mexico’s national seismological service, and it was centered in the Pacific Ocean, about 14 miles off the coast, south of Santa María Huatulco, a beach town in the southern state of Oaxaca that is popular with tourists. It struck at 10:29 a.m. local time.
The U.S. Geological Survey estimated the magnitude at 7.4, and placed the epicenter about 12 miles inland; it is not unusual for preliminary measurements to vary.
There were no immediate reports of significant damage in the region, which is largely rural. The nearest sizable city is Oaxaca, the state capital, about 90 miles away.
The U.S. National Oceanic and Atmospheric Administration said there was a “potential threat” of a tsunami along the coasts of Mexico, Guatemala, Honduras and El Salvador.
“So far we haven’t received reports of damage,” President Andrés Manuel López Obrador said in a video posted on his Twitter account. “We’ll be informing everyone and staying calm.”
Another quake, estimated by the U.S.G.S. at 4.9 magnitude, struck the same region late Monday night.
The mayor of Mexico City, Claudia Sheinbaum, said neither the city’s security command center nor officials conducting overflights of the municipality had reported any “serious” impacts from the earthquake.
Elda Cantú contributed reporting from Mexico City.