| Last updated
Across the weekend, there was speculation Prime Minister Boris Johnson was planning to bring the ban forward, which has now been confirmed.
Johnson has unveiled his 10-point plan to combat climate change, which includes a ban on the sale of diesel and petrol cars by 2030 - a decade sooner than the original date of 2040.
In the UK at the moment, fewer than one percent of cars are powered entirely by electricity and this is something Johnson wants to change.
The government has said it will allow the sale of hybrid cars that 'can drive a significant distance with no carbon coming out of the tailpipe until 2035'.
The UK has a target of emitting virtually zero carbon by 2050 - something the new plans hope to help it achieve.
The 10-points are:
Announcing the plans, Johnson said: "Although this year has taken a very different path to the one we expected, I haven't lost sight of our ambitious plans to level up across the country.
"My Ten Point Plan will create, support and protect hundreds of thousands of green jobs, whilst making strides towards net zero by 2050.
"Our green industrial revolution will be powered by the wind turbines of Scotland and the North East, propelled by the electric vehicles made in the Midlands and advanced by the latest technologies developed in Wales, so we can look ahead to a more prosperous, greener future."
Chosen for YouChosen for You
Most Read StoriesMost Read