These DMV lines are driving New Yorkers crazy.

Motorists seeking to renew their licenses are facing waits that can stretch for half a day at packed Department of Motor Vehicles offices — even “License Express” outposts.

A trip to the 30th Street express office last week was more like getting stalled in the breakdown lane. About 60 people lined up before doors even opened at 8:30 a.m. and others crammed inside past the 4 p.m. closing, still waiting to be helped.

David Chang, a software developer from Queens who arrived at 11 a.m., did not emerge with his new license until 3 p.m.

“I wasn’t expecting it,” he said. “The last time I renewed it, it was pretty quick — like a half an hour.”

The crush comes ahead of an Oct. 1, 2020, deadline to upgrade to federally-mandated REAL ID licenses. Without one after that date, airline passengers will have to use a passport or other identification to fly within the US.

Unlike standard licenses, which can be renewed through the mail or online, the REAL ID licenses and Enhanced licenses — which can be used for some border crossings — must be obtained in person at a DMV office and require additional documentation.

The DMV said there was a 383 percent increase in REAL ID transactions in July 2019 compared to November 2017, which was the first full month REAL IDs became available in New York.

The Atlantic Center office in Brooklyn is its busiest and processed more than 45,000 REAL ID licenses in the last year, according to the agency.

The DMV takes appointments online, although early last week there were almost none available at any of its four Manhattan offices through the end of September.

Many people showed up without appointments at the License Express last week and hoped for the best.

Erik Swanson, an actor from Manhattan, arrived at noon and was still seven people away from being called at 3:30 p.m.

He said the atmosphere grew tense at times and a clerk snapped at him for standing too close to a counter.

“They’re a little testy,” he said.

Anna Rose Guasto, a teacher from Queens, took a number but was so daunted by the crowds, she walked to the DMV’s larger office on 31st Street thinking she’d have better luck. But after waiting one hour at that location, she returned to the License Express.

By 3:10 p.m. — after nearly three hours — there were still 40 people ahead of her.

With standing room only inside, she sat outside on a metal stand pipe.

“I mean things have to change.” she said. “It’s a lot — a lot to ask.”

A DMV spokeswoman said the agency had added additional staff, including four more employees in August at the License Express office, upgraded its reservation system and developed an online guide so drivers come with the necessary documents — such as a passport, Social Security card or proof of residence — in order to reduce wait times.