n8n hosting requirements for self-hosting (from the official docs)

What are the hardware requirements to self-host n8n?

n8n's documentation gives a sizing example of 320 MB to 2 GB of memory and 512 MB to 4 GB of SSD storage for the database. n8n is not CPU intensive, uses SQLite by default or PostgreSQL, and runs as one Docker container or as 3 services with the official PostgreSQL compose file.

Everything below is taken from n8n's documentation and official compose files, with links so you can verify it.

Last updated: · Requirements and prices last checked: · Every spec and price below links to its source.

Key facts

n8n labels these figures as an example based on n8n Cloud, for illustrative purposes only; your needs depend on users, workflows and executions[1].

This page is about what n8n needs. To pick a server that meets it, see best VPS for n8n, which checks real plans against these numbers.

Summary table

AppRAM (min)CPU cores (min)Disk (min)Containers / servicesGitHub starsLicenseSpec source
n8n320 MB (rec. 2 GB)not published—Default Docker install: 1 container with SQLite. Official withPostgres compose: 3 services (postgres, n8n, n8n-runner)208,160[5]Apache-2.0, Commons-Clause[1][6][2][4]

Memory

n8n's sizing example lists 320 MB – 2 GB of memory[1]. What pushes you toward the top of that range[6]:

The docs also describe raising Node.js heap with NODE_OPTIONS=--max-old-space-size=… when you have more memory available[6].

CPU

n8n isn't CPU intensive; memory requirements usually supersede CPU requirements[1].

Database and disk

Docker

Who should self-host n8n?

n8n's docs say self-hosting requires technical knowledge (servers, containers, resources, security), recommend it for expert users, and point less experienced users to n8n Cloud[3]. If that's you, pick a plan from best VPS for n8n.

Other self-hosted workflow automation tools

awesome-selfhosted describes n8n as: "Free node based Workflow Automation Tool. Easily automate tasks across different services."[5]. If you are comparing self-hosted workflow automation software, our automation directory lists the other projects in that category with license, GitHub stars and last update (data from awesome-selfhosted, CC BY-SA 3.0).

FAQ

What are the minimum requirements for n8n?
n8n's sizing example lists 320 MB to 2 GB of memory and 512 MB to 4 GB of SSD storage for the database, with SQLite or PostgreSQL.
Where does n8n store its data by default?
In a SQLite database at ~/.n8n/database.sqlite, according to the n8n database documentation.
How much RAM does an idle n8n instance use?
About 100 MB for an idle n8n Cloud instance, according to n8n. Your workflows and the data they process decide how much more you need.
Is MySQL supported for n8n?
MySQL and MariaDB support was deprecated in n8n 1.0. Use SQLite or PostgreSQL.
When were the figures on this page last checked?
The requirements and plan prices were checked against the official sources linked on this page on 21 October 2026. Provider prices exclude VAT and can change, so confirm on the linked page before buying.

Sources (checked October 2026)

  1. n8n docs: Prerequisites (sizing example) — https://docs.n8n.io/deploy/host-n8n/deploy-as-an-oem-integration/prerequisites
  2. n8n docs: Choose n8n's database — https://docs.n8n.io/deploy/host-n8n/configure-n8n/choose-n8ns-database
  3. n8n docs: Install with Docker — https://docs.n8n.io/deploy/host-n8n/install-options/install-with-docker
  4. n8n-hosting: docker-compose withPostgres — https://raw.githubusercontent.com/n8n-io/n8n-hosting/main/docker-compose/withPostgres/docker-compose.yml
  5. awesome-selfhosted-data (CC BY-SA 3.0) — https://github.com/awesome-selfhosted/awesome-selfhosted-data
  6. n8n docs: Fix memory issues — https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/fix-memory-issues