Code-compliant approach to wiring a media closet
Code-compliant approach to wiring a media closet, the field-ready guide for working electricians.
Plan loads and circuit count before you pull a single wire
Media closets pack high-draw gear into a tight thermal envelope. AV receivers, gaming consoles, NAS units, PoE switches, and a UPS can pull 12 to 18 amps continuous on a busy rack. Size the feed before framing. One 20A general-purpose circuit will not cut it for anything beyond a basic two-shelf setup.
Treat the closet as a continuous load per NEC 210.19(A)(1) when gear runs more than three hours, which it almost always does. Derate the breaker to 80 percent of conductor ampacity. For a stacked rack, run two dedicated 20A circuits on separate breakers, ideally on opposite phases to balance the panel and reduce neutral current on shared returns.
- Calculate nameplate VA for every device, then add 25 percent headroom.
- Separate UPS-fed loads from line-fed loads on different circuits.
- Reserve one circuit for future expansion, labeled and capped in the panel.
Receptacle placement, GFCI, and AFCI rules
Media closets are usually classified as habitable space or storage rooms depending on jurisdiction. AFCI protection per NEC 210.12(A) applies to 120V, 15A and 20A branch circuits in dwelling unit family rooms, dens, and similar areas. If the closet is part of a finished basement or media room, AFCI is required. GFCI per NEC 210.8(A) kicks in if the closet is within six feet of a sink, in an unfinished basement, or in a garage conversion.
Mount receptacles at rack-mount height, typically 60 inches AFF, behind the rack but accessible. Use spec-grade or hospital-grade duplex receptacles. Cheap residential devices fail under sustained load and constant plug cycling.
Field tip: put the receptacle for the rack PDU on the side wall, not directly behind the rack. You will thank yourself the first time you need to swap a bad outlet without pulling 80 pounds of gear out.
Grounding, bonding, and the low-voltage problem
Equipment grounding is non-negotiable per NEC 250.114. Every metal rack, patch panel, and chassis ties back to the EGC. Run a dedicated #6 AWG bonding conductor from the rack frame to the nearest grounding electrode system or panel ground bus, sized per NEC 250.122 for the largest OCPD feeding the rack.
Coax, Cat6, and HDMI extenders all carry ground references. Mixing ground potentials between the AV system, the cable demarc, and the panel creates hum loops and, in worst cases, fries HDMI ports during a surge. Bond the coax entry block per NEC 820.100 within 20 feet of the building grounding electrode.
- Single-point ground all rack equipment to one bus bar.
- Bond the bus bar to building ground with #6 minimum.
- Verify continuity with a low-resistance ohmmeter, not a standard DMM.
Heat, ventilation, and conductor derating
A closed media closet hits 95 to 110 degrees F under load. NEC Table 310.15(B)(1) ambient correction factors matter here. At 96 to 104 F, a THHN conductor rated 75C drops to roughly 88 percent of its 30C ampacity. Stack that with NEC 310.15(C)(1) adjustment for more than three current-carrying conductors in a raceway and a 20A circuit on #12 starts looking marginal.
Pull #10 for any home run over 40 feet feeding a rack, and oversize the conduit. Active ventilation is not a code requirement in most jurisdictions, but it is a reliability requirement. Spec a thermostatically controlled exhaust fan tied to a switched outlet inside the closet, or a low-voltage fan controller mounted to the rack.
Field tip: if the HVAC return is in the same room, cut a passive transfer grille high in the closet wall. It moves more air than most exhaust fans and makes no noise.
Low-voltage cabling, separation, and penetrations
Class 2 and Class 3 cabling is governed by NEC Article 725. Communications cabling falls under Article 800, CATV under 820. Keep low-voltage at least two inches away from parallel runs of 120V Romex per NEC 800.133(A)(2), or use a grounded metal divider in shared boxes. Crossings at 90 degrees are fine.
Use plenum-rated cable (CMP, CL2P) if any portion of the run passes through a return air space. Fire-stop every penetration through a rated assembly per NEC 300.21. Listed firestop putty pads or intumescent sleeves, not spray foam, not duct seal.
- Label every cable on both ends. TIA-606-B nomenclature is the working standard.
- Service loop minimum 10 feet at the rack, 3 feet at the device end.
- Maintain bend radius. Cat6 minimum is 4x cable diameter, roughly 1 inch.
Surge protection, UPS integration, and labeling
A rack-mount Type 3 SPD per NEC 285.27 belongs at the PDU. Whole-house Type 2 SPDs at the panel handle the bulk surge energy. Layer them. The UPS is not a surge protector, despite marketing claims. Feed the UPS from a dedicated circuit, then run UPS output to a separate PDU. Bypass-critical loads like a router on a dedicated unprotected leg if the UPS battery dies.
Final step is documentation. Label every breaker per NEC 408.4(A) with the specific load, not just "media closet." Tape a one-page circuit map to the inside of the rack door listing circuit numbers, breaker sizes, and what each receptacle feeds. The next tech in there, possibly you in five years, needs that map.
- Type 2 SPD at the service panel.
- Type 3 SPD at the rack PDU.
- UPS sized for 15 minute runtime minimum on critical loads.
- Printed circuit map and torque values on file.
Get instant NEC code answers on the job
Join 16,400+ electricians using Ask BONBON for free, fast NEC lookups.
Try Ask BONBON Now