An elevated metro line collapsed in the Mexican capital on Monday, leaving at least 20 people dead and dozens injured as a passing train came crashing down, authorities said.

Security camera footage broadcast by local media showed the carriages plunging towards the ground in the south of the city.

"So far we have 15 people who unfortunately lost their lives," Mexico City Mayor Claudia Sheinbaum told reporters at the scene.

The toll was later updated to 23.

Video: AFP

The city's civil defence department said on Twitter that around 70 others were injured in the dramatic accident.

Dozens of emergency workers were seen trying to rescue victims from the carriages.

But the work later had to be suspended because of fears the wreckage was too unstable.

Video: AFP

"For now the rescue has been suspended because the train is very weak. A crane is coming to continue" the work, Sheinbaum said.

Part of the train was hanging from the tracks in a tangle of twisted cables with the front ends of two carriages pointing towards the ground in a V-shape.

A car was trapped under the rubble, but it was unknown if there were people inside.

Video: AFP

"Suddenly I saw that the structure was shaking," an unidentified witness told the Mexican television network Televisa. 

"When the dust cleared we ran... to see if we could help. There were no screams. I don't know if they were in shock," she added.

Medics were seen taking the injured away on stretchers.

The casualties were rushed to different hospitals in the city, Sheinbaum said. 

The accident occurred when a section of the elevated tracks collapsed at the Olivos station at around 10pm (0300 GMT), she said.

The Mexico City subway has 12 lines and carries millions of passengers each day.

Monday's accident comes just over a year after two subway trains collided in Mexico City, leaving one dead and around 40 injured as panicked passengers escaped through dense smoke.

Social media footage showed panic at the scene of that accident in the city centre as lights went out, the ventilation system was interrupted and the station filled with smoke. 

In another incident in January of this year, one person died and 29 suffered smoke inhalation injuries in a fire in the metro's control centre.

The latest accident comes at a time when Mexico is struggling to cope with the coronavirus pandemic, which has left more than 217,000 people dead in the country - one of the world's highest tolls.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.