Summary
The BMW M5 has 8 recalls spanning 1991 through 2020, with the most serious recent issue affecting 2019-2020 models where the transmission wiring harness can short circuit, causing the transmission to drop into neutral and cut drive power without warning.
On the same recent generation, the 2018 model year has two separate issues: engine control unit software can shut down the fuel pump while driving, stalling the car, and a fuel level sensor can stick against an in-tank line and read higher than the actual fuel level, which may also result in an unexpected stall. Going back to 2015, certain M5 sedans built in a narrow window from September through December 2014 have a driveshaft that can fracture and fail, cutting power to the rear wheels.
From the early 2000s, the 2001 model year has a recall involving the airbag control module, where a microprocessor fault can trigger unintended deployment of the front airbags, side airbags, or seatbelt pretensioners while driving, raising the risk of injury if an occupant is seated close to a deploying bag. The 2000 model year has two issues: tires mounted at the assembly plant may have sustained sidewall damage during installation, which can cause sudden handling loss, and the brake light switch can fail in either direction, leaving the brake lights permanently on or completely dark regardless of pedal position.
The only recall from earlier production affects 1991 models, where wheel cover attachment screws were not fully tightened and can loosen over time, shedding the cover onto the road and creating a hazard for nearby vehicles and pedestrians.