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.
ON THIS PAGE
- What is actually happening when nobody is visiting?
- Is the link I shared even a published app?
- Why didn't my 4am job run?
- Are all those restarts in my logs a problem?
- Could my published app have just expired?
- What should I actually change?
- How do I find out it happened before a user tells me?
- What should I do next?
- Questions people also ask
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 inactivity3.
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 normal2. 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.
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 lid5.
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 itself2.
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 gracefully3. 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't4.
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 days1. 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?
- Find out which shape your app is published asOpen 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.
- Decide whether a few seconds of wake-up genuinely hurtsFor a lot of apps it doesn't matter at all. For something customers hit all day, or something other services call, it does.
- If it has to be awake, move it to a Reserved VMThat'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.
- If you're staying on Autoscale, start fasterThe 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".
- Move scheduled work out of the appIf something must happen at 4am, it cannot live inside something that's allowed to be off at 4am.
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.
| 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.
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
WHERE THIS COMES FROM
- Publishing costs — Replit Docs
- Deployment and publishing — Replit Docs
- Deployment types — Replit Docs
- Replit App Not Working? Why It Breaks After You Publish, and How to Fix It — DEV Community, 11 October 2026
- Replit app keeps going to sleep on its custom domain — Nightlamp
- Replit Deployments: How to Host Apps Easily — LowCode Agency
