How to Run n8n on Raspberry Pi UK 2025

This page contains affiliate links. I may earn a small commission at no extra cost to you.

n8n is one of the most powerful open-source workflow automation tools available, and running it on a Raspberry Pi 5 gives you a always-on, low-power automation server for just a few pence a day in electricity. Whether you want to automate RSS feeds, sync data between services, trigger home automations, or build your own AI pipelines, a self-hosted n8n instance on a Pi is a remarkably capable setup. This guide covers exactly what hardware you need to buy in the UK in 2025, how to set it up, and how to keep it running reliably.

Quick Picks: Raspberry Pi 5 n8n Build Kit UK 2025

ProductPriceBest For
Raspberry Pi 5 4GB~£55The core compute unit
Raspberry Pi 5 Official Case~£9Clean, protected build
SanDisk Extreme 64GB microSD~£12Reliable OS storage
Raspberry Pi 27W USB-C Power Supply~£12Stable, official power
GeeekPi M.2 NVMe HAT for Pi 5~£19Fast, durable SSD boot

Hardware Reviews

1. Raspberry Pi 5 4GB (~£55)

The Raspberry Pi 5 is a significant leap over its predecessors. The quad-core Cortex-A76 CPU is roughly two to three times faster than the Pi 4, which means n8n - a Node.js application - runs with noticeably snappier response times, especially when executing complex multi-step workflows. The 4GB RAM model is the sweet spot for n8n; 2GB can feel tight when running additional Docker containers alongside it, while 8GB is probably overkill unless you are running a full home lab stack. Availability has improved significantly and you can now buy directly from approved UK resellers without the stock anxiety of 2022 and 2023.

Buy on Amazon UK

2. Raspberry Pi 5 Official Case (~£9)

The official Raspberry Pi 5 case is worth buying for one reason: active cooling. The case ships with a small fan and heatsink that mount directly over the CPU, keeping temperatures in check even during sustained workflow execution. The previous official cases were passive-only, which could cause thermal throttling during heavy loads. At under £10 it is by far the simplest and most reliable cooling solution for most users. The red and white finish is unmistakably Pi, and the build quality is solid. Third-party cases exist with better aesthetics, but few match the ease of this official option.

Buy on Amazon UK

3. SanDisk Extreme 64GB microSD (~£12)

For a straightforward setup, a quality microSD is still the easiest way to get n8n running. The SanDisk Extreme series offers consistently high write speeds (up to 90 MB/s) compared to budget cards, which matters when n8n is writing workflow execution logs frequently. A 64GB card gives you ample space for Raspberry Pi OS, Docker, the n8n application, and a healthy amount of workflow history. If you plan to handle large data payloads or want maximum reliability, pair this with the NVMe HAT below for SSD boot instead - but for most users the SanDisk Extreme is all you need.

Buy on Amazon UK

4. Raspberry Pi 27W USB-C Power Supply (~£12)

Do not skimp on the power supply. The Pi 5 draws more current than previous models, and underpowering it - especially with an NVMe HAT attached - causes instability, random reboots, and corrupted storage. The official Raspberry Pi 27W USB-C power supply is specifically designed for the Pi 5, delivers clean, stable power, and eliminates the low-voltage warning icon in the OS. It costs £12 and could save you considerable headaches. Generic USB-C phone chargers often lack the sustained amperage needed; this one does not. Buy the official supply and forget about power issues entirely.

Buy on Amazon UK

5. GeeekPi M.2 NVMe HAT for Pi 5 (~£19)

For a production n8n server that runs 24/7, booting from an NVMe SSD via this HAT is a worthwhile upgrade. The Pi 5 introduces a PCIe connector for exactly this purpose, and the GeeekPi HAT makes it easy to attach a standard M.2 2242 NVMe drive. SSD boot is dramatically faster for OS startup and application launches, and SSDs are far more durable than microSD cards under continuous write loads. At £19 for the HAT (you will need to add an M.2 SSD separately - budget around £15-25 for a 256GB drive) this is excellent value for a reliable, long-running home automation server.

Buy on Amazon UK

How to Install n8n on Raspberry Pi 5

The fastest way to get n8n running is via Docker. After flashing Raspberry Pi OS (64-bit, Lite version recommended for a headless server), install Docker with the official convenience script:

curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER

Then run n8n with persistent data storage:

docker run -d --restart unless-stopped \
  --name n8n \
  -p 5678:5678 \
  -v ~/.n8n:/home/node/.n8n \
  n8nio/n8n

Access n8n at http://your-pi-ip:5678. For HTTPS and a custom domain, add Caddy or Nginx as a reverse proxy. n8n also supports environment variable configuration for email SMTP, external database connections, and webhook base URLs.

Frequently Asked Questions

How much power does a Raspberry Pi 5 running n8n use?

Under typical n8n workloads, a Pi 5 draws around 4-7W. Running 24/7 that works out to roughly 3-5 kWh per month - at UK electricity rates that is about 90p to £1.50 per month. Exceptionally cheap for an always-on automation server.

Can I run other services alongside n8n on a Pi 5?

Yes. The Pi 5 4GB handles n8n plus lightweight services such as Home Assistant, Mosquitto MQTT, or a small PostgreSQL database comfortably. Running everything in Docker containers makes it straightforward to manage and keeps services isolated. Avoid running resource-heavy applications like Plex media server on the same unit.

Should I use the n8n Cloud service instead of self-hosting?

If you do not want to manage infrastructure, n8n Cloud is a great option. Self-hosting on a Pi 5 is best if you want to keep costs low long-term, need to handle sensitive data without it leaving your network, or enjoy the technical challenge of managing your own stack. The hardware cost is recouped within a few months compared to a paid n8n subscription.

Verdict

A Raspberry Pi 5 running n8n is one of the most cost-effective home automation and workflow setups available in 2025. The total hardware cost of around £107 for the full kit gives you a capable, low-power server that pays for itself quickly. Buy the official power supply and case without compromise, and consider the NVMe HAT if you plan to run the server continuously for years.