Skip to main content

Enabling Always On

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

You can add Always On to your Repls by purchasing Cycles or by subscribing to our Hacker plan.

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 respect 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

Always On is controlled by a toggle inside your Repl. To enable it:

  1. Navigate to your Repl.
  2. Open the info panel by clicking on your Repl's name.
  3. Enable Always On by clicking on the toggle at the bottom:

screenshot of Always On toggle

After Always On is enabled, you will see a green indicator next to your Repl's name:

screenshot of Repl with Always On enabled

That's it! We will run your Repl whenever it goes to sleep.

Feedback

We are interested in hearing from you about your experience with Always On. Please let us know via https://replit.com/support.