A subway rider was caught on video harassing a uniformed NYPD cop in front of amused straphangers and the officer’s own partner.

The 60-second clip shared Tuesday by the city’s largest police union shows a man who appears to be his late 20s or early 30s daring an officer to “put hands” on him, which would give the young punk “every right to defend himself.”

“Oh, you do?” the cop replied. “You think so?”

“Yeah, so put your hands on me,” the man continued before threatening to assault the cop. “I’ll f–k you up.”

The officer, who could not be immediately identified, appeared to try to quell the situation, briefly shaking his head while telling the man to “do what you gotta do” as his partner stood nearby on the 4-train in the video shot earlier this week.

The bold thug kept publicly berating the cop.

“Suck my d–k,” the man said before taking a small step toward the officer, whose facial reaction was blocked by his partner’s shoulder.

At least two people can be heard on the clip laughing as the man chided the cop. The officer’s partner at one point referred to the man as “sir” video shows.

“Freedom of speech, I’m not doing nothing,” the man told the second cop.

“I understand,” the second cop continued.

Police union officials said the video was proof positive that the video clips posted online Monday of cops getting soaked with buckets of water in Brooklyn and Manhattan were not isolated incidents.

“NYC POs are confronting this kind of abuse, or worse, on a daily basis,” the union tweeted. “We’re past the point of ‘disrespect’. This behavior is inciting lawlessness, putting cops & NYers in danger.”

In a statement released Tuesday, PBA President Patrick Lynch called for “concrete action to address the lawlessness” on city streets.

“The NYPD has issued guidance regarding the offenses for which a police officer could make an arrest in these situations,” Lynch said. “But our district attorneys are almost universally refusing to prosecute these same offenses, and new laws passed this year in Albany will require cops to merely issue a ticket for these and many other crimes.”

NYPD Chief of Department Terence Monahan vowed on Tuesday to arrest those responsible for drenching cops in Harlem and Brownsville.