If your team is watching your Zapier or Make bills rocket past hundreds of dollars a month, you are not alone. In 2026, many engineering teams and content creators are realizing that cloud automation pricing models can severely penalize business growth. That is why learning how to set up an n8n self hosted instance has become a massive competitive advantage.
While n8n Cloud limits you to just 2,500 executions on its basic starter tier, a self-hosted instance lets you process hundreds of thousands of complex workflows without paying a single dollar in license fees. No Zapier-style paywalls. No surprises on your invoice.
Let me walk you through everything — from what n8n actually is, to getting it running on your own server.
Skip expensive cloud restrictions. By choosing an n8n self hosted setup using Docker Compose, you unlock unlimited workflow executions for free while maintaining full control over your data.
What Is N8n and Why Should You Self-Host It?
N8n (pronounced “n-eight-n”) is an open-source workflow automation tool. Think of it like Zapier, but you own the whole thing.
It connects your apps and automates tasks using a drag-and-drop visual editor. No coding needed for most workflows.
When you self-host n8n, you run it on your own server instead of paying for the n8n cloud plan. This means:
- Full control over your data
- No execution limits
- Access to community-built nodes and AI integrations
- Lower costs at scale
I personally switched from n8n Cloud to self-hosting after my workflow count crossed 20 — and my costs dropped significantly.
Explore more: Top 5 n8n Workflows for Beginners in 2026 (Copy-Paste & Automate Today)
N8n Self Hosted vs Cloud: Which One Is Right for You?
| Feature/Cost | n8n Cloud (Starter) | Self-Hosted (Basic VPS) | Self-Hosted (Managed Hostinger) |
| Monthly Price | ~$24 USD | ~$5 USD | ~$7 to $12 USD |
| Execution Limits | 2,500 / month max | Unlimited (Hardware bound) | Unlimited (Hardware bound) |
| Active Workflows | Limited to 5 | Unlimited | Unlimited |
| Setup Time | 2 minutes | 15 minutes | 5 minutes |
My take: If you’re running more than 10 automations regularly, self-hosting pays off fast. If you’re just testing one or two workflows, the cloud trial works fine to start.
N8n Self Hosting Requirements
Before you set anything up, here’s what you need:
- A VPS or server (minimum 1 vCPU, 2 GB RAM — 4 GB recommended)
- Ubuntu 22.04 or 24.04 (most common setup)
- Docker installed on your server
- A domain name (optional but recommended for HTTPS)
- Basic comfort with a terminal/command line
If you have no server yet, I recommend starting with a VPS from Hostinger. Their KVM 2 plan gives you 2 vCPU cores, 8 GB of RAM, and 100 GB NVMe storage — which is more than enough for a solid n8n self hosted setup.
How to Self-Host N8n Using Docker (Step-by-Step)
The most popular way to run n8n self hosted Docker is via Docker Compose. This method is beginner-friendly and takes about 15 minutes.
Step 1: Install Docker on Your Server
Log into your server terminal via SSH. Create a dedicated directory and open a new configuration file. We will use a basic n8n self hosted docker compose block to map our system paths and automatic restart rules.
version: “3”
services:
n8n:
image: docker.n8n.io/n8nio/n8n:latest
restart: always
ports:
– “5678:5678”
environment:
– N8N_BASIC_AUTH_ACTIVE=true
– N8N_BASIC_AUTH_USER=admin
– N8N_BASIC_AUTH_PASSWORD=yourpassword
– N8N_HOST=yourdomain.com
– WEBHOOK_URL=https://yourdomain.com/
volumes:
– ~/.n8n:/home/node/.n8n
Replace yourpassword and yourdomain.com with your actual values.
Step 3: Start N8n
Save your file and run the launch command in your terminal window:
docker – compose up -d
That’s it. Visit http://your-server-ip:5678 in your browser and you’ll see the n8n login screen.
N8n Self Hosted GitHub — The AI Starter Kit
If you want to go beyond basic automation and run local AI workflows, check out the n8n self hosted GitHub repository. The official self-hosted AI starter kit on GitHub gives you a pre-built Docker Compose setup that includes n8n plus local AI models like Ollama.
This is my personal favourite for running privacy-first AI automation — everything stays on your own server.
N8n Self Hosted on Hostinger (Easiest Option in 2026)
If the Docker setup above feels like too much work, n8n self hosted Hostinger is the fastest path to getting started. N8n comes preinstalled with Hostinger’s “Ubuntu 24.04 with n8n” VPS template, so you don’t write a single line of setup code.
Explore more: n8n Review 2026: Is It Really the Ultimate Zapier Killer? (Pros & Cons)
You can choose a template to set up n8n in queue mode for better scalability, which is great if you’re running many workflows simultaneously.
N8n Self Hosted Pricing: What Does It Actually Cost?
Here’s the part most guides skip. The n8n Community Edition is free to self-host under the Fair Code license. You can run unlimited workflows, steps, executions, and users without paying for the software itself.
Explore more: A Step-by-Step Guide on How to Run AI Automations Locally with n8n
Your only real cost is your server. A rough breakdown:
- Small setup (personal use): $5–10/month on a basic VPS
- Medium setup (small business): $15–30/month with PostgreSQL + Redis
- Advanced setup (team use): $50+/month depending on traffic and redundancy
If you need advanced features such as SSO, Git version control, or multiple environments, n8n also offers a Self-Hosted Business Plan.
n8n self hosted free means the software is free — your server bill is the only expense.
N8n Self Hosted Limitations You Should Know
Self-hosting is powerful, but it’s not perfect for everyone. Here are real n8n self hosted limitations to keep in mind:
- You manage updates yourself — n8n releases updates regularly, and you need to pull them manually
- No built-in monitoring — You’ll need to set up your own alerts
- SSO and advanced user management require the paid Business license
- No official support — You rely on the community forums and GitHub issues
- Backups are your responsibility — Set up automated PostgreSQL dumps
Common Mistakes Beginners Make (And My Personal Tips)
After helping several people set up their n8n instances, I keep seeing the same mistakes:
1. Using SQLite for production
SQLite is the default database, but it breaks under load. Switch to PostgreSQL right from the start. It only takes a few extra lines in your Docker Compose file.
2. Not setting up a reverse proxy
Running n8n on port 5678 without HTTPS is risky. Set up Nginx or Caddy as a reverse proxy so you get HTTPS via a free Let’s Encrypt certificate.
3. Skipping backups
Your workflows live in the database. If your server crashes and you haven’t backed up, you lose everything. Schedule daily database exports from day one.
My personal tip: Start with the Hostinger one-click template if you’re new to servers. Once you understand how n8n works, migrate to a custom Docker Compose setup for more control. Don’t try to optimise everything on day one.
Note: If you want to know about their official cloud costs, check out our full [n8n pricing guide].
Final Thoughts
N8n self hosted is one of the best decisions I made for my automation stack in 2026. You get enterprise-level workflow automation without paying enterprise prices. The setup takes less than an hour, and once it’s running, it’s incredibly stable.
Whether you go the n8n self hosted Docker route or use the Hostinger one-click template, you’re getting a tool that can handle thousands of automations per month — completely free on the software side.
Start simple, pick one workflow to automate first, and build from there.
FAQs
No, you do not strictly need Docker to run n8n, though it is the highly recommended method. While Docker provides the most stable, isolated environment for deployment, you can also install and run n8n directly using Node Package Manager (npm) on your system.
Yes, you can use the self-hosted n8n Community Edition for free for life, provided you follow its license terms. As long as you are using it for internal business purposes and are not commercializing n8n as a competing cloud service or software-as-a-service (SaaS) product, it remains completely free.
Yes, self-hosting n8n is an excellent idea if you have basic technical skills and want to avoid the high costs of cloud-based automation tools. It eliminates per-task execution fees and ensures data sovereignty, though you will be responsible for managing your own server backups, security, and updates.
Yes, n8n is free for internal business use and personal projects when self-hosted. Through its Community Edition (distributed under a Sustainable Use License), you get unlimited workflow executions, access to all standard nodes, and full functionality without paying any software licensing fees.
Yes, n8n can be completely self-hosted. You can deploy it on your own server or local machine using hosting methods like Docker, Docker Compose, or npm. Self-hosting gives you total control over your infrastructure, data privacy, and workflow executions.
I am a tech savvy and multi-niche content writer and on page seo specialist with over 5 years experience and I have served more than 15 organisations.
