A home NAS is a small always-on computer with several drives that shares files over your network. To build one, pick a computer with enough SATA ports, install a NAS operating system on a separate boot drive, group the data drives into a redundant array, and share folders over the network. Planning the drives and capacity first saves the most trouble later.

This guide follows the order you would work in: parts and drive planning, a software comparison, capacity math with a worked example, step-by-step assembly, and a verification checklist. It is based on published specifications, manufacturer documentation and buyer reviews, and it assumes a basic comfort with opening a PC case. If you would rather skip the build, our roundup of the best NAS options for home use covers ready-made boxes.

Decide What the NAS Must Do

Start with the job list, since it sets the hardware. A NAS that only stores documents and photos and serves a backup of laptops needs little. A NAS that streams video to several rooms, runs a media server, hosts containers or backs up many devices at once needs more CPU and memory. Write down the number of users, the data size you hold today, how fast you expect it to grow, and whether you need remote access from outside your home.

Use case CPU and RAM need Drive layout Network
File shares and laptop backups Low-power CPU, a few GB of RAM 2 drives mirrored Gigabit
Media server, direct play Modest CPU, 4 to 8GB of RAM 3 to 4 drives Gigabit
Media server with transcoding Stronger CPU or a supported media engine 3 to 4 drives Gigabit or 2.5GbE
Containers and virtual machines More cores and 16GB or more of RAM Drives plus an SSD for apps 2.5GbE helps
Photo editing from the NAS Moderate Array plus an SSD cache or pool 2.5GbE or faster

Hardware and Drive Planning

You can build a NAS from a spare desktop or from new parts. A used office PC works well as a first attempt, as long as it has a few free SATA ports, a power supply with enough SATA power connectors, and a case with room or mounting points for the drives. New builds favor a case with several 3.5-inch bays and good airflow, because hard drives dislike heat.

  • CPU: low-power models are fine for file serving. Pick a stronger chip only if you plan on transcoding video or running virtual machines.
  • RAM: a few GB suffices for simple sharing; ZFS-based software generally benefits from more. Check the project’s stated needs.
  • Boot drive: a small SSD keeps the operating system apart from your data. Some NAS software supports a mirrored pair of boot drives.
  • Data drives: use drives rated for continuous operation, and look at the maker’s note on recording technology. Shingled drives can slow down with heavy writes and during rebuilds.
  • Ports: count SATA ports on the board. If you need more than it provides, read what an HBA card and IT mode are before buying an add-in card.
  • Power supply: choose a unit from a reputable maker with enough connectors. Spin-up draw for several drives at once is higher than idle draw, and some boards support staggered spin-up.
  • Network: Gigabit Ethernet tops out near 110 MB/s in real use, which is a ceiling for one hard drive. A 2.5GbE port gives more room for an array or SSD cache.

Operating System Options

The software decides how you manage drives, share files and add apps. The following summary is general and hedged; always read each project’s current documentation before committing.

Option Storage approach Strengths Watch out for
TrueNAS ZFS pools with checksums and snapshots Data integrity features, mature sharing support Prefers more RAM; adding drives to a pool follows ZFS rules
Unraid Parity array that accepts mixed drive sizes Flexible growth, simple app support Paid license; parity array handles writes differently from a stripe
OpenMediaVault Standard Linux filesystems and software RAID Free and light, suits older hardware More manual setup on advanced features
Plain Linux with Samba Whatever you configure Total control You maintain every part; best for experienced users
Windows with shared folders and Storage Spaces Pooled drives Familiar tools Always-on power use and update reboots

If you are unsure, choose by how you want to expand. Same-size drives bought together suit ZFS-style pools. A mixed pile of old drives that you will grow one at a time suits a parity system that accepts different sizes.

Capacity Planning and a Worked Example

Usable space depends on the redundancy you choose. With one drive of redundancy in an array of n drives, usable capacity is roughly (n minus 1) times the drive size. With two drives of redundancy it is (n minus 2) times the size. A mirror of two drives yields the capacity of one. Drive makers count in decimal terabytes while operating systems often report in binary units, which makes a drive appear about 9% smaller than its label.

Layout Drives Redundancy Usable share of raw space
Mirror 2 1 drive may fail 50%
Single-parity, such as RAID 5 or equivalents 4 1 drive may fail 75%
Double-parity, such as RAID 6 or equivalents 4 2 drives may fail 50%
Double-parity 6 2 drives may fail About 67%

Assume a household holds 6 TB of data today, grows about 1.5 TB per year, and wants a five-year horizon with 20% free space. Five years of growth adds 7.5 TB, so the need is 13.5 TB. Dividing by 0.8 for free space gives about 16.9 TB. Convert from binary to decimal by dividing by 0.909, which gives roughly 18.6 TB of usable decimal capacity. With four drives and single parity, usable space is three drives, so each drive needs to be about 6.2 TB; in practice that means 8 TB drives with room to spare. With a two-drive mirror you would need one drive of 18.6 TB or larger, which is why a larger bay count is more economical. These figures are planning assumptions, not measurements; use your own totals.

Step-by-Step Build

  1. Back up everything on the donor PC if you are reusing one. Unplug it from the wall before opening the case.
  2. Install the CPU, RAM and boot drive if you are building from new parts, following the board manual.
  3. Mount the data drives in the bays with all screws or rails fitted, leaving gaps for airflow where possible.
  4. Connect SATA data cables and power connectors. Label cables so you can find a failed drive later.
  5. Enter the firmware setup. Confirm all drives are detected, enable AHCI mode, and set the machine to power on after a power loss.
  6. Create installation media for your chosen NAS software, install it to the boot drive, and boot into the web management page from another computer.
  7. Create the array or pool, then create datasets or folders and set permissions for each user instead of sharing everything with everyone.
  8. Enable SMART monitoring and email or app notifications so you hear about a failing drive.
  9. Reserve a fixed address for the NAS on your router, then mount the shares on your computers.
  10. Set up snapshots or scheduled backups, plus an external or off-site copy for what matters most.

Post-Build Verification Checklist

  • Copy a large file to the share and watch the transfer rate. If it stalls near 110 MB/s, that is the Gigabit ceiling, not a fault.
  • Check the array status page for a healthy state, with no degraded or resilvering messages.
  • Read the SMART summary for every drive and note the baseline.
  • Pull the network cable briefly while a transfer runs to confirm it recovers cleanly.
  • Restore one file from a snapshot or backup to prove the backup works.
  • Check temperatures after a long copy; hard drives generally should stay in a modest range as listed by their data sheet.
  • Write the recovery steps on paper: where the configuration backup is, and which drive sits in which bay.

Safety and When to Stop

Always power down and unplug the machine before connecting drives or cables. Do not open a power supply; it can hold charge after it is switched off. If you are unsure about wiring or mains power, ask a qualified person to help. Follow the manufacturer’s instructions for every component.

Stop and ask for support if the array reports a degraded state, if more than one drive shows errors at once, or if the system will not boot after a power failure. Do not rebuild or initialize anything until you have identified which drive failed, since a wrong click can erase data. When a drive is under warranty, run the vendor diagnostic before returning it. If the project you chose has a community forum, post the status output rather than guessing.

A ZFS pool or parity array protects against disk failure, not against mistakes. Keep a second copy elsewhere, and check that it restores.

Frequently Asked Questions

What do I need to build a home NAS?

You need a small computer with a reliable power supply, a motherboard with enough SATA ports, a modest CPU, a few GB of RAM, a boot drive, two or more data drives, a network cable and NAS software. A spare desktop is enough to start. Gigabit Ethernet suits most homes, and the drive plan matters more than CPU speed.

Is RAID the same as a backup?

No. RAID keeps the array running if a drive fails, but it does not protect against deletion, ransomware, a power surge, theft or a fire. Keep a separate backup on another device and ideally another location. Treat the NAS as primary storage and a second copy as the safety net.

How much RAM does a home NAS need?

Basic file sharing with a lightweight system runs on a few gigabytes. Systems using ZFS usually want more, with 8GB a common starting point, and extra for containers or virtual machines. Check the documentation of your chosen software for its stated minimums rather than relying on a rule of thumb.

Should I build a NAS or buy a ready-made one?

Buying suits people who want a small, quiet, low-power box with polished software and support. Building suits people who want more drive bays, better hardware choice, flexible software or to reuse parts. Building takes more setup and maintenance, so decide how much time you want to spend.

Can I use any hard drive in a NAS?

Technically yes, but drives made for NAS use are designed for always-on operation and multi-drive vibration. Check whether a model uses shingled recording, which can slow rebuilds and heavy writes, and read the maker’s guidance for use in arrays. Mixing a few trusted models is fine, but plan to replace drives before they age too far.

Related guides

Browse all Reviews guides →