Skip to main content

Always On

Repls typically go to sleep after a period of inactivity. To make sure that your Repl is restarted, you can use the Always On Power Up.

You can add Always On to your Repls by purchasing Cycles or by subscribing to the Hacker or Pro plans that both come with one Always On Power Up.

What does Always On do?

Repls ordinarily do not run unless someone presses the "Run" button or if the Repl receives HTTP traffic. Always On runs your Repl when neither of those occur. When running your Repl, Always On will install packages and apply your Run button configuration.

Always On does not extend your Repl's lifetime, and all Repls are subject to go to sleep at any time. However, Always On will immediately run your Repl again whenever this happens. If your process exits on its own, Always On will not restart it. We recommend using Replit Database to persist information outside of your process.

Enabling Always On

You can toggle on Always On from your Repl. To enable it:

  1. Navigate to your Repl
  2. Open the info panel by clicking on your Repl's name in the navbar
  3. Enable Always On by pressing the toggle

Screenshot of Always On toggle

Once you've enabled Always On, your Repl will restart whenever it goes to sleep.