An NYPD cop was caught on video telling a Bronx driver that it’s Mayor Bill de Blasio’s fault he’s getting a ticket — and that he himself never would have voted for the guy.

“Mayor de Blasio wants us to give out summonses, OK? All right?” the cop says to the man, who is seen holding the summons in a YouTube video that has since been taken down.

“I don’t know if you voted for him or not. I don’t live in the city. I wouldn’t have voted for him because this is what he wants. He wants us to give out summonses,” the officer adds.

The driver responds, “I feel you, this is a hard job.”

The 10-second video was posted Saturday by a user with the handle 181elvis before being removed from the site Monday.

A police source said the incident took place in the 46th Precinct, in the west Bronx. Police weren’t able to say when it happened, but said the officer has been suspended during an investigation.

“The incident is under review by the Precinct Commanding Officer,” the NYPD said in a statement, without identifying the cop.

City Hall spokeswoman Monica Klein defended the mayor’s traffic safety enforcement policy, saying, “Vision Zero is saving lives. Traffic fatalities are down 22 percent since Vision Zero started, making 2015 the safest year on city streets since record-keeping began.”

De Blasio launched Vision Zero in 2014. The initiative included lowering the speed limit to 25 mph in many areas, adding traffic cameras and increasing criminal charges against violators.

Through February of this year, NYPD officers had handed out 181,892 tickets, a more than 20 percent increase over the same period in 2015 and about the same as in Mayor Mike Bloomberg’s final year in office, 2013.

This isn’t the first time a cop was filmed getting real with a driver. An NYPD detective caught on video last year chewing out an Uber driver was stripped of his shield and gun and placed on modified duty.

Detective Patrick Cherry was removed from the department’s elite Joint Terrorism Task Force after mocking the driver’s accent and berating him.