MANHATTAN — A subway masturbator who was caught on video being chastised for touching himself on a 2 train was turned in to police by his own mother, NYPD officials said.

Kevin Cuffe, 23, was first spotted by a witness with his hand in his pants for 35 minutes while staring at women on a southbound 2 train about 6 p.m. on Dec. 16, 2015, prosecutors said.

Eight months later, on Aug. 15, Cuffe was caught doing the same thing on a southbound 2 train near Seventh Avenue and 42nd Street about noon, when a rider spotted him and recorded him with her cellphone, prosecutors and police said.

"What are you doing? You over here rubbing your d--k? What the f--k are you doing?" Carter asks in the 2-minute viral video posted to Facebook the same day.

"Do it again and I'm getting up out this chair and I'm going to bust your f---ing ass on this train. We understand each other?" the woman, who identified herself as Deanna Carter on Facebook, shouts as other straphangers either ignore her or gawk at the confrontation.

"Get off this train with that freaky s--t," she orders him.

"I'm in one of those moods! I will f--k you up on this train! Do you hear me? I can't f---ing hear you. Do you f---ing hear me?"

Cuffe then meekly leaves the train at the next stop, holding his bag in front of him.

Carter uploaded the video to Facebook and it quickly went viral — with 3.3 million views as of Thursday morning.

Cuffe's mother turned him in to the NYPD three days later, prosecutors and police said.

He was charged with public lewdness and released, court records show. His lawyer did not immediately return a request for comment.

Carter did not immediately return a request for comment.