You can set it for 30, 60 or 90 min. But If you don't set the time, it will always run. For example, if you forget to set the time when you go to the bed, it will run for the whole night.