As you enter the bathroom the door needs to be able to swing its width into the room without hitting the vanity or toilet.
Toilet room dimensions with pocket door.
It would even be ok if it was somewhat shorter.
And with a pocket door i don t have a door swing or safety issue to be concerned about.
The minimum you re allowed by code in the us is 5ft x 2 5ft 1 5m x 0 76m.
Depending on the size of your master suite you could choose either a single pocket door or a double which slides into each side of the wall.
Double the width of the desired door or pair of doors to determine the wall space that s needed to install the pocket door frame.
Half bathroom dimensions toilet and corner sink pocket door 5ft x 3ft 1 5m x 0 9m.
The minimum size for a separate toilet compartment is 30x60 inches.
This means that if the door width is 32 inches you must have a passage.
In my toilet room my elongated toilet extends 28 from the wall and i have 35 clear space total of 5 3 which feels more than adequate.
A pocket door can provide additional privacy between the bedroom and bathroom.