Self-hosting n8n means running it on a server you control rather than on someone else's cloud. I recommend it most often at volume and least often for a small team. Both are true, because most of what makes self-hosting attractive is offset by what makes it tiring.
What you actually get
Three things change when n8n runs on your own infrastructure.
Your data stays where you want it. Customer records, email content, contract details and credentials stay on infrastructure you control. For some businesses that is a requirement, not a preference. For most it is a comfort, which is still worth something.
The running cost stops tracking the volume. Hosted automation plans usually bill per task or per execution. Self-hosted n8n costs the same whether the workflow runs ten times a day or ten thousand. The hosting documentation covers the options, and the community Docker image is the usual starting point.
You can change things. Custom nodes, unusual libraries, a specific version pinned for a while, a script that needs a system package. Some of that is awkward on a hosted plan and straightforward on your own machine.
The cost that is not the licence
Self-hosting is not free, and it is not expensive either. It is a different shape of cost, and the shift is what surprises people.
You are trading a predictable subscription for:
- A server that needs paying for every month, whether you use it or not
- Backups, and somewhere to keep them
- Monitoring, so you find out when it stops rather than when a customer tells you
- Someone with the knowledge to patch it, which is often you
A workflow that runs ten times a day on a hosted plan is almost always better value. A workflow that touches every order, every email or every row of a sheet is a different calculation, and the arithmetic starts to favour your own server.
The honest test is simple: how many times a month does it run, and what does one run cost on each plan? If the answer is a low number of runs and no sensitive data, stay hosted.
The maintenance load is the real work
Running n8n is easy. Keeping it running is the job, and it is a different set of skills from building the workflow.
Someone has to:
- Patch the instance and the underlying system regularly
- Keep an eye on disk space, memory and the queue
- Renew certificates and keep the login secure
- Check the logs for failures the workflow itself did not report
- Know what to do when a dependency changes underneath it
If none of that is you, you need someone who is willing to own it. That is the decision, not the technical detail.
Backups and upgrades
Two things cause most of the pain.
Backups. The workflows, credentials and encryption key live in the database. Back it up on a schedule, keep a copy off the server, and store the key separately. Then test a restore. A backup you have never restored is a hope, not a backup.
Upgrades. A new version can change how a node behaves, and an upgrade that goes wrong at an awkward time is how a Monday starts. Upgrade deliberately, with the backup verified, and keep the previous version until the new one has run a real workflow.
The Docker installation guide covers the setup in detail if you are starting from a blank server.
Data and control, honestly
The privacy argument for self-hosting is real but smaller than it sounds.
Hosted providers do not casually read your data. What self-hosting genuinely gives you is certainty about where the bytes sit and who can reach them, which matters when a customer asks or a compliance rule says so.
It also gives you a responsibility. A compromised server is your problem, and keeping a small instance patched and access controlled is real ongoing work.
Who should stay on the hosted plan
Stay hosted if any of these are true:
- The workflows run a handful of times a day
- Nobody on the team wants to look after a server
- You need it working today, not after a setup project
- The data is not sensitive and the volume is low
- Nobody has been given the job of checking that it is alive
Self-host when the volume is real, the data needs to stay with you, or the workflows need code and control that the hosted plan makes awkward. When a workflow touches every order in the business, per execution billing becomes the thing that decides the design.
What I do when I set one up
I install it on a small server with HTTPS, a sensible login, scheduled backups of the database and key, uptime monitoring and a written patching routine. Then I hand over the runbook: what runs, what to check, how to restore, who to call.
If a hosted plan would do the same job for less effort, I will say so. That decision belongs to the team who will live with it, not to me.
If you want a straight read on whether self hosting is right for your volume and your data, the automation and integrations service covers how I choose the layer. I have written up the projects on this site so you can see finished work, and you can ask for a free project review to talk through your own setup. My pricing page sets out how the work is scoped and priced.
If you want the commercial side of it, the automation and integrations service covers how I connect the tools.
The automation and integrations service covers how I build this, and the pricing page explains what decides the cost.
For the commercial side of it, the automation and integrations service covers how I scope and deliver this work, and the pricing page sets out the engagement plans.