Loader

n8n Self-Hosting Requirements: RAM, CPU, Disk and Database

Before you rent a server for n8n, know what it needs. This guide gives realistic starting sizes for RAM, CPU, disk, database and network.

  • Sizing by workload
  • Postgres vs SQLite
  • Docker, domain and SSL
n8n Self-Hosting Requirements: RAM, CPU, Disk and Database
  • 26 October 2026
  • by Admin

n8n Self-Hosting Requirements: RAM, CPU, Disk and Database

n8n itself is light. A quiet instance that runs a handful of simple workflows will start on a very small server. The requirements grow when you run many executions at once, move large files through workflows, or keep a long execution history. This guide gives practical starting points. They are not official limits, so always watch your own server and adjust.

The short answer

For a personal or small business setup, start with 2 vCPU, 4 GB RAM and 40 GB of SSD or NVMe storage. For testing only, 1 vCPU and 2 GB RAM can work, but you will see memory problems as soon as a workflow handles large data. Production setups should use Postgres instead of the default SQLite database.

Starting sizes by workload

WorkloadvCPURAMDiskNotes
Testing and learning12 GB20 GBSQLite is fine. Do not rely on it for important work.
Personal automations (a few workflows)24 GB40 GBUse Postgres and a reverse proxy with SSL.
Small team (dozens of workflows)2 to 48 GB80 GBPrune execution data and take daily backups.
Heavy use (many webhooks, large data)4+16 GB+160 GB+Consider queue mode with workers.

RAM is the first limit you hit

n8n runs on Node.js and keeps the data of a running execution in memory. A workflow that loads a large spreadsheet, a big API response or many binary files can use far more memory than a simple one. When memory runs out, the process is killed and the container restarts, which looks like a random crash. If you see this, give the server more RAM and read our guide on n8n performance tuning.

CPU

Most workflows wait on APIs, so they use very little CPU. CPU matters when you run the Code node on large data, do image or PDF work, or run many workflows in parallel. Two vCPU is a comfortable start. Add more only after you see sustained high CPU in your monitoring.

Disk and database

Disk use comes mostly from the database and from stored execution data. By default n8n keeps execution history, and that grows quickly if workflows run often. Turn on automatic pruning and keep only what you need. SSD or NVMe storage makes the interface and database feel much faster than a slow disk.

SQLite is the default and works for small setups. For anything you rely on, use Postgres. It handles several processes at once, it is easier to back up with standard tools, and it is required if you later move to queue mode. See how to back up and restore n8n for the database side.

Software and network requirements

  • Docker and Docker Compose. The easiest and most repeatable way to run n8n. Our self-hosting guide walks through it.
  • A domain name. Needed for HTTPS and for webhook URLs that outside services can reach.
  • A reverse proxy with SSL such as Caddy or Nginx. Many services refuse webhooks without HTTPS.
  • A public IP and open ports 80 and 443. Keep other ports closed.
  • Backups stored away from the server. A backup on the same disk is not a backup.

Where to run it

A small Linux VPS is the usual choice. Browse our Linux VPS plans or a Private VPS and pick the size from the table above. If you would rather not manage any of this, managed n8n hosting gives you a dedicated n8n instance that we set up, secure and back up for you.

Skip the server work: get a dedicated n8n instance with backups and updates handled for you.

See Managed n8n Plans

Frequently asked questions

  • What is the minimum server for n8n?
    For testing, 1 vCPU and 2 GB RAM can run n8n. For real use, start with 2 vCPU, 4 GB RAM and 40 GB of SSD storage, and use Postgres.
  • Does n8n need a lot of RAM?
    Not for simple workflows, but memory use rises with large data in a single execution. If workflows handle big files or large API responses, give the server more RAM.
  • Do I need Postgres for n8n?
    SQLite works for small tests. Postgres is recommended for anything important and is needed for queue mode.
  • Can I run n8n on a Windows server?
    It is possible, but most people run n8n on Linux with Docker because it is simpler and lighter.