Yes, as long as the door is open and you have it on a medium or low setting. Using a humidifier in a nursery as a baby sleeps can actually help the infant sleep better, particularly in dry homes or during dry seasons.