California is revoking 17,000 commercial driver's licences after an audit found they were given to thousands of immigrants who are no longer legally allowed in the US.

The Department of Transportation said California officials confirmed they "illegally issued" those licences "to dangerous foreign drivers", and the holders were notified their licences will expire in 60 days.

In August a truck driver who was not in the US legally killed three people in Florida, spurring the Trump administration to increase its efforts to keep undocumented immigrants out of commercial trucking and bus driving.

California Governor Gavin Newsom largely brushed off the administration's announcement as political.

The administration has been critical of California and other states who have given licences to people who are in the country illegally.