A subway pervert was arrested for rubbing his genitals on a woman during a packed ride between Brooklyn and Manhattan after his victim identified him on surveillance video, cops said Thursday.

The 32-year-old woman was on the 4/5 subway in Atlantic Terminal on June 26 when Level 2 sex offender Roger Grant, 23, boarded and positioned himself behind her, said Sgt. Chris O’Connell, the commanding officer of the NYPD’s Transit Bureau’s Special Victims Unit.

“He got on, she felt him touch her buttocks,” O’Connell said.

As the woman tried to move away, the man stayed with her and she could feel him rubbing up against her private areas, O’Connell said.

When the train arrived at Bowling Green Station in Lower Manhattan, the pervert took off.

“We were able to get video of him from Atlantic Terminal and she was able to identify him off of that,” O’Connell said.

Cops figured out that Grant was the man on the tape, and that he had a meeting with his probation officer scheduled for Thursday night. Grant has five previous transit sex collars, officials said. He was charged with forcible touching.