Official minimum
- Raspberry Pi 4 or Raspberry Pi 5 with at least 2 GB RAM,
- the correct power supply for that model,
- a microSD card of at least 32 GB, preferably A2,
- a microSD card reader,
- an Ethernet cable,
- a Windows, macOS or Linux computer.
This guide takes you from choosing the hardware and writing Home Assistant OS to a microSD card through first login, basic security and your first backup. It covers Raspberry Pi 4 and Raspberry Pi 5 used primarily as a Home Assistant server.
Home Assistant OS is written directly to the card. Do not install Raspberry Pi OS first and do not use apt commands. Writing the image erases everything already stored on the selected device. This guide covers Home Assistant OS, not an installation in Docker or on Raspberry Pi OS.
A Raspberry Pi 4 or 5 is a sensible starting point and is sufficient for many normal installations. If you already own either model, you do not need to buy an expensive server before you begin.
A larger system with many apps, a substantial database, monitoring or extra services may eventually justify a mini PC. Raspberry Pi is not the best platform for everyone, but it is a straightforward, officially supported route into Home Assistant.
4 GB is not the official minimum. It is a practical recommendation that leaves room to expand.
The simplest official starting procedure uses a microSD card. A good A2 card is enough to get started. There is no honest universal lifespan figure: card quality, power stability and write activity all matter.
Faster, more durable storage may be worthwhile in a system that runs continuously and writes a lot of data. An SSD can be a sensible upgrade, but it requires compatible hardware and configuration. This main procedure uses microSD to keep a first installation uncomplicated.
Warning: the selected storage device will be erased. Check its name and capacity before writing.
Raspberry Pi OS account, SSH and Raspberry Pi OS customisation options are not part of HAOS. Do not configure an operating-system account that will not exist. If Imager does not work, obtain the current image from the official Home Assistant installation page and use a compatible writer such as Balena Etcher. Do not rely on a fixed release link.
The first boot prepares and downloads required components. Its duration depends on the Pi, card and network, so do not expect a fixed time or cut the power merely because the preparation screen remains visible.
On a computer or phone connected to the same network, try these addresses in order:
http://homeassistant.local:8123http://homeassistant:8123http://192.168.x.x:8123 after replacing the example with the Pi’s IP address.Find the IP address in your router’s DHCP client or connected-device list. It is the local address assigned to the Pi. Use http:// for the initial local connection; https:// becomes available only after you configure encryption or a secure remote service.
homeassistant.local does not openCheck power and LEDs, both Ethernet ends, internet access and whether your computer is on the same network. Try homeassistant:8123 and the IP from your router. If the Pi is absent from DHCP, rewrite the image, try another card and finally connect an HDMI display to read boot messages.
Check the power supply, whether the image matches Pi 4 or Pi 5, and whether storage verification passed. Rewrite the card and make sure you did not choose an image for another model.
Do not immediately disconnect power. The first boot needs internet access. Check DHCP, DNS, internet access and time synchronisation. If it still does not respond, locate its IP and follow the official troubleshooting guide.
Update Raspberry Pi Imager and check the specific-purpose OS category again. Alternatively, download the current official HAOS image and use a compatible writing tool.
A useful order is: installation → integrations → dashboard → automations → regular backups → Zigbee expansion.
Yes. It is a sensible platform for many normal installations when paired with the correct power supply, good storage and at least 2 GB RAM.
Pi 5 provides more performance headroom but needs appropriate power and cooling. If you already own a Pi 4, it is usually worth starting with it.
The official minimum is 2 GB. HA Expert’s practical recommendation for a typical growing system is 4 GB; this is not an official requirement.
Yes, but the official initial procedure recommends Ethernet. A wired connection is also easier to troubleshoot.
No. microSD is the simplest first-installation route. An SSD can be a later upgrade after checking hardware compatibility.
No. Write Home Assistant OS directly to the card; Raspberry Pi OS and apt commands are not required.
homeassistant.local does not work?Try homeassistant:8123 or the IP shown in your router’s DHCP list, and verify Ethernet connectivity.
Yes. Home Assistant can restore a backup during onboarding on another device. Keep both the backup and its emergency kit.
It can be when properly configured. Beginners should not simply forward port 8123; Home Assistant Cloud or a correctly configured VPN is the safer route.
If Home Assistant starts but you are stuck on integrations, networking, automations, Zigbee or the next configuration step, describe the problem. I will first check whether I can genuinely help and suggest an appropriate scope.
Contact me.The initial assessment of your request is free and without obligation. → click hereThis guide was checked on 11 August 2026 against current official resources: