This is to meet fire code.
Bathroom door swing code.
When it comes to door installation there are no iron clad codes or standards found in the industry or state regulations.
Doors in series shall swing either in the same direction or away from the space between the doors.
Unless the door opens directly into a set of stairs doors can generally be installed to open in either direction.
Code for the doorway opening to the bathroom is 32 inches with 34 inches being the recommendation.
Verify that the applicable building or life safety codes will permit the door swing to be reversed if using the exception for doors.
The rule of thumb is to install interior doors to open into the room.
In commercial work the doors always swing out.
As you enter the bathroom the door needs to be able to swing its width into the room without.
Thresholds at doorways shall not exceed 3 4 in 19 mm in height for exterior sliding doors or 1 2 in 13 mm for other types of doors.
In residential construction the door normaly swings in.
Accessible water closets in dwelling units are permitted.
If there is no room to swing the door in then swing it out.
In residential dwelling units required to be mobility accessible at least one bathroom must comply 809 4.
So says the building code.
This list contains information about whether or not the main bathroom doors should open in or out how mirrors should be placed which types of touchless devices should be provided and much more.
This approach prevents doors from becoming an obstruction in tight areas.
Toilet bathroom building codes.
Water closets in residential dwelling units.
Interestingly enough there is no mention made of the direction that individual stall doors should swing.
Because shower doors are usually glass and can break and because of other access issues bathroom code states that shower doors need to have at least 24 inches of opening clearance.
If there were a fire people will be exiting the building.
4 13 8 thresholds at doorways.
There are guiding principles that help us decide which way the door will swing.
This is based on that the person is entering the room.
There is no hard fast rule on this though.
The minimum size for a separate toilet compartment is 30x60 inches.
Raised thresholds and floor level changes at accessible doorways shall be.
This is because shower doors often are made of materials such as glass that can easily break and pose a danger.
The shower door needs to have an opening clearance of at least 24 inches.
The front of the toilet needs to have at least 21 inches of clearance.