How Much Does It Cost to Self-Host n8n?

Real cost of self-hosting n8n in 2026: the workflow automation tool on a VPS vs cloud, with hardware, RAM, backups and a full monthly breakdown.

What running your own n8n automation server actually costs in 2026: hardware required, RAM profile, backups and the honest comparison vs n8n Cloud.

The short answer

$6–10/month on a Hetzner VPS comfortably runs n8n for a solo automation setup (a few thousand executions a day). Heavy use with long workflows or many queues doubles that.

Why self-hosting n8n at all

n8n is the open-source Zapier alternative: node-based workflow automation with 400+ integrations, AI nodes and a UI that non-developers understand. Self-hosting removes per-execution pricing entirely — you pay for the box, not the runs.

Hardware requirements (real-world 2026 profile)

n8n is a Node.js app + optional Postgres + optional Redis. The official docker image defaults to SQLite, which is fine for solo use:

Workload CPU RAM Disk Verdict
Solo / few workflows 1 vCPU 1 GB 10 GB Works, tight
Active solo (10+ workflows) 1 vCPU 2 GB 20 GB Comfortable
Team / heavy automation 2 vCPU 4 GB 40 GB Recommended
High-frequency (100k+ runs/mo) 2 vCPU 8 GB 40 GB + volume Get Postgres + Redis out of Docker defaults

The heaviest consumers: error retries, queue mode (Redis) and AI agent nodes (which hold LLM context in memory during execution).

Verified 2026 pricing (Hetzner)

Box Spec Price
CAX11 (ARM) 2 vCPU / 2 GB / 40 GB €3.79 (~$4.10)
CX22 2 vCPU / 4 GB / 40 GB $4.49
CX32 4 vCPU / 8 GB / 80 GB $8.49
+ 50 GB volume backups, media, logs +$2.90

IPv4: +$0.48. The CX22 is the recommended comfortable spot — n8n with 4 GB RAM handles queue mode without swapping.

The full monthly cost

Item Monthly cost
Hetzner CX22 VPS $4.49
IPv4 $0.48
Domain (n8n.yourdomain) ~$0.30 (amortized)
TLS (Caddy, auto) $0
Backups (restic → B2, 10 GB) $0.60
Uptime monitoring (Uptime Kuma same box) $0
Email notifications (Resend free tier) $0
Total ≈ $5.90/month

Add user-level Postgres + Redis if you scale past solo: they run on the same box at $0 extra until 4 GB RAM is tight.

Self-hosted vs n8n Cloud (verified 2026-08)

Self-hosted n8n Cloud
Base price $5.90/mo $24/mo (Starter, 5k executions)
Executions Unlimited (your box) Metered (0.1c/execution after quota)
Workers/queue DIY Managed
Updates Docker pull Automatic
Support Community Priority (higher tiers)
Data control Complete Vendor

Cloud is $24–48/month before execution overages; self-hosted is flat. Moderate automation (20k executions/mo) on Cloud runs $40+/month — self-hosted stays $6.

The honest costs people miss

  • Database choice: SQLite works solo; migrating to Postgres later is a 1-hour operation (docker compose swap), not a crisis.
  • Worker memory: queue mode + many parallel branches can OOM a 2 GB box — monitor docker stats during peak.
  • Executions that call LLM/APIs: the n8n box is cheap, but executions that call OpenAI or paid integrations still cost whatever the target API charges. That’s not n8n’s fault — budget it separately.

Production checklist

  • Offsite restic backup weekly (+ test restore)
  • Caddy TLS in front of port 5678
  • Auth: login required (n8n env N8N_BASIC_AUTH_ACTIVE=true)
  • Daily docker compose pull for security updates
  • Log rotation for execution logs

Common problems

  • SQLite lock contention: multiple executions writing at once block each other — move to Postgres at 1k+ executions/day.
  • Forgotten webhook URLs: if n8n faces the internet, put it behind a subdomain with login; webhooks are public by design.
  • OOM during big loops: limit N8N_CONCURRENCY or split workflows.

Our recommendation

n8n on a Hetzner CX22: $5.90/month for unlimited executions. Start with SQLite, add Postgres at real scale, and only look at Cloud if your time to maintain it exceeds $25/month of value.

Related guides