Car buyers shunned electric vehicles because of their high cost and limited operating range until Tesla unveiled the Model S in 2012, a car that cracked the 200-mile (322 km) range barrier on a single charge.
Since then, big advances in battery technology and a global crackdown on pollution in the wake of Volkswagen's diesel scandal have raised pressure on carmakers to speed development of zero-emission alternatives.
BMW, which launched the i3 electric car in 2013, said it was now readying its factories to mass-produce electric cars by 2020 if demand for battery vehicles takes off.
"By 2025, we will offer 25 electrified vehicles — 12 will be fully-electric," Chief Executive Harald Krueger told journalists in Munich, adding the electric cars would have a range of up to 700 km (435 miles).
It marks a significant foray by a major manufacturer into electrification. BMW, which includes the Mini and Rolls-Royce brands and sold 2.34 million cars last year, announced the move on the day smaller rival Jaguar Land Rover said it would offer electric or hybrid variants of all its models by 2020.
On Wednesday, Nissan unveiled a new version of its Leaf electric vehicle in its latest move to take on Tesla, the U.S. firm co-founded by Elon Musk that sold 83,922 vehicles last year. BMW Group, by comparison, sold nearly 2.4 million vehicles.
Traditional carmakers have been slow to embrace the electric vehicle market because it remains unprofitable, largely due to the cost of batteries. They make up between 30 percent and 50 percent of the cost of an electric vehicle.
A battery pack with 60 kWh capacity and 500 km range costs around $14,000 today, compared with a gasoline engine that costs around $5,000. Add to that the $2,000 for the electric motor and the inverter, and the gap is even wider.
But capacity investments into the battery sector may bring down costs of electric vehicles to a "tipping point" when they reach parity with combustion-engined equivalents some time between 2020 and 2030, according to analysts at Barclays.
With cities threatening to ban combustion-engined vehicles or to tax diesel cars more heavily, the total cost of ownership of electric cars could drop below their combustion-engined equivalents, and Europe could become a 100 percent pure battery electric vehicle market by 2035, according to analysts at ING.
"We will be increasing the share of electrified models across all brands and model series. And, yes, that also includes the Rolls-Royce brand and BMW M vehicles," he said.
Aside from vehicle cost, a key obstacle to making electric cars popular is the amount of time it takes to recharge, and a lack of charging stations.
London needs to spend 10 billion euros ($12 billion) to get charging infrastructure to a level where retail buyers can practically own an electric car, consultancy AlixPartners has said. Almost none of that spending has been earmarked so far.
($1 = 0.8331 euros)
Reporting by Edward Taylor