One person died in the west of the country, said President Andres Manuel Lopez Obrador.
No major damage has so far been reported in the epicenter area near the Pacific (west) and in Mexico City, which has more than 20 million inhabitants with its megalopolis.
In the capital, the tremor was strongly felt for several seconds, AFP noted.
At 1:05 p.m. local time (6:05 p.m. GMT), residents of Mexico City took to the streets again when the earthquake warning sounded, this time for good, less than an hour after the annual earthquake drill, a simulation of earthquake organized every September 19 by the authorities.
"What a fear. I thought: once again on the 19th, it's not possible," Laura Plaza, a retired teacher, told AFP.
"We didn't think it was true! But it is. It's impressive that today, once again, the earth is shaking so strongly," said Karina Suarez, 37, in the center of the city. capital city.
"There are no consequences in Mexico so far" but "we continue to collect information", declared by way of a first assessment the mayor of the capital Claudia Sheinbaum.
The epicenter was located towards the Pacific, in the state of Michoacan (west), several hundred kilometers from the capital.
No major damage has either been recorded so far in Michoacan, according to an AFP correspondent. "We are carrying out an assessment of the damage", indicated the local civil protection.
President Andres Manuel Lopez Obrador reported a death in the state of Colima (west) following the fall of a fence in a shopping center, citing a Navy official.
At each annual anti-seismic exercise, residents are invited to evacuate their homes and places of work at the first alarm, to reach "meeting points" indicated in each district.
In September 2021, a 7.1 earthquake southeast of Acapulco, in the state of Guerrero, killed one person and damaged businesses and homes.
On September 19, 2017, a magnitude 7.1 quake killed 369 people.
On September 19, 1985, an earthquake of magnitude 8.1 devastated the center of Mexico City, killing more than 10,000 people, most of them in the capital.
Located on the Pacific Ring of Fire, an area where the meeting of tectonic plates causes high seismic activity, Mexico lives under the threat of large-scale earthquakes.