A Bronx Walgreens employee saved a shopper from a vicious sex attack on Thursday when he heard her screaming in the bathroom and rushed to the rescue, cops said.

The woman, 50, took a break from shopping to use the single-occupancy unisex bathroom just before 4 p.m. at the White Plains Road store, cops said.

As she exited, the unidentified man forced her back into the restroom. He then covered her mouth and attempted to remove her pants.

The employee, who has not yet been identified by police, pulled the man away from the victim after hearing her screams and rushing over.

The suspect fled northbound on White Plains Road. The victim was taken to Jacobi Hospital.

Police describe the attacker as a black male, 30 to 35 years old, and approximately 6-foot-2. He was last seen wearing blue jeans, a gray sweatshirt, a white t-shirt and black and white sneakers.