Whether you should leave the door open or closed depends on your ventilation system. If your bathroom has an effective exhaust fan, keeping the door mostly closed while allowing replacement air to enter can help direct humid air outside. Without a fan, opening the door may improve airflow, although it can also spread moisture into nearby rooms.
To reduce humidity, run the exhaust fan during your shower and continue using it for approximately twenty minutes afterward, or until excess moisture has cleared. If possible, open a window to encourage ventilation. Wiping down wet tiles, shower doors, and other surfaces can also help prevent moisture from lingering.
The most important goal is to remove damp air rather than simply choosing whether the door stays open or closed. Bathrooms with good ventilation may dry quickly with the door closed, while poorly ventilated spaces often benefit from additional airflow. A few simple habits after every shower can help protect your home from mold, moisture damage, and unwanted odors.