A powerful earthquake of magnitude 7.4 has struck southern Mexico's Pacific coast, killing at least six people and cutting off isolated villages, as well as causing damage to buildings hundreds of kilometres away in Mexico City.
The fatalities were near the quake's centre in Oaxaca, a mountainous state known for its coffee, mescal and Spanish colonial architecture.
A Reuters witness in the tourist town of La Crucecita, which Mexican authorities said was the epicentre of the earthquake on Tuesday, saw anxious residents standing outside their homes on the streets many hours after the tremor as they feared deadly aftershocks.
Many houses were scarred by huge cracks across walls and residents sought to clear debris from the streets, the Reuters witness added. About 200 houses in the area were damaged, including 30 that were badly impacted, a local official said.
"We lost everything in one moment to nature," said Vicente Romero, an owner of a stationery store whose house suffered vast structural damage. "This is our life's work."
Rockfalls blocked the winding mountain roads between the state capital of Oaxaca city and the coast. Rescue workers have not reached all villages reported to have suffered damage, raising fears that more people may be hurt.
A Oaxaca state official said rescue workers were trying to get to the settlement of Santa Catarina Xanaguia, near the epicentre, where the quake brought down homes or parts of the mountainside, trapping people. People had sent messages for help by phone, the official added.
A clinic and old churches in hill villages near the epicentre were severely damaged, images on social media showed.
The dead included a worker from state oil company Pemex, who fell from a height. Pemex was forced to briefly shutter the country's biggest oil refinery in Oaxaca.
Miguel Candelaria, 30, was working at his computer in his family home in the Oaxaca town of Juchitan when the ground began to tremble. He ran outside with relatives, but they had to stop in the middle of the street as the pavement buckled and rocked.
"We couldn't walk ... the street was like chewing gum," said Candelaria, 30.
Quakes of magnitudes over 7 are major earthquakes capable of widespread, heavy damage.
In Mexico City, buildings shook strongly and people ran into the streets when an early warning seismic alarm sounded.
Two people were injured and more than 30 buildings in the capital suffered damage, officials said, including buildings still scarred from a 2017 earthquake that killed 355 people in the capital and the surrounding states.
Water from rooftop pools or tanks cascaded down residential buildings in the city, and construction workers on the 56th story of a new residential tower clung to each other as it swayed, images on social media showed.
The US Geological Survey said the epicenter of Tuesday's quake was located 69km northeast of the town of Pochutla. It was very shallow, only 26km below the earth's surface, which would have amplified the shaking.
Near to the epicentre, Magdalena Castellanos Fermin was in the village of Santiago Astata when the "really intense" quake struck, sending large rocks tumbling down from the hillside and alarming residents, she told Reuters by telephone.
Eunice Pineda, a 26-year-old teacher in Juchitan, said the quake "was two minutes of torture," as she feared her house would collapse.
But residents in one of Mexico's most seismically active regions have learned to "live one day at a time," Pineda added.
"We learn to appreciate, to treasure every moment," she said.