Even James Bond had to take driving lessons to get his New York state motorist’s license.

A month before “Skyfall” was released in theaters, reigning 007 Daniel Craig completed driving school — including a course on “responsible safe driving” — to obtain a New York license, Page Six has exclusively learned.

“No one is exempt, regardless of who you are,” said Richard Fernandez, an office manager at the Professional Driving School of the Americas on East 23rd Street in Manhattan.

According to the New York State Department of Motor Vehicles Web site, foreigners must pass a written test, complete a five-hour prelicensing driving-safety course and pass a road test in order to qualify for a driver’s license.

After passing the written test, British star Craig went to the 23rd Street school to take the five-hour classroom-based lesson — which he attended on Sept. 13, the school confirmed.

“His assistant requested a special class for Daniel by himself. No other students were there,” said Fernandez. “He was such a nice dude, so friendly.”

Craig — who famously flipped an Aston Martin DBS in the 2006 James Bond flick “Casino Royale” while avoiding a bound-and-gagged Eva Green lying on a windy street, and races out of London in a vintage Aston in “Skyfall” — took the classroom course, which included videos and lectures on proper turns, driving in extreme weather conditions, the danger of alcohol and driving, and parallel parking and three-point turns.

The rugged actor received a certificate of completion of the course and made an appointment to take his behind-the-wheel test on Staten Island. We’re told Craig then drove out to a Department of Motor Vehicles station with a friend, where he passed the test and received his state license. It is not known what car he used for the road test — but we’ll guess it wasn’t an Aston Martin.

“Skyfall” has already raked in $672 million in ticket sales, making it the best-selling Bond movie to date. Craig’s rep didn’t get back to us.