Dehumidifiers work best in a closed room because it will let in more moisture if the window or door is open.