City taxpayers are shelling out $9 million to have Board of Elections workers chauffeured around town in black cars — and some of the drivers are so bored that they’re openly snoozing on the job.

More than 25 of the costly cars-for-hire were parked outside the Brooklyn BOE building on Adams Street downtown on one day alone last week — while another 20-plus of the vehicles were stationed at the board’s site at 78th Crescent and Queens Boulevard in Forest Hills, Queens.

Board members and staffers enjoyed the pricey perk as early voting at makeshift polling spots in city schools was creating chaos for students and leaving parents up in arms.

But at least two of the hired drivers were blissfully unaware of any controversy involving their BOE fares — as they caught up on some zzzzzs while on the clock.

One of the black-car drivers parked outside the BOE’s Queens headquarters Friday was spotted by The Post napping for 45 minutes behind the wheel before he was called on to do some actual work.

Another driver in Brooklyn also slept — for more than three hours — while waiting for his fare.

He and at least some of the other drivers had an official BOE placard displayed on their dashboard as they freely — and at times illegally — parked in bike and no-standing-anytime zones.

Some of the waiting drivers also watched TV on their phones, ate a meal of rice and beans out of their trunk and cleaned their hubcaps. Five of them stood around watching the driver who was cleaning his hubcaps.

“It’s part and parcel with government waste and maybe even graft,’’ groused Stephanos Koullias, a 39-year-old bike messenger, to The Post.

Standing next to the BOE building in Brooklyn, Koullias noted, “We have trains, and we have buses, and we have a Citi Bike system. … They don’t need to be here.’’

The cabs are part of a fleet of 400 vehicles being rented throughout the five boroughs to cater to the whims of BOE members and workers during election season, drivers said.

The vehicles come courtesy of three contracts totaling $9.2 million over six years that were inked by the 10-member BOE — and paid for by the city, which has no say over the independent agency’s budget.

The BOE’s current budget totals $246 million — up from $171 million last year, or a more than 44 percent increase, mainly stemming from the early-voting push.

A driver stationed in Manhattan said the livery workers get paid $19 an hour.

Nancy Jimenez, 54, who helps organize the drivers in Manhattan, said BOE members “are trying to give good service to the city.

“They want to make it easy for the workers to get there so that there are not problems and people can go vote,” she said.

Jimenez added that the ferried board members and staffers “have important papers, legal papers, things they can’t have on public transportation.”

BOE spokeswoman Valerie Vazquez-Diaz, asked by The Post about details of the livery system, said, “My deepest apologies, but we are in the middle of an election and cannot provide the information at this time.’’

Additional reporting by Rachel Green and Kate Sheehy