How to Host a Discord Bot 24/7 — Every Option Compared (2026)
You built a bot, it works on your machine, and now it dies every time you close the laptop. Keeping a Discord bot online 24/7 comes down to three real options — here’s the honest comparison, then the fastest path.
The three ways to host a bot
Your own PC. Free, but your bot’s uptime equals your uptime — Windows updates, sleep mode, and reboots all kill it. Fine for testing, not for a bot other people rely on.
A VPS ($4–6/month). Full control, but you’re the sysadmin: SSH, systemd services, Node/Python version management, security patches, and figuring out why it didn’t restart after the host migrated your instance at 3am. Great if you want to learn Linux ops; overkill if you just want the bot online.
Managed bot hosting. You hand over a GitHub repo (or pick a premade bot), the platform runs it, restarts it, and redeploys when you push. You trade a little control for never thinking about servers. That’s what we built at FadeHost — and the first bot is free, no credit card.
Hosting a bot on FadeHost, start to finish
- Sign up and open the Bots panel.
- Connect GitHub (one click, via the GitHub App) and pick your bot’s repo — or skip code entirely and deploy one of the premade bots (role menus, logging).
- Set your environment variables — at minimum
DISCORD_TOKENfrom the Discord Developer Portal. Never commit your token to the repo. - Deploy. We clone, detect Node.js or Python, install dependencies (
package.jsonorrequirements.txt), and start the bot in an isolated sandbox. - Push to redeploy. Every push to your default branch redeploys automatically. The live console shows exactly what your bot prints, and if it crashes, the crash doctor reads the traceback and tells you what’s wrong in plain English.
Runtime-specific details live in the dedicated guides: discord.py hosting and discord.js hosting.
What “24/7” actually requires
Whatever host you choose, four things separate a bot that stays up from one that doesn’t:
- Auto-restart on crash — bots crash; the process manager matters more than your code.
- Restart on reboot — the silent killer on VPSes without a systemd unit.
- Dependency pinning — lock your discord.js / discord.py versions; surprise major updates break login.
- A token that stays secret — a leaked token means someone else runs “your” bot. Env vars, never hardcoded.
Managed hosting does the first two for you; the last two are on you wherever you host.
What it costs
FadeHost bot hosting: first bot free (256MB — plenty for most utility bots), then $2/month for 1GB, $3 for 2GB, $6 for 4GB + 3 vCPU (music and AI bots). No coins, no daily renewal clicks, no sleep timers — the bot just runs. Full details here, or read the free hosting guide for exactly what the free tier includes.