How to Build a Home Server with an Old PC: A Complete Guide
How to build a home server with an old PC is a question with a satisfying answer: that old PC in the closet can become a home server for files, media and backups.
It can store your photos, stream your movies, back up your computers and run your smart home, all without a monthly fee and without sending your data to someone else’s cloud.
The short answer is that you need an old PC or laptop with at least an older i3 or i5 processor, 8GB of RAM, a 120 to 240GB SSD for the system and a 1TB hard drive for data, plus a wired Ethernet connection.
Install OpenMediaVault, TrueNAS or Ubuntu Server, set up the services you want, and secure remote access before you open it to the internet.
This guide covers the hardware minimums, the power cost of running an old PC 24/7, the best software for beginners, the services worth running, and how to secure remote access. It also covers the mistakes that turn a fun project into a security risk or an expensive electricity bill.
Key Takeaways
An old PC or laptop with an older i3 or i5, 8GB of RAM and a 120 to 240GB SSD is enough for a home server.
An old laptop is the best starting point, because it idles at 15 to 30 watts, against 40 to 100 watts for a desktop tower.
Power costs matter: an old tower idling at 60 to 100 watts costs real money over a year, so check the watts before you commit.
OpenMediaVault and TrueNAS are the best beginner-friendly server operating systems, while Ubuntu Server and Debian suit those who want control.
Secure remote access before you open anything to the internet, and never expose a service without a password and encryption.
What a Home Server Actually Does
A home server is a computer in your house that provides services to your other devices. The most common use is network-attached storage, or NAS: a shared folder where every computer in the house can store files, photos and backups.
Instead of paying for cloud storage every month, you store your data on a drive you own.
Media streaming is the second most popular use. Jellyfin is a free media server that streams your movies, TV shows and music to any device in the house, and it works like a private Netflix for the files you already own.
Photo management is a third: Immich backs up your phone photos to your server automatically, with face recognition and search, like Google Photos but private.
Other useful services include Home Assistant for smart home control, AdGuard or Pi-hole for network-wide ad blocking, Syncthing for syncing files between devices, and Docker for running almost any service in a container. You do not need all of them. Start with one, get it working, and add more when you are ready.
Hardware Minimum Checklist
Use this checklist before you start. If your old PC meets these minimums, it will work as a home server. If it does not, it will still work, but slowly, and you will be happier with a different machine.
Component
Minimum
Better
Notes
CPU
Older i3 or i5
i5 or i7, 4 cores
Anything from the last 10 years works
RAM
8GB
16 to 32GB
More RAM helps with many services
System drive
120 to 240GB SSD
500GB SSD
SSD for the OS, not a spinning drive
Data drive
1TB HDD
2 to 4TB, or two drives
Use a NAS-rated drive if you can
Network
Gigabit Ethernet
Gigabit Ethernet
Use a cable, not Wi-Fi
Power
Working PSU
Efficient PSU
Check the idle watts before you commit
An old laptop with a broken screen is ideal for a home server. It is quiet, it uses little power, it has a built-in battery that acts as an uninterruptible power supply, and the broken screen does not matter because you will manage it over the network.
A desktop tower works too, but it uses more power and takes up more space.
The Power Cost: Work It Out Before You Commit
Power consumption is the cost most home server guides never calculate, and it is the one that matters most over time. An old laptop idles at 15 to 30 watts, while a desktop tower idles at 40 to 100 watts, and an older tower can idle at 60 to 100 watts.
At the US average electricity price of about 18 cents per kilowatt-hour, the difference is significant.
Do the maths. A laptop at 20 watts uses about 175 kilowatt-hours a year, which costs about 32 dollars. A tower at 80 watts uses about 700 kilowatt-hours a year, which costs about 126 dollars.
Over three years, the tower costs about 280 dollars more in electricity than the laptop, which is more than the cost of a used laptop.
Measure your own machine before you commit. A plug-in power meter costs about 20 dollars and tells you exactly what your PC draws at idle. If it idles above 60 watts, consider a more efficient machine, or set the server to sleep when it is not needed.
The cheapest server is the one that sips power.
Choosing Your Software
OpenMediaVault 8 is the best choice for most beginners. It is a free, Debian-based NAS operating system with a web interface, and it handles file sharing, user accounts and storage management without the command line. If you want a simple file server that just works, start here.
TrueNAS Community Edition 25.10 is the best choice if you want a serious storage system, with ZFS for data integrity, snapshots and replication.
It needs more RAM, ideally 16GB or more, and it is more complex to set up, but it is the most robust option for a home server that holds irreplaceable photos and documents.
Unraid is a popular paid option, with an easy interface and excellent support for Docker and virtual machines, while CasaOS is the simplest option of all, with a friendly dashboard for beginners. Ubuntu Server and Debian are the choices for those who want full control and are comfortable with the command line.
Proxmox is a hypervisor that lets you run several virtual machines on one PC, which is useful if you want to experiment.
Setting Up: Step by Step
Start by backing up anything on the old PC that you want to keep, then install your chosen operating system from a USB drive. Connect the server to your router with an Ethernet cable, not Wi-Fi, because a server needs a stable connection, and Wi-Fi drops out at the worst times.
Set a static IP address for the server, so its address does not change when the router restarts, and write the address down. Create a shared folder for your files, set up user accounts, and test access from another computer before you add any data.
Then install the services you want, one at a time, starting with file sharing.
Set up automatic backups for the server itself. A server is where copies live, not the only copy, so back up the important data to an external drive or to the cloud as well. A server with no backup is a single point of failure, and a failed drive will take your photos with it.
Securing Remote Access
Remote access security is usually an afterthought in home server guides, and it should not be. If you open your server to the internet, anyone in the world can try to log in, and they will. The rules are simple, but they are not optional.
Never expose a service directly to the internet without a password, and never use a default password. Use a VPN, such as WireGuard or Tailscale, to access your server remotely, instead of opening ports on your router.
A VPN gives you a secure tunnel into your home network, and it means you do not have to expose any service to the internet at all.
Keep the server updated, use strong unique passwords, enable two-factor authentication where it is available, and check the logs occasionally for failed login attempts. If you use Docker, keep your containers updated, and do not run services as root unless you have to.
A home server that is not maintained becomes a liability, not an asset.
Frequently Asked Questions
Can I use an old laptop as a home server?
Yes, and it is often the best choice. An old laptop idles at 15 to 30 watts, against 40 to 100 watts for a desktop tower, it is quiet, and its built-in battery acts as an uninterruptible power supply.
A laptop with a broken screen is ideal, because the screen does not matter when you manage the server over the network.
How much power does a home server use?
It depends on the hardware. An old laptop uses 15 to 30 watts at idle, which costs about 32 dollars a year at the US average of 18 cents per kilowatt-hour. A desktop tower uses 40 to 100 watts at idle, which costs 63 to 158 dollars a year.
Measure your own machine with a plug-in power meter before you commit.
What is the best home server software for beginners?
OpenMediaVault 8 is the best choice for most beginners, with a web interface and simple file sharing. TrueNAS Community Edition is best if you want a serious storage system with ZFS, and CasaOS is the simplest option of all. Ubuntu Server and Debian suit those who are comfortable with the command line.
Do I need a static IP address for a home server?
Yes. Set a static IP address so the server’s address does not change when the router restarts. You can set it on the server itself or reserve the address in your router’s settings. Write the address down, because you will need it to access the server.
Is it safe to access my home server from outside?
Yes, if you do it properly. Use a VPN such as WireGuard or Tailscale, which gives you a secure tunnel into your home network without exposing any service to the internet. Never open ports on your router for a service without a password, and keep the server and its services updated.
What can I run on a home server?
The most useful services are file storage with Samba, media streaming with Jellyfin, photo backup with Immich, smart home control with Home Assistant, file sync with Syncthing, and ad blocking with AdGuard or Pi-hole. Start with one service, get it working, and add more when you are ready.
Conclusion
Building a home server with an old PC is one of the best weekend projects in home technology.
An old laptop or desktop, a little storage and a free operating system give you private file storage, media streaming, photo backup and smart home control, without a monthly fee and without sending your data to someone else’s cloud.
Check the hardware minimums, work out the power cost, use a wired connection, and secure remote access with a VPN before you open anything to the internet.
Ayesha is the co-founder of occcy and the editor behind its entertainment and lifestyle coverage. She believes good writing should feel like a conversation with a smart friend, clear, warm, and genuinely helpful.