Future TechnologyFuture Technology
How-to

How to set up a Raspberry Pi home server in 2026

· 6 min read · By Future Technology

Key takeaways

  • An 8GB Raspberry Pi 5 with an NVMe SSD is the sweet spot for a 24/7 home server, and the whole build lands around 150 to 200 pounds or the local equivalent
  • Skip the microSD card as your main drive, boot from an M.2 SSD instead and the whole thing stops feeling sluggish
  • Raspberry Pi OS Lite plus Docker is the setup that ages well, no desktop, everything in containers you can rebuild in minutes
  • Pi-hole, Nextcloud and Home Assistant are the three apps that make people wonder why they ever paid for the cloud version

This article contains affiliate links. We may earn a small commission if you make a purchase, at no extra cost to you.

Last updated: July 2026

A Raspberry Pi 5 sitting in a drawer draws about 5 to 7 watts. Leave it running all year and it costs you a few pounds in electricity. In return you can block ads for every device in the house, run your own cloud storage, and control your smart home without a single byte leaving the building. That is the pitch for a Raspberry Pi home server, and in 2026 it is easier to pull off than it has ever been.

This guide walks through the whole thing. What to buy, what to flash, and the first three apps worth running. No prior Linux experience assumed. If you can plug in an Ethernet cable and copy-paste a command, you can do this.

What you actually need to buy

The temptation is to buy the cheapest Pi and a microSD card and call it a day. Do not. A home server runs constantly and writes to its drive all day, and cheap microSD cards die under that load. Spend a little more up front and you will not touch the hardware again for years.

Here is the shopping list for a build that will comfortably run several services at once.

The board: Raspberry Pi 5, 8GB

The 8GB model is the one to get. It gives you enough headroom to run a handful of containers without swapping to disk. There is a 16GB version now too, but unless you are planning something heavy like a media transcoding server, 8GB is plenty. Prices have crept up through 2026 because of a wider memory shortage, so expect to pay more than the launch price and check the live cost before you commit.

Check price on Amazon →

The Pi 5 runs a quad-core Arm Cortex-A76 at 2.4GHz, which is roughly two to three times quicker than the Pi 4. If you want to understand why Arm chips like this sip so little power compared to the x86 processor in a typical mini PC, we broke that down in our Arm vs x86 vs RISC-V explainer.

The drive: an NVMe SSD, not a microSD card

This is the upgrade that matters most. The Pi 5 has a PCIe lane, and with an M.2 HAT+ you can bolt a proper NVMe SSD underneath the board. Boot from that instead of a microSD card and the whole server stops feeling like a hobby toy. Read and write speeds jump, and you lose the constant worry about a card wearing out.

Check price on Amazon →

You still want a small microSD card for the very first boot, but you will move the system onto the SSD shortly after.

Check price on Amazon →

Power, cooling, and a cable

The Pi 5 is fussier about power than older models. It wants the official 5V/5A USB-C supply to run peripherals at full draw, and skimping here causes random reboots that will drive you slowly mad. Get the real one.

Check price on Amazon →

The Pi 5 also runs warmer than its predecessors, so an active cooler or a case with a built-in fan is not optional for a machine that stays on around the clock.

Check price on Amazon →

Finally, run it on wired Ethernet rather than Wi-Fi. A home server should be predictable, and a cheap Cat6 cable removes a whole category of flaky problems.

Check price on Amazon →

All in, this build lands somewhere around 150 to 200 pounds, or the equivalent in your region. Prices vary a lot by country and by how the memory market is behaving that week, so treat that as a ballpark, not a promise.

Flashing the operating system

With the parts in hand, the software side is quick. Download Raspberry Pi Imager onto your main computer, which is the official tool for writing an OS to your card or SSD.

Choose Raspberry Pi OS Lite (64-bit). The "Lite" matters. It has no desktop environment, which means it wastes no RAM or CPU drawing a screen you will never look at. A home server lives headless, controlled entirely from another machine.

Before you write the image, click the settings cog in Imager and do three things that save you a lot of pain later: set a hostname so you can find the Pi on your network by name, enable SSH so you can log in remotely, and set a username and password. If you want, drop in your Wi-Fi details as a backup even though you will use Ethernet.

Write the image, put the card in the Pi, connect Ethernet and power, and give it a minute. Then from your main computer, open a terminal and connect:

ssh [email protected]

You are now logged into your server. The first thing to run, always, is an update:

sudo apt update && sudo apt full-upgrade -y

Installing Docker, the smart way to run everything

You could install each app the old-fashioned way, editing config files by hand and hoping nothing conflicts. Do not. Use Docker instead. Docker runs each app in its own isolated container, so nothing steps on anything else, and if an app breaks you delete the container and start fresh in seconds.

Install it with the official convenience script:

curl -sSL https://get.docker.com | sh

Then add your user to the Docker group so you do not have to type sudo every time:

sudo usermod -aG docker $USER

Log out and back in, and Docker is ready. From here, adding a new self-hosted app is usually a matter of pasting a short block of configuration and running one command. If you would rather avoid the command line entirely, a browser-based manager like CasaOS or Umbrel gives you an app-store style dashboard on top of Docker, though learning the raw commands first will serve you better in the long run.

The first three apps worth running

You do not need a rack of services to feel the payoff. These three are the ones that make people wonder why they ever paid for the cloud version.

Pi-hole, for network-wide ad blocking

Pi-hole is a DNS server that quietly refuses to look up the addresses of ad servers and trackers. Point your router at it, and every device in the house gets ad blocking with nothing installed on any of them. Phones, smart TVs, guests' laptops, all of it. It is the single most satisfying thing to set up first because the effect is instant and visible everywhere.

Nextcloud, for your own cloud storage

Nextcloud is a self-hosted replacement for the likes of Dropbox and Google Drive. Files, calendar, contacts, photo backup from your phone, all living on your SSD instead of a company's data centre. On an 8GB Pi 5 with an NVMe drive it is genuinely usable rather than a science project. If the goal is getting your data out of other people's hands, it pairs well with our guide to the wider self-hosted assistant movement.

Home Assistant, for a private smart home

Home Assistant is the best thing you can do for smart-home privacy. It pulls thousands of devices and services into one local dashboard, and crucially it keeps the automations running on your own hardware rather than depending on a cloud that might vanish or start charging a subscription. It is the app people most often say turned their Pi from a toy into something the whole household relies on.

Keeping it running

A home server is not quite fit and forget, but close. Set your containers to restart automatically, run that apt full-upgrade command every few weeks, and back up your Nextcloud data and Docker configs to a second drive or another machine. Because everything lives in Docker, rebuilding after a failure is a matter of restoring a few files and re-running your setup commands, not starting from scratch.

That is the quiet joy of this project. Once it is up, it just sits there doing its job, costing pennies, owned entirely by you.

Frequently asked questions

Is a Raspberry Pi 5 powerful enough for a home server?

For the classic self-hosting stack, yes, comfortably. An 8GB Pi 5 will run Pi-hole, Nextcloud, Home Assistant and a few smaller services at once without complaint. Where it struggles is heavy media transcoding, for example a Jellyfin or Plex server converting 4K video on the fly for several people at once. For that, a mini PC with a proper GPU is a better fit. For everything else, the Pi wins on power draw and price.

Do I need to buy a Pi 5, or will a Pi 4 do?

A Pi 4 with 8GB still runs a lightweight stack perfectly well and costs less. The Pi 5 is worth the extra mainly for the PCIe lane, which lets you boot from a fast NVMe SSD, and for the roughly two to three times faster processor. If you already own a Pi 4, start with that and upgrade only when you feel the ceiling.

Can I access my home server from outside the house?

Yes, and the safe way to do it in 2026 is a mesh VPN like Tailscale rather than opening ports on your router. It puts your phone and your Pi on the same private network no matter where you are, so you reach Nextcloud or Home Assistant from anywhere without exposing anything to the open internet.

How much does it cost to run all year?

Very little. At 5 to 7 watts of continuous draw, a Pi 5 home server uses a handful of kilowatt-hours a month. Depending on your local electricity price that is roughly a few pounds a year, far less than a single month of most cloud subscriptions it replaces.

Want more hardware guides like this? Our roundups of the best budget 4K monitors in 2026 and the best budget wireless earbuds in 2026 take the same honest, no-hype approach to spending your money well.

Read next

Get the briefing, free

The biggest tech story, explained in 3 minutes every weekday. Choose your briefings →

Free. No spam. Unsubscribe in one click.