Installing Home Assistant

Which Raspberry Pi do I need to run Home Assistant?

Get a Raspberry Pi 5 with 4 GB or more of RAM for Home Assistant. Compare the Pi 4, the Pi 5 with 8 GB and the models to skip, with storage and power tips.

On this page
  1. Short answer
  2. Which model to pick
  3. How much RAM do you need?
  4. Storage: microSD or SSD?
  5. Power and cooling
  6. Should you buy a mini PC instead?
  7. Next steps

Short answer

Get a Raspberry Pi 5 with 4 GB of RAM. It’s the best choice for most new builds. Choose the 8 GB Pi 5 for heavier setups with many add-ons or camera processing. A Raspberry Pi 4 with 4 GB is a solid, cheaper option for a typical home. Skip the Raspberry Pi 3, the Pi Zero 2 W and the Pi 2.

Which model to pick

Model Verdict
Raspberry Pi 5, 4 GB Best choice for most people. Fast enough for typical automations and add-ons.
Raspberry Pi 5, 8 GB For many add-ons, camera processing, local voice or heavy use.
Raspberry Pi 4, 4 GB Budget pick for basic to moderate setups.
Raspberry Pi 4 or 5, 2 GB Runs a basic setup, but leaves little room for add-ons.
Raspberry Pi 3 B or 3 B+ (1 GB) Too little memory for a main hub. Not recommended for new builds.
Raspberry Pi Zero 2 W or Raspberry Pi 2 Not suitable. Too slow and short on memory.

How much RAM do you need?

  • 2 GB is the practical minimum.
  • 4 GB is enough for a typical home with several add-ons.
  • 8 GB helps once you run many add-ons or heavy workloads.

Beyond 4 GB, extra memory mainly helps with many add-ons. It won’t make a simple setup faster.

Storage: microSD or SSD?

Use an SSD if you can. Home Assistant writes to its database constantly, and microSD cards wear out under that kind of write load. If you use a microSD card, choose a 32 GB or larger card with an A2 rating, and keep backups off the card.

A Pi 5 can boot from an NVMe drive with the M.2 HAT+. A Pi 4 can boot from a USB 3 SSD, but it needs a bootloader from late 2020 or newer.

Power and cooling

  • Pi 5: use the official 27 W USB-C supply (5 V, 5 A).
  • Pi 4: use the official 15 W USB-C supply (5.1 V, 3 A).
  • Both: an underpowered supply causes random crashes and storage corruption. A phone charger often isn’t enough for a Pi 5.
  • Pi 5 cooling: the Pi 5 runs warm under load. Use the official Active Cooler or a ventilated case.

Should you buy a mini PC instead?

Maybe. A Pi 5 kit with a power supply, a case, a cooler and an SSD can cost close to a small mini PC. Many users choose the mini PC for more performance and storage per dollar. A Pi is still a good choice when you want low cost, low power and a small footprint.

Pi prices have moved over the past year, so compare current prices before you buy.

Next steps

The complete guide to installing home assistant

How to Install Home Assistant: Every Self-Hosted Method Compared
Read the guide

Keep exploring

Guides from other topics

All topics →