It turns off only when it senses bright light in the room or when you unplug it. Otherwise, it emits a gentle glow all night.