SELF-driving vehicles could be zipping along UK roads by 2026, according to the Government.
The Automated Vehicles Bill means motorists will not be held responsible for the action of a vehicle in self-driving mode.
Insurers, manufacturers and software developers will instead be the ones liable when something goes wrong.
Transport Secretary Mark Harper said the landmark legislation means self-driving motors can be rolled out in Britain "as soon as 2026".
He added: "This new law is a milestone moment for our self-driving industry which has the potential to change the way we travel forever."
The Department for Transport (DfT) said the legislation delivers "the most comprehensive legal framework of its kind worldwide".
Read More motors stories
But it stressed that self-driving motors must achieve a level of safety at least as high as "careful and competent human drivers".
The Government have previously said 88 percent of accidents involve human error.
Trials of autonomous vehicle technology are ongoing across the UK, such as by Wayve in London and Oxa in Oxford.
It is hoped the technology will boost productivity across society.
Most read in Motors
Mike Hawes, CEO of the Society of Motor Manufacturers and Traders, said the new law was a "watershed moment".
Win a VW Campervan from 71p
SUN readers can win a stunning VW Campervan or £40,000 alternative from just 71p with our discount code this week.
We have teamed up with 7days Performance to offer you the chance to win the cool car at a discounted price this week.
Using the code SUN10, you will get 10% off the normal price.
Enter the competition
Commercial content notice: Taking one of the offers featured in this article may result in a payment to The Sun. 18+. T&Cs apply.