Self-hosting guide · Checked on Oct 27, 2026

n8n server requirements: what it used on my test install, and the server I’d buy

n8n’s docs give a plan name and not much else, so on Oct 27, 2026 I installed n8n 2.44.7 on a Linux test machine and measured it. Memory numbers are what ps reported for the two n8n processes. Server prices are from DigitalOcean’s Droplet page, read the same night. For the plan prices of n8n Cloud, see my n8n pricing guide.

Disclosure: there are no affiliate links on this page. We’ve applied to n8n’s affiliate program, but it isn’t approved, and DigitalOcean doesn’t pay us. How we make money.

The short version

Memory I measured

n8n 2.44.7, installed from npm, Node 24.22.1, default SQLite database, internal task runner. The test workflow was a Webhook trigger into one Code node that builds N rows, adds them up and returns a single summary item. I sampled memory every 0.2 seconds while each request ran.

Measured memory use of n8n 2.44.7: 524 MB idle on a fresh install, 561 MB idle after test runs, and 568, 613 and 735 MB peaks for Code steps of 10,000, 100,000 and 300,000 rows Idle, fresh install 524 MB Idle, after test runs 561 MB Code step, 10,000 rows 568 MB Code step, 100,000 rows 613 MB Code step, 300,000 rows 735 MB 1 GB
Dark: idle. Red: peak while one request ran. Main process plus task runner, from ps RSS, 1 MB = 1,024 KB. Measured Oct 27, 2026. The dashed line is a whole 1 GB server.

Two things stood out. First, the floor is high: before a single workflow runs, n8n already takes more than half a gigabyte. The main process was about 412 MB of that and the task runner about 112 MB. Second, it grows slowly with plain JSON. Going from 10,000 to 300,000 rows inside one Code step added only about 170 MB.

What this test doesn’t cover: binary files (PDFs, images), workflows that pass hundreds of thousands of items from node to node, and manual runs in the editor, which n8n’s memory docs say use more because a copy of the data goes to your browser. Those are the cases that run servers out of memory, so leave headroom.

Which server to buy

DigitalOcean Basic DropletPriceFor n8n
1 vCPU · 1 GiB · 25 GiB$6/moToo tight for me. n8n alone sat at 524–561 MB idle, leaving little for the OS, Docker and any spike. I did not test it.
1 vCPU · 2 GiB · 50 GiB$12/moMy pick for a small team on SQLite. Roomy enough for the 735 MB peak I saw.
2 vCPU · 2 GiB · 60 GiB$18/moSame memory, second core. Worth it if many workflows fire at once.
2 vCPU · 4 GiB · 80 GiB$24/moPostgres on the same box, n8n Assistant (n8n asks for 4 GB), or heavy Code steps.

Prices from digitalocean.com/pricing/droplets, read Oct 27, 2026, US dollars. Weekly backups add 20% of the Droplet price. A domain name is extra. n8n’s Hetzner guide names the 2 vCPU / 2 GB CPX11 as enough for most usage and asks for at least 4 GB / 2 vCPU with n8n Assistant, because Assistant adds a sandbox.

My take: 2 GiB is the sweet spot. You get the 735 MB peak I measured with over a gigabyte to spare, and $12 is a little over half of n8n Cloud Starter ($20/mo billed annually). If your workflows are small and Starter’s limits fit, though, the $8 difference won’t pay for the hours you’ll spend on updates.

Disk, install and first start

  • Docker image: n8nio/n8n:2.44.7 is 280 MB compressed for amd64 and 279 MB for arm64 (Docker Hub, read Oct 27, 2026). This is the install n8n recommends.
  • npm install: 2,344 packages, 3.1 GB in node_modules, and 155 seconds on my machine. It also needed a C++ compiler and Python’s setuptools to build one native module (isolated-vm), which a bare VPS won’t have.
  • First start: about 4 minutes, spent running 301 database migrations on a new SQLite file. Later restarts were ready in about 6 seconds.
  • Database size: 2.5 MB after the migrations and my few test runs. It grows with saved executions. n8n prunes them by default after 14 days or 10,000 executions, whichever comes first (execution data docs).

Two snags I hit that the docs don’t warn about. The npm docs say n8n needs Node 20.19 to 24.x, but 2.44.7 refused to start on Node 22 and asked for 24 or newer. And on start it printed that running n8n outside a container is deprecated and that future versions will require the official Docker image. The npm page also says npm installs are deprecated from n8n 3.0. So use Docker, even though I tested the npm build here.

SQLite or Postgres?

Self-hosted n8n uses SQLite by default, and so do n8n Cloud’s Starter and Pro plans, per its database docs; Postgres is only on the Enterprise scaling plans. For one small team, SQLite is fine and costs no extra memory. If you want Postgres anyway (n8n supports 16, 17 and 18), I’d move to the 4 GiB server rather than squeeze it into 2 GiB. I didn’t measure Postgres alongside n8n, so that’s caution, not a number.

Not sure which host to put it on? I compared Hetzner, DigitalOcean and Vultr at 2, 4 and 8 GB.

Honest limits of this test

  • My test machine has 8 cores, so the run times above are faster than you’ll see on a 1 vCPU Droplet. Memory doesn’t depend on core count in the same way, but I didn’t verify on a small VPS.
  • I measured the npm build, not the Docker image. The app inside is the same version, but the container adds its own small overhead.
  • One synthetic workflow is not your workflows. If yours move files or big API responses, test with your own data and watch memory for a week before you size down.

FAQ

How much RAM does n8n need?

In my test on Oct 27, 2026, n8n 2.44.7 used about 524 MB idle right after install (the main process plus its JavaScript task runner) and peaked around 735 MB while a Code step built 300,000 rows. A 2 GB server covers that with room for the OS. n8n’s own Hetzner guide says a 2 vCPU / 2 GB CPX11 is enough for most usage, and to use at least 4 GB if you add n8n Assistant.

Can n8n run on a 1 GB VPS?

I wouldn’t. n8n by itself sat between 524 and 561 MB idle in my test, before Docker, the operating system or a reverse proxy. It may start, but one big workflow can push it out of memory. I did not test a 1 GB server, so treat that as my judgment.

What does it cost to self-host n8n?

The Community edition has no license fee. The server is the bill: on DigitalOcean (prices read Oct 27, 2026) a 2 GiB Droplet is $12 a month and a 4 GiB one is $24, plus 20% if you turn on weekly backups.

Which Node.js version does n8n need?

n8n’s npm docs say Node 20.19 to 24.x, but the n8n 2.44.7 package I installed refused to start on Node 22 and asked for Node 24 or newer. If you use the official Docker image, Node is already inside it.

n8n on SelfHost Office

  • n8n 213,058 stars NOASSERTION license Last push Dec 4, 2026

Star counts from the GitHub API, fetched Dec 4, 2026.