---
title: "Why did my Replit app go to sleep?"
description: "Replit's default publishing setting lets an app switch off after 15 quiet minutes. Here's how to tell that apart from a real crash."
url: https://www.fomio.ai/blog/why-did-my-replit-app-go-to-sleep
published: 2026-10-12T18:00:00.266+00:00
updated: 2026-10-12T18:00:00.266+00:00
topic: breakage-by-platform
words: 1959
---

# Why did my Replit app go to sleep?

Most overnight Replit outages aren't bugs — the app parked itself, and your first morning visitor had to wait for it to wake up.

**In short:**

- Replit's default published shape, Autoscale, goes idle after fifteen minutes with no visitors and has to start up again for the next person.
- If you've been sharing the link from inside the editor, that one only serves while your session is alive — it isn't hosting anything.
- Anything meant to run at a fixed time can't live inside an app that's allowed to be off at that time.
- A parked app, a crashed app and an expired publish all look identical from outside: the page doesn't load.

### Why did my Replit app go to sleep overnight?

Almost always because it was published using Replit's default Autoscale setting, which lets an app go idle after fifteen minutes with no visitors. It didn't crash — it parked. The first person back in the morning triggers a start-up that takes a few seconds, which is why it looks fine by the time you check.

You went to bed and the app was fine. Someone messaged you at 7am to say the link didn't load, and by the time you opened it yourself it was working again. Nothing in your logs looks like a disaster. Nobody changed anything.

This is the most common thing that happens to a Replit app overnight, and it is almost never a bug you wrote. Replit published your app in one of two shapes, and the default one is allowed to switch itself off when nobody is using it.

## What is actually happening when nobody is visiting?

The default shape is called Autoscale, and it's designed around the idea that an app with no visitors should cost nothing. Replit's own publishing documentation spells out the cycle: your app starts when the first request arrives, handles it, and goes idle again after fifteen minutes of inactivity[^3].

So at 2am, with no visitors, your app is not running. It is not crashed. It is parked. Then your first morning visitor arrives, and the server has to be started before it can answer them.

Replit describes that first request after idling as taking a few seconds, and says that's normal[^2]. A few seconds is fine if you're refreshing a page and expecting it. It's not fine for a stranger with a half-second attention span, or for another service that gives up after a short wait.

> **Why it looks fine when you check** — Your checking is what woke it. By the time you open the link, the app has already started, so you see a healthy page and no evidence of the thing your user hit ten minutes earlier.

- **15** — Quiet minutes before an Autoscale app goes idle [^3]
- **30** — Days before a free Starter plan's published app expires [^1]

## Is the link I shared even a published app?

There's a worse version of this that has nothing to do with the fifteen-minute rule. If the link you've been sharing is the one from inside the Replit editor — the preview you get while the app runs in the workspace — that link isn't hosting anything.

It serves while your session is alive and stops when the session ends. People share these by accident all the time, because during building it's the link in front of you. If your app dies whenever you close your laptop, that's the one you've got.

A custom domain doesn't protect you either. A domain just points somewhere. If it points at the editor's preview, it inherits the preview's behaviour, including going dark when you shut the lid[^5].

## Why didn't my 4am job run?

If you built something meant to run on a schedule — a nightly email, a daily sync, a 6am report — and the app it lives inside is parked, there's nothing running to do it. The job doesn't fail. It simply doesn't happen.

You find out days later, when someone asks where their report went. Scheduled work needs to live somewhere that is awake at the moment it's meant to run — on Replit, a Scheduled deployment, which exists for exactly this, or a Reserved VM, the published shape that doesn't park itself[^2].

## Are all those restarts in my logs a problem?

Mostly no. Replit documents that Autoscale apps restart regularly by design, and a line reading SIGTERM — the polite tap on the shoulder telling a program to finish up and exit — means the process was stopped gracefully[^3]. That's routine.

What isn't routine is "exit code 1", which means your app fell over on its own. Read the lines immediately before it; that's where the real error is. The usual culprits are running out of memory, and a missing setting — a key or password the app expects to find and doesn't[^4].

That last one is worth sitting with, because it produces exactly the same symptom as sleeping. The app is unreachable, nothing obviously changed, and you have no way of telling which it was.

## Could my published app have just expired?

On Replit's free Starter plan you get one published app, and the documentation notes the deployment expires after thirty days[^1]. You can republish, but it won't keep itself alive forever.

If your app went quiet and stayed quiet, and it's been roughly a month since you published, check that before you debug anything else. Plan details move around, so read them on Replit's own pricing page rather than from a blog.

## What should I actually change?

1. **Find out which shape your app is published as** — Open Publishing in your Replit project. If it says Autoscale, the fifteen-minute parking is expected behaviour, and you have a decision to make rather than a bug to fix.
2. **Decide whether a few seconds of wake-up genuinely hurts** — For a lot of apps it doesn't matter at all. For something customers hit all day, or something other services call, it does.
3. **If it has to be awake, move it to a Reserved VM** — That's Replit's dedicated-machine option — a server that doesn't sleep, at a fixed monthly cost. It's more expensive than parking, which is the trade you're making.
4. **If you're staying on Autoscale, start faster** — The wake-up delay is proportional to how much work your app does before it can answer. Heavy setup at startup turns "slightly slow" into "looks broken".
5. **Move scheduled work out of the app** — If something must happen at 4am, it cannot live inside something that's allowed to be off at 4am.

**Paste this into Replit**

```text
My app takes several seconds to respond on the first request after it has been idle. Show me everything that runs at startup before the server can accept its first request, and tell me which of those steps can be deferred until after the server is listening or loaded lazily on first use. Make the changes and explain what you moved.
```

## How do I find out it happened before a user tells me?

Every fix above assumes you know which thing went wrong. From the outside, a parked app, a crashed app and an expired publish look identical: the page doesn't load. And you were asleep.

So people set something up to watch the app. There's a shelf of tools, and they weren't all built for the same person. Here's the honest shape of it.

*Tools that watch an app from outside, and who each one suits*

| Tool | Who it was built for | What it tells you when it breaks |
| --- | --- | --- |
| UptimeRobot | The default first stop; free tier, huge install base | An email containing a number, after you've chosen how often it checks and which responses count as healthy |
| Better Stack | Teams with someone whose job is being woken up | Incident timelines, status pages, and a phone call if you want one |
| Pingdom / StatusCake | Apps with users spread across continents | Checks from many places worldwide, so you learn it's broken in Singapore specifically |
| Uptime Kuma | People who want free and open source and don't mind hosting |  |
| Fomio | Someone who built an app with an AI tool and doesn't want to configure anything | Working, Having trouble or Down, plus a plain-English description of what likely went wrong |

That Uptime Kuma row is short because the catch is the whole story: you host it yourself, so now you own two apps that can go down instead of one.

Fomio is what we build, and it's aimed at the reader of this article. You paste the link to your app and it works out what to watch — nothing to configure, nothing to pick. On the paid plans it also writes the prompt to paste straight back into Replit, so you're not translating a problem into instructions yourself.

The free plan watches one app from outside, checks every five minutes, emails you when it breaks and keeps seven days of history, with no card required. Builder watches three apps, checks every minute, includes the fix prompts and keeps thirty days. Pro watches fifteen apps and adds a public status page for your users. Current prices are on fomio.ai/pricing.

Where the others beat us, plainly: they check from more places around the world, they keep longer histories at the top end, and if you want a phone call at 3am rather than an email, Better Stack will do that and we won't. Fomio tells you by email — not SMS, not WhatsApp, not Discord.

> **A caveat that applies to every tool here, including ours** — Something visiting your app regularly will, as a side effect, make it park less often. That is not a replacement for a Reserved VM. Don't let anyone sell it to you as one.

## What should I do next?

Open Publishing and look at what your app actually is. If it says Autoscale and the only symptom is a slow first load in the morning, nothing is broken and you can stop worrying about it.

If it needs to be awake around the clock, or something has to run at a fixed time, move it to a Reserved VM or a Scheduled deployment and accept the cost. And if the real problem is that you didn't know until a user told you, that's the gap Fomio was built to close.

## Questions people also ask


### Does keeping a tab open stop my Replit app sleeping?

Not reliably. An open tab doesn't keep sending requests unless your app does something that keeps talking to the server, so the fifteen quiet minutes can still elapse. Even where traffic does keep an app awake, you're relying on a side effect rather than a setting. If the app genuinely must stay running — because customers hit it constantly, or because work has to happen at a fixed time — the dependable answer is a Reserved VM or a Scheduled deployment, not a browser tab.

### How do I tell sleeping apart from a real crash?

Look at the logs around the moment it was unreachable. A SIGTERM line is a graceful stop and is routine for Autoscale apps. An "exit code 1" means the app fell over by itself, and the real error is in the lines just before it — commonly running out of memory, or a missing key or password the app expected to find. If you see neither, and the app answers normally when you open it, parking is the likeliest explanation.

### Will a custom domain keep my app online?

No. A domain is a signpost; it points at whatever you aim it at and changes nothing about that thing's behaviour. If it points at a published Autoscale app, it parks after fifteen quiet minutes exactly as the Replit link does. If it points at the editor's preview, it goes dark the moment your session ends. Check what the domain is actually aimed at before assuming it's a domain problem.

### Is a few seconds of wake-up time really a problem?

It depends entirely on who is waiting. For a portfolio piece or an internal tool, a slow first load is a non-issue and you should spend your money elsewhere. For something a stranger clicks from a link, or something another service calls and which gives up after a short wait, those seconds look like a broken app. Make startup lighter first — it's free — and only move to an always-on machine if that isn't enough.


## Sources

[^1]: Publishing costs — Replit Docs. https://docs.replit.com/billing/deployment-pricing
[^2]: Deployment and publishing — Replit Docs. https://docs.replit.com/help/deployment-and-publishing
[^3]: Deployment types — Replit Docs. https://docs.replit.com/cloud-services/deployments/autoscale-deployments
[^4]: Replit App Not Working? Why It Breaks After You Publish, and How to Fix It — DEV Community (2026-10-11). https://dev.to/tusharbhendarkar/replit-app-not-working-why-it-breaks-after-you-publish-and-how-to-fix-it-ko0
[^5]: Replit app keeps going to sleep on its custom domain — Nightlamp. https://nightlamp.app/patterns/replit-app-sleeping-custom-domain
[^6]: Replit Deployments: How to Host Apps Easily — LowCode Agency. https://www.lowcode.agency/blog/replit-deployments
