Bathrooms were installed in Hogwarts after Muggles invented modern plumbing (Pm). There appear to be a boys’ bathroom and a girls’ bathroom on each floor, although the girls’ bathroom on the second floor is out of order and avoiding because it is where Moaning Myrtle spends most of her time (CS8). There is also a special bathroom for prefects located on the fifth floor (GF23).
From the Web
The 5 strangest things to ever happen in a Hogwarts bathroom from Pottermore