The medieval toilet or latrine, then called a privy or garderobe, was a primitive affair, but in a castle, one might find a little more comfort and certainly a great deal more design effort than had been invested elsewhere. Practicality, privacy, and efficient waste disposal were all considered and, even today, one of the most prominent and easily identifiable features of ruined medieval castles is the latrines which protrude from their exterior walls.
This is a companion discussion topic for the original content at https://www.worldhistory.org/article/1239/toilets-in-a-medieval-castle/.