Yes, you can run it all night. You have to turn the timer on. It is not automatic.