BMW is recalling almost 570,000 cars in the US and Canada amid fears that a battery cable connector can fail and cause engines to stall.
The recall affects 3-Series sedans, wagons, convertibles and coupes manufactured from 2007 through 2011.
Also included are 1-Series coupes and convertibles from 2008 through to 2012, and the Z4 sports car from 2009 through to 2011.
Federal safety regulators say the connector and a fuse box terminal can degrade over time. This can break the electrical connection and cause the cars to lose electrical power and stall unexpectedly.
BMW says it knows of one minor collision in Canada as a result of the problem, but no injuries.
The German automaker will replace the battery cable connector and secure it for free. The recall is scheduled to start next month.