Homelab rack layout: what goes where, and why
Updated
Heavy at the bottom, network at the top, air from front to back. Put the UPS and the heaviest servers in the lowest units, the patch panel and switch next to each other at the top with short patch cables, storage and compute in the middle, and power strips at the rear. Leave about a quarter of the rack free for growth and label both ends of every cable.
The four rules
1. Heavy at the bottom. The UPS goes in the lowest units, then the heaviest servers and disk shelves. A rack with weight up high tips when you slide a server out on its rails, and a loaded UPS is the heaviest box in most homelabs.
2. Network together, usually at the top. Mount the patch panel and the switch next to each other so every patch cable is short, ideally a 1U panel directly above or below a 1U switch. Put the router or firewall beside them. If your cables come up from the floor, mirror this and put the network just above the UPS.
3. Air from front to back. Most servers, NAS units and switches pull cool air in at the front and push it out at the back. Face every intake the same way, keep the rear clear, and in a closed cabinet close empty slots with blanking panels so hot air can’t loop back to the front. Some switches blow side to side or back to front: check the data sheet before you mount one in the middle of a stack.
4. Power at the rear, split across two feeds. Power strips go at the back, ideally vertical (zero-U) if the rack has room. Devices with two power supplies get one cord on each strip, and each strip stays under 80 % of its rating. Put the network on the UPS too: a server that rides out a power cut behind a dead switch is no use.
Three example layouts
Top to bottom. The numbers are the U each device occupies.
12U wall rack (network-first lab)
| U | Device |
|---|---|
| 12 | Patch panel, 24 ports |
| 11 | Switch, 24-port PoE |
| 10 | Router / firewall |
| 9 | Cable management bar |
| 7–8 | Shelf: two mini PCs |
| 5–6 | Shelf: NAS, 4 bays |
| 3–4 | Free |
| 1–2 | UPS, 2U |
24U rack (Proxmox and storage)
| U | Device |
|---|---|
| 24 | Patch panel |
| 23 | Switch |
| 22 | Router / firewall |
| 21 | Cable management bar |
| 15–20 | Free (growth) |
| 13–14 | Shelf: three mini PCs (Proxmox cluster) |
| 9–12 | NAS or disk shelf, 4U |
| 7–8 | 2U server |
| 3–6 | Free |
| 1–2 | UPS, 2U |
42U rack (bigger lab)
| U | Device |
|---|---|
| 41–42 | Patch panels |
| 40 | Core switch |
| 39 | Router / firewall |
| 38 | Cable management bar |
| 26–37 | Free (growth) |
| 18–25 | Compute: 1U and 2U servers |
| 14–17 | AI box, 4U |
| 10–13 | Disk shelf, 4U |
| 5–9 | Free |
| 3–4 | Second UPS or battery pack |
| 1–2 | UPS, 2U |
Swap the AI box and the disk shelf if the shelf is heavier: weight wins.
Check the U and the watts
Before you move anything, try the layout in the planner: add each device with its height and watts, and it draws the rack and adds up the power.
10-inch rack planner
Before you bolt it in
- Depth: measure the rack’s usable depth, rail to rail, and leave room behind each device for its power and network cables.
- Rails: heavy servers on sliding rails, light boxes on shelves. Never hang a server by its front ears alone.
- Labels: label both ends of every cable, and keep the list in the same spreadsheet as the devices. The rack diagram guide shows how to draw the rack from that sheet.
- Power budget: add up the watts per strip and for the UPS, then check the runtime with the UPS runtime calculator.
Sources
- Rack and UPS makers’ installation guides (weight distribution, front-to-back airflow, blanking panels)
- The RACKDENSITY Excel template and the Homelab Twin import checks
Questions
Should the switch go at the top or the bottom of the rack?
Usually the top, next to the patch panel, because cables tend to arrive from above and short patch cables are tidier. If your cables come up from the floor, mirror the layout and put the network at the bottom, above the UPS.
Where does the UPS go?
At the bottom. UPS batteries are the heaviest thing in most homelab racks, and keeping weight low makes the rack harder to tip and easier to load.
Do I need blanking panels in a homelab rack?
In an open-frame rack in a cool room it matters little. In a closed cabinet, yes: without them hot exhaust air flows back to the front through the gaps and the devices breathe their own heat.
How much free space should I leave?
About a quarter of the rack. Homelabs grow, and moving a populated server to make room for a new one is the job everyone puts off.