Mac maintenance
What to Do With an Old Mac: Turn It Into a Server
Got an old Mac sitting around? Repurpose it as a home server — Time Machine, file sharing, media, automation. Step-by-step guide for old Macs.
The 2014 Mac mini in your closet is still useful. The 2017 MacBook Air with a swollen battery your kid grew out of? Same. Old Macs make decent home servers — they’re already paid for, they run macOS you know, and they can usually handle file serving and basic services for years before retirement.
This guide is for taking an old Mac that’s “good enough” but not for daily use, and giving it a useful second life as an always-on home server.
Will your old Mac actually work?
Honest minimums for a useful server:
- 2014 Mac mini or later — earlier Intels are slower and macOS support is gone
- 2015 MacBook Pro/Air or later — laptops work fine; battery health matters less if it stays plugged in
- 2014 iMac or later — works but the screen is wasted on a server
- Late 2018 Mac mini or later — sweet spot; thunderbolt 3, decent CPU, often still on supported macOS
What macOS will it run? Anything from 2017 or later runs at least macOS 12 Monterey, which is enough for most server use. macOS 14 Sonoma runs on most 2018+ Intel Macs and all M-series.
If your Mac can’t run macOS 12 or later, you have two options: install a Linux distro (works great on most Intel Macs, gives you another decade of life), or use it as a single-purpose appliance and accept it’s running outdated software.
What an old Mac is good for
Tasks that work well on a 2015–2018 Intel Mac mini or laptop:
- File server / network drive
- Time Machine destination for other Macs
- Plex or Jellyfin (with hardware transcoding limited to 1080p on older Intel)
- Backup target (Backblaze, Carbon Copy Cloner targets)
- Always-on download machine
- HomeKit hub
- Web/personal site host
- Build server for small projects (slower than a new Mac, fine for nightly builds)
Tasks where an old Mac struggles:
- 4K HEVC transcoding in real-time
- Heavy Docker workloads
- Anything requiring lots of RAM (8GB Macs feel cramped)
- Modern Xcode iOS builds (still works, just slower)
Step 1: Wipe and start fresh
Don’t try to convert your old Mac to a server with all your old apps and files still on it. Wipe it.
- Sign out of iCloud (System Settings → Apple ID → Sign Out)
- Sign out of iMessage (Messages → Settings → iMessage → Sign Out)
- System Settings → General → Transfer or Reset → Erase All Content and Settings
For Intel Macs that don’t have Erase All Content (Macs from before about 2018), boot into Recovery (hold Cmd-R during startup), use Disk Utility to erase the drive, then reinstall macOS.
The result: a clean slate. Latest macOS the Mac supports, no leftover apps, no clutter.
Step 2: Install only what the server needs
Resist the urge to install everything you might use. A server with five things on it is much more reliable than one with fifty.
Initial install list:
- The OS (latest your Mac supports)
- Xcode command-line tools (
xcode-select --install) - Homebrew (for installing terminal-based services)
- The specific server app you’ll run (Plex, Jellyfin, etc.)
- Tailscale (for remote access)
- A monitoring tool or just Console for log review
That’s it. Add things as you find specific needs.
Step 3: Network and remote access setup
For a server, ethernet beats Wi-Fi. If the Mac has built-in ethernet, use it. If not, a $20 USB ethernet adapter is plenty.
In System Settings → General → Sharing:
- Enable Screen Sharing
- Enable Remote Login (SSH)
- Enable File Sharing if you’ll share folders
Set the computer name to something memorable: “MediaServer,” “BackupBox,” etc. This becomes the hostname for .local access (MediaServer.local).
Install Tailscale and join your Tailnet. Now you can SSH or screen share from anywhere.
Step 4: Power and energy settings
For a 24/7 server:
System Settings → Energy (Mac mini/iMac) or Battery (MacBook):
- Prevent automatic sleeping when display is off: ON
- Wake for network access: ON
- Start up automatically after a power failure: ON
- Display sleeps after: 1 minute (saves a tiny bit of power)
For laptops being used as servers, lid-closed operation requires an external display, keyboard, and mouse to be connected — or a clamshell mode hack:
# allow lid-closed without external displays (requires SIP partial disable on some macs)
sudo pmset -b sleep 0
sudo pmset -c sleep 0
sudo pmset -c lidwake 0
Easier path: just leave the laptop open with the display off.
Step 5: Storage strategy
Old Macs often have small SSDs (256GB, sometimes 128GB). For server use, that’s usually enough for the OS plus services. Bulk storage goes external.
What I’d recommend:
- Internal SSD: OS, apps, configs (50–100GB used)
- External 2-4TB HDD or SSD: media, backups, large files
- Second external drive: backup of the first
Spinning HDDs are fine for media and Time Machine targets. SSDs aren’t necessary for either.
If the old Mac has an HDD instead of an SSD (some 2014–2017 minis and iMacs), seriously consider replacing it with an SSD. The difference is night and day, and a 1TB SSD costs $80–$100. For Macs that take a 2.5” SATA drive, the swap is straightforward — many YouTube tutorials cover specific models.
Step 6: Set up the actual services
Pick services based on what your household actually needs.
Time Machine target for other Macs: enable it in File Sharing settings. Other Macs find it via Finder → Network. This alone justifies a server for most households.
Plex or Jellyfin: download, install, point at the external drive of media. Set hardware transcoding to “auto” on older Intels — they handle 1080p H.264 fine but struggle with 4K HEVC.
Backblaze: $99/year, runs continuously, backs up the whole Mac plus connected externals to cloud. Set and forget.
File sharing: SMB built-in, share /Users/Shared/ for household files.
For each service, document what it does and how to access it in a ~/Documents/server-notes.md file. Future you will thank you.
Step 7: Maintenance setup
Old Macs accumulate junk faster because they often run older macOS that’s less efficient with caches. A weekly cleanup script:
#!/bin/bash
# Server cleanup
rm -rf ~/Library/Caches/* 2>/dev/null
find /private/var/log -name "*.log.*" -mtime +30 -delete 2>/dev/null
find ~/Library/Logs -mtime +30 -delete 2>/dev/null
find ~/.Trash -mindepth 1 -mtime +7 -delete 2>/dev/null
osascript -e 'display notification "Server cleanup done"'
Schedule via launchd, weekly. Save 1-5GB of cruft per week on a busy server.
A monthly run of a cleanup tool catches more — old Time Machine snapshots, app caches in unexpected places, log files that grew without bound. On older Macs with smaller SSDs, this matters more.
Make cleanup automaticSweep does the routine cleanup so you can stay in your work. Get Sweep free →
When the OS is too old
If your Mac can’t run a supported macOS version, options:
Stay on the unsupported macOS: works for isolated server use. Don’t expose to the internet. Update apps that still get updates. Realize you’re running unsupported software.
Install Linux: Ubuntu, Debian, or similar. Works well on most Intel Macs. Gives you 5+ more years of supported life. Loses the “I know macOS” benefit.
OpenCore Legacy Patcher: a community tool that lets unsupported Macs run newer macOS versions. Works surprisingly well on 2014–2017 Macs. Real risk: official Apple support is gone, things can break with future updates. Worth trying if you want to stay on macOS.
For a server use case where you’ll mostly leave it alone, OpenCore Legacy Patcher gets you a 2015 MacBook Air running macOS 14 Sonoma. Useful life extended by years.
When to give up and replace
Honest signs an old Mac should retire:
- It can’t run macOS 12 or later, even with patcher tools
- The fans run constantly even at idle
- The internal SSD has fewer than 100GB free even after a clean install
- It crashes more than once a week
- The CPU is a 2-core Intel from 2013 or earlier
- Power use is over 30W at idle
A new Mac mini at $599 will outperform any 2014–2017 Mac in server use, sips power, and gets supported updates for years. Sometimes the right answer is “this Mac had a good run.”
Recycling the old hardware
When the old Mac finally retires:
- Erase All Content and Settings (or wipe with Disk Utility)
- Sign out of all Apple accounts
- Apple Trade In: gives small credit for recent Macs, free recycling for older ones
- Local Apple Store: takes any Apple device for recycling
- E-waste programs: most cities have free drop-off
Don’t throw a Mac in regular trash — it has lithium and other materials that need proper handling.
Worth it
A 2015 Mac mini I bought refurbished is, as I write this, on year 8 of running as a Plex and Time Machine server. It’s paid for itself many times over. The original SSD was upgraded to 1TB; everything else is stock. Quiet, reliable, and absolutely earning its keep in the closet.
Your old Mac probably has a similar second life in it.