n8n hosting requirements (from the official docs)

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

Last checked: · Every spec and price below links to its source.

Summary

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[1]Apache-2.0, Commons-Clause[2][3][4][5]

Memory

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

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

CPU

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

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[6]. If that's you, pick a plan from best VPS for n8n.

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.
Is MySQL supported for n8n?
MySQL and MariaDB support was deprecated in n8n 1.0. Use SQLite or PostgreSQL.

Sources (checked October 2026)

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