PiHoleHQ
Isometric single-board computer with USB, HDMI and Ethernet ports cabled to a home router, beside a metal case and microSD card for a Pi-hole setup.
getting-started

Pi-hole Hardware Requirements: RAM, Storage and Pi Models

Pi-hole needs at least 512 MB RAM, 2 GB free disk (4 GB recommended), a static IP and a supported OS. See which ports must be free and which Pi to use.

By PiHoleHQ Editorial · ·Updated · 8 min read

Pi-hole requires 512 MB RAM and 2 GB free disk space, with 4 GB free recommended, plus a maintained supported OS and a stable IP address. You can reuse an always-on PC or Linux VM that meets these requirements; a Raspberry Pi is optional. The Zero 2 W meets the RAM floor. An SSD and Ethernet are optional, too. Source: Pi-hole prerequisites and Zero 2 W specifications.

What the project documents as the minimum

Use this checklist before buying hardware or assigning an existing host. The resource and compatibility requirements come from the official prerequisites; the pass-or-fix column turns them into a selection process.

RequirementEvidence to check on your candidatePass or fix before proceeding
Maintained supported OSDistribution name, release and its maintenance statusMatch the release to Pi-hole’s supported OS list; upgrade an obsolete installation.
Compatible architectureInstalled OS architecture and the available FTL binaryMatch both, rather than relying on the processor’s marketing name. Pick a supported OS image if they do not match.
RAM: 512 MB minimumInstalled memory; available memory with existing services runningBudget separately for the OS and other applications. See the memory section below.
Free disk: 2 GB minimum, 4 GB recommendedFree space after installing the OS and other softwareCheck the filesystem that will hold Pi-hole’s data; expand storage or remove unneeded files if short.
Stable IPRouter reservation or a deliberately assigned static addressKeep the address stable and outside conflicting allocations.
DNS portsHost service list and firewall rulesResolve competing DNS listeners and allow client access to the DNS ports in the table below.
Continuous power and availabilityPower supply, sleep settings, startup policy and maintenance scheduleKeep the host and any VM awake while clients depend on it; plan another resolver for outages.

Supported distributions are Alpine, Armbian, Debian, CentOS Stream, Fedora, Raspberry Pi OS and Ubuntu, using actively maintained releases. Published FTL architecture options include amd64, i686, armv6, armv7, aarch64 and riscv64; other architectures require a source build. Check the linked list again when choosing an OS image.

Continuous availability is an operational requirement: a host that sleeps or shuts down cannot answer clients. A more powerful processor does not solve that problem.

Memory is a blocklist question, not a hardware question

The RAM floor is an eligibility check, not a promise of spare memory for other services. For a shared host, budget for the OS, the other applications at their busy periods, Pi-hole, and some remaining headroom. Do not assign the entire host’s memory to a VM or assume that installed RAM is all available.

There is no universal combined RAM figure for Pi-hole plus a media server, containers or home automation. Write down the other services’ own requirements, inspect their actual memory use, and choose a host that still has capacity when they are busy. For a dedicated board, a configuration above the minimum gives room to adjust lists and history; the board comparison below identifies such options without predicting their workload capacity.

Pi-hole’s query database documentation distinguishes long-term SQLite history from the recent history imported into memory. database.maxDBdays controls disk retention; keeping more history on disk does not mean all of it is loaded into RAM. Treat blocklist size and query activity as planning variables, then inspect memory use after setup before adding more services.

Is an SSD mandatory? Separate free space from capacity

No. Pi-hole specifies free space, not a required storage technology. A microSD-based Pi can qualify. The capacity printed on a card or drive must also accommodate the OS, updates, other applications and Pi-hole data; it is not the amount left free after those are installed.

The database documentation describes periodic writes of query history and a retention setting that limits its growth. That establishes a storage workload, not a failure rate or a guaranteed card lifespan. An SSD is an optional storage choice, and it can fail too. Choose storage compatible with the board, leave expansion room for your retention needs, and keep a recoverable configuration backup rather than treating any medium as permanent.

Addressing, ports and network position

Keep the host’s address stable; a router DHCP reservation is acceptable. Check service conflicts before assigning a shared machine to DNS. The documented ports are:

PortProtocolPurpose
53TCP/UDPDNS
67IPv4 UDPDHCP server (optional)
547IPv6 UDPDHCPv6 (optional)
80 / 443TCPWeb interface, served by FTL itself
123UDPNTP server (optional)

If another DNS service occupies the required address and port, resolve that conflict before switching clients. Keep a working DNS path while making changes. For web conflicts, the prerequisites describe fallback ports 8080 and 8443; the FTL webserver configuration allows an explicit webserver.port choice. These are services on the local network, not a reason to forward ports from the internet.

Ethernet is optional. Choose it when practical to avoid depending on wireless coverage for DNS. If using Wi-Fi, check reception where the host will live and account for access-point restarts. More network throughput is not a substitute for a dependable connection.

Before buying, find the router setting that advertises a custom DNS server, or plan to configure clients individually. The official post-install guidance covers those choices. If you need Pi-hole to provide DHCP, follow the Pi-hole DHCP server setup guide rather than enabling it alongside an existing DHCP server without a migration plan.

Which Raspberry Pi or mini PC should you use?

Start with hardware you already own that passes the checklist. For a dedicated purchase, the Zero 2 W is a minimum-spec option; a Pi with more RAM and built-in Ethernet is a convenience choice. These are editorial selection recommendations based on published specifications.

RouteRelevant specification or eligibility checkChoose it when / account for
Reuse a PC, mini PC or thin clientMaintained supported Linux, free resources and available DNS portsIt already stays on. Check sleep settings and whether restarting other applications will interrupt DNS. No particular processor brand is required.
Raspberry Pi Zero 2 W512 MB RAM, 2.4 GHz Wi-Fi, micro USB OTG and microSD slotYou want a dedicated host at the RAM floor. Budget for accessories and avoid assuming headroom for additional services.
Raspberry Pi 3B+1 GB RAM and Ethernet over USB 2.0You already own one and want built-in wired networking with more RAM than the floor.
Raspberry Pi 4, 2 GB configurationGigabit Ethernet and USB 3.0You want a dedicated board with memory headroom and a USB storage option.
Raspberry Pi 5Gigabit Ethernet, USB 3.0 and PCIe requiring an adapterYour other planned services justify its interfaces and resources. Size it for those services as well.
Linux VM on an existing hostGuest OS, allocated memory and disk, stable LAN reachabilityThe physical host stays on. Check that clients can reach the guest and include hypervisor restarts in the outage plan.

Board facts: Raspberry Pi’s Zero 2 W, 3B+, 4 and 5 specifications. Two VMs on the same physical host share its outages; use independent hosts if surviving host maintenance is part of your goal.

Accessory checklist before buying

  • Power: Match the connector and supply requirements to the exact board and any attached peripherals. For a reused PC, confirm that it can remain powered and awake.
  • Storage: Obtain compatible boot storage and a way to prepare it. Check free space after writing the OS; include the enclosure or adapter if choosing external storage.
  • Networking: Use an Ethernet cable and a router/switch port for wired operation, or check Wi-Fi coverage and credentials for wireless operation.
  • Adapters: Check the board’s actual USB connector before ordering an Ethernet adapter. Include any required OTG adapter. If using a local display and keyboard for setup, match their connectors too.
  • Case and cooling: Match them to the board and its manufacturer’s guidance, especially when adding other workloads.

Worked choice: Raspberry Pi Zero 2 W

Suppose you want a dedicated Pi-hole host and already have Wi-Fi at its intended location. The official Zero 2 W specifications give it the documented minimum RAM, a microSD slot, micro USB power and a micro USB OTG data port.

DecisionWhat to obtain or verify
OS and memoryChoose a maintained compatible Raspberry Pi OS image. Keep the initial workload dedicated to Pi-hole and check available memory before adding anything else.
StoragePrepare a compatible microSD card, then check remaining free space against the minimum above. Do not choose card capacity by the Pi-hole free-space number alone.
PowerObtain the board-compatible micro USB power supply; the product page links Raspberry Pi’s recommended supply.
Wi-Fi or EthernetBuilt-in Wi-Fi can serve the host. For wired networking, include a Linux-compatible USB Ethernet adapter, the matching OTG connection and an Ethernet cable.
ReadinessArrange the stable address, check DNS conflicts, and keep the board powered whenever it is the clients’ resolver.

This choice passes the published RAM floor; OS compatibility, remaining disk space and network reachability still need checking on the prepared system. Compare the complete accessory list with a board that already has Ethernet before deciding what to obtain.

Once the host qualifies, use how to set up Pi-hole on Raspberry Pi for installation. For existing filtering problems, use Pi-hole not blocking ads; for encrypted-DNS bypass and blocking limits, see what a Pi-hole DNS sinkhole can and cannot block.

Evidence and limits: Documentary guidance based on the current Pi-hole v6 prerequisites, query database, FTL configuration and post-install documentation, plus Raspberry Pi’s linked board specifications, checked 2026-11-14. We did not run these steps or benchmark the hardware; the selection recommendations are not measured capacity ratings.

Sources

  1. Pi-hole documentation: Prerequisites
  2. Pi-hole documentation: FTL configuration
  3. Pi-hole documentation: Post-install
  4. Pi-hole documentation: Query database
  5. Raspberry Pi Zero 2 W specifications
  6. Raspberry Pi 3 Model B+ specifications
  7. Raspberry Pi 4 Model B specifications
  8. Raspberry Pi 5 specifications

Related