Guide · Blog Post
n8n Self-Hosting: The Real Monthly Cost and Who Maintains It
The n8n Community Edition is free to download, and a small server is cheap. That is where most cost estimates stop, and it is the smallest part of the bill. The real cost of self-hosting is the time someone spends keeping the instance backed up, updated, secure, and watched. Here is what that work actually involves, so you can decide with your eyes open.
By Mehadi Hasan 8 min read
1. What "free" covers: the license and the editions
Self-hosted n8n comes in editions. The Community edition is free and includes almost the complete feature set. Registering it with your email (still free) unlocks a few extras. Paid Business and Enterprise plans give you a license key that unlocks features such as SSO, environments, projects, workflow and credential sharing, and Git version control (compare editions). Queue mode, which you need to scale, is included in the Community edition.
The source is available under the Sustainable Use License, not a classic open-source license. In its own words, you may use or modify the software "only for your own internal business purposes or for non-commercial or personal use", and you may distribute it or provide it to others only free of charge for non-commercial purposes. Automating your own company's work is squarely covered. Hosting n8n and charging other businesses to use it is the case to check carefully, with n8n directly if in doubt. I am not a lawyer; read the license yourself.
2. Three infrastructure setups, from simple to scaled
Single server, Docker, SQLite
The quickest start. By default n8n stores workflows, credentials, and executions in SQLite, and the official Docker guide maps a persistent volume for the .n8n folder. Fine for light, internal use. One server, one disk, and the backups are your responsibility.
Single server with PostgreSQL
n8n also supports PostgreSQL (choose a database), either on the same server or as a managed database from your cloud provider. A managed database moves backups and patching of the database to the provider, at extra monthly cost. Even with PostgreSQL, keep the .n8n folder persistent: it holds the encryption key.
Queue mode with Redis workers
For volume, queue mode has the main instance hand executions to Redis, and a pool of workers picks them up. The docs advise against running queue mode on SQLite, so this setup means PostgreSQL plus Redis plus several n8n processes, all sharing the same encryption key. More capacity, more moving parts to run.
3. Where the money goes
Prices vary by provider and region, so I will not pretend there is one number. The line items are:
- The server. Usually the smallest item for a light workload; it grows with execution volume, memory-hungry workflows, and queue mode workers.
- The database. Free if it runs on the same server, a separate monthly fee if managed.
- Backup storage. Off-server storage for database dumps and the
.n8nfolder. - Monitoring and alerting. Often free tiers, sometimes not.
- Paid n8n features, if you need them. SSO, projects, sharing, and Git version control need a paid self-hosted plan. As of October 2026, n8n's pricing page lists Business at €667 a month billed annually for 40,000 executions; check current pricing.
- People's time. Almost always the largest item, covered next.
4. Where the time goes
- Backups that actually restore. A complete backup is the
.n8nfolder (which holds the credential encryption key) plus the PostgreSQL database if you use one. A CLI workflow export alone is not enough to recover a full instance, and without the encryption key, restored credentials cannot be decrypted (back up and restore). Test a restore before you need one. - Updates. n8n recommends updating frequently, at least once a month, checking the release notes for breaking changes, and testing first where you can (update n8n). Skipping updates is how you end up jumping several versions at once.
- Monitoring. n8n exposes
/healthz,/healthz/readiness(which also checks the database), and/metrics(monitor n8n). Point an uptime checker at them and alert a real person. - TLS and the reverse proxy. Webhooks need a public HTTPS URL, so certificates and proxy configuration are part of the job (set up SSL).
- Security patching. The operating system, Docker, the database, and Redis all need patches, not just n8n.
- Execution data. Saved executions grow the database; configure execution data pruning so a busy workflow does not fill the disk.
None of this is hard for someone who runs servers. It is easy to neglect when nobody's job description includes it, and that is how self-hosted instances end up three versions behind with backups nobody has tested.
5. n8n Cloud or self-hosted?
n8n's own guide frames it as deciding who manages the infrastructure, then picking a plan (choose how to use n8n). In practice:
- Pick n8n Cloud when nobody on the team wants to run servers, volume fits a Cloud plan comfortably, and there is no rule requiring data to stay on your infrastructure. As of October 2026, Cloud Starter is €20 a month for 2,500 executions and Pro is €50 a month for 10,000, both billed annually (n8n pricing); check current pricing.
- Pick self-hosted when data must stay inside your network or region, execution volume would push you into expensive Cloud tiers, you need custom configuration, or you already run infrastructure and can absorb the maintenance.
- Either way, the instance, the credentials, and the backups should belong to the business, not to whoever built the workflows.
6. How I set it up for clients
When a client chooses self-hosting, I deploy n8n with Docker on their own cloud account, with PostgreSQL, HTTPS, off-server backups that include the encryption key, health checks wired to alerts, and the configuration kept in version control and shipped through a CI/CD pipeline (GitHub Actions or GitLab CI), the same way I deploy any backend service. Then I document the update and restore steps so the client is never dependent on me to keep it running, and offer maintenance for teams that would rather not do it themselves.
Deciding between n8n Cloud and self-hosting?
Tell me your volume, your data rules, and who would own maintenance. I will reply within 24 hours with an honest recommendation. See my n8n automation service, or compare platforms in n8n vs Make vs Zapier.
Get a free 30-min automation auditFrequently asked questions
Is self-hosted n8n really free?
The Community edition costs nothing to license and includes almost the complete feature set. You still pay for the server, database, backup storage, and monitoring, and the biggest cost is the time someone spends on updates, backups, and security. Features like SSO, projects, sharing, and Git version control need a paid plan.
What do I need to back up for self-hosted n8n?
The .n8n folder, which holds the credential encryption key, plus your PostgreSQL database if you use one. A CLI export of workflows alone cannot recover a full instance, and without the encryption key restored credentials cannot be decrypted. Test a restore before you need one.
How often should self-hosted n8n be updated?
n8n recommends updating frequently, at least once a month, checking the release notes for breaking changes, and testing the update first where you can. Falling behind means jumping several versions at once, which is riskier.
When should I choose n8n Cloud instead?
When nobody on the team wants to run servers, your volume fits a Cloud plan comfortably, and there is no requirement to keep data on your own infrastructure. Self-hosting makes more sense for data residency rules, high volume, or custom configuration.
License terms, editions, prices, and hosting guidance checked October 30, 2026 against the n8n license, pricing page, and documentation linked above. Prices and features change; check the current pages before deciding.