The Haas driver, running midway through the order, lost control at turn nine on lap 34 of the race.
His car piled at around 130mph into the barrier but the Danish driver escaped unharmed, if a little shaken.
RED FLAG 🚩
Flames pour out the back of Kevin Magnussen's Haas after he collided with the barrier 😲
Thankfully Kevin is out of the car 🙏 pic.twitter.com/sA2fS0OcaN
— Sky Sports F1 (@SkySportsF1) October 29, 2023
His team revealed he was taken to the medical centre for precautionary checks, adding that there was a suspension failure at the rear of Magnussen’s car.
Shortly afterwards, the car caught fire at the rear before the marshals quickly extinguished the flames.
The crash triggered a red flag, stopping the race. Max Verstappen, in the end, triumphed at the Autodromo Hermanos Rodriguez.
Lewis Hamilton came home second for Mercedes, while Ferrari’s Charles Leclerc finished third.
The Aston Martin pair of Fernando Alonso and Lance Stroll, towards the end of the 71-lap race, also retired.