A three-peat offender who pleaded guilty in September to raping a woman in the bathroom of a Kips Bay bar has been sentenced to 20 years to life in prison, Manhattan prosecutors said.

Rodney Stover, 49, was on parole for a previous rape — in Hampton Bays — when he sexually assaulted a woman, 23, in the bathroom of a bar in the Flatiron District on April 11, 2015, according to a Thursday news release from Manhattan District Attorney Cyrus Vance Jr.

Stover in September pleaded guilty in State Supreme Court to three counts of predatory sexual assault, a class A felony; he was sentenced Thursday by Justice Robert Stolz, Vance’s office said in the release.

Stover would be eligible for parole only after serving the minimum of 20 years in prison, a spokesman for the state Department of Corrections and Community Supervision said Friday.

Vance characterized Stover’s most recent assault as brutal; he waited in a bathroom, and when his victim left the stall he attacked her, Vance said in the release.

“This brutal sex assault took place merely two months after the defendant was released from prison for a previous rape conviction,” Vance said.

advertisement | advertise on newsday

Vance said Stover grabbed the woman by her neck, forced her back into the stall while covering her mouth, threatened her, raped her, and fled the scene.

Four days later, a bar employee recognized Stover as he walked past the bar. The employee called police and Stover was arrested.

In August 1992, while on parole for a previous conviction for attempted sexual assault, Stover raped a woman at knife-point in her Hampton Bays home as her children slept, authorities said.

Stover, who lived in Hampton Bays at the time, was convicted of first-degree rape in June 1993.

According to a Newsday story, at the time of his attack on the Hampton Bays mother, Stover was on parole.

A spokeswoman for Vance’s office said he was convicted in Allegheny County, Pennsylvania, in January 1990 for attempted sexual assault.