Between workouts and naps, it’s a wonder he has any time to try to raise taxes.

Mayor Bill de Blasio’s daily exercise routine at a Brooklyn gym often leaves him too tuckered out to stay awake at City Hall, where he catches up on his shuteye by crashing on a couch in his office, sources told The Post.

Hizzoner regularly takes midday naps while everyone around him is busy at work, according to former aides with knowledge of the siestas.

“He would arrive at 10 a.m. after working out and then would be napping,” one ex-staffer said.

And Hizzoner doesn’t bother sleeping with one eye open — one source recalled him snoozing away with his face covered by a newspaper to shut out the daylight.

De Blasio also doesn’t attempt to hide his hibernation habit, according to another source who said it’s “pretty widely known within the building.”

“He would tell his front-office staff: ‘Don’t bother me for the next 30, 45 minutes. I’m going to take a nap,’” the source said.

Because the mayor rarely — if ever — ignores a visit from the sandman, his periodic unconsciousness played havoc on his staff’s ability to get things done, one former worker said.

“We couldn’t plan our days that first year at City Hall,” the source said. “Regardless of what you think of [previous Mayor Michael] Bloomberg, that guy was professional. Now, we’ve got this incompetence.”

The former staffers — none of whom were holdovers from the Bloomberg administration — blamed de Blasio’s need for sleep on his habit of attending late-night events, coupled with his morning treks from Gracie Mansion on the Upper East Side to the Park Slope YMCA.

“He was getting up earlier than he wanted because he was insisting on going to the gym,” one source said.

But a source who worked on de Blasio’s successful 2009 campaign for public advocate said he was already indulging his inner Rip Van Winkle back then.

“Two o’clock, 3 o’clock would come around, and he would go home and take a nap,” the source said.

“By the third time, people were like, ‘Oh, for crying out loud. It’s a campaign. We’re not sleeping.’”

“He feels entitled to take a nap,” the source added.

De Blasio infamously blamed a lack of rest for his late arrival at a November 2014 memorial ceremony for the 265 people killed in the crash of American Airlines Flight 587 — causing him to miss the tolling of a bell that marked the 9:15 a.m. moment of impact in 2001.

“I had a very rough night, I woke up sluggish, and I should have gotten myself moving quicker,” he said.

De Blasio also admitted being a night owl — and insisted everyone else should be, too — after he was ridiculed for showing up more than an hour late to an 11:30 a.m. mayoral campaign event three days before Election Day 2013.

At the time, he said he “got a call at 5 in the morning that threw off my sleep cycle.”

“I’m not a morning person,” he said. “We should reorient our society to staying up late.”

De Blasio’s spokesman took issue with the specifics, but would not deny that his boss had ever taken a nap on the job.

“These sources are anonymous because the suggestion that the mayor’s regularly napping is absurd and untrue,” said the spokesman, Eric Phillips.

Additional reporting by Bruce Golding