hide media equipment (Recessed In-Wall Media Box)
A recessed in-wall media box can hide a router, streaming device, or AV connections while keeping them available for service. The safe approach starts with the wall, the equipment instructions, and a listed enclosure made for the intended wiring. Plan space for plugs, cable bends, cooling, and access before cutting, then check the finished setup under normal operating load.
Pets can turn loose cords into a tempting toy, and visible equipment can disrupt a clean wall. A recessed enclosure can reduce that clutter, but it is not a sealed hiding place: equipment still needs airflow, and wiring or boxes must remain accessible. I start by treating the wall cavity as a working space, not spare storage.
The right solution depends on what you are hiding. A small router has different heat and connection needs from a receiver or game console. Before choosing a box, list every device, measure it with cables attached, and check its installation instructions. Local code, the enclosure’s listing, and the device maker’s directions all matter.
Plan the Recess and Confirm the Wall
A recessed media box fits within a wall cavity, but the opening must suit the wall and the enclosure. First locate studs and check for wiring, plumbing, ducts, insulation, and structural or fire-rated construction. Do not cut until you know what is behind the finish and whether the wall can be altered.
Use a stud finder as an initial check, not proof that a cavity is clear. Plans, visible outlets, and access from an attic or basement may help, but they do not replace careful inspection. If the wall is rated or its construction is uncertain, ask a qualified professional before cutting. A change may affect the wall’s required fire or structural performance.
Measure the enclosure against the available space. A standard stud bay can be crowded by blocking, pipes, or existing cables, and the enclosure may need framing support. Follow the manufacturer’s cutout template and mounting instructions. Do not assume that a box will fit just because its listed width is less than the space between studs.
- Confirm the adopted electrical code edition and any local amendments.
- Check the enclosure listing and the equipment instructions.
- Mark the intended opening, then inspect both sides of the wall if possible.
- Plan how the cover will open and how a device can be removed for service.
Key next step: Choose the location only after confirming the cavity is clear and the enclosure can be installed as listed.
Verify Equipment, Wiring, and Service Clearances
Service clearance means the space needed to reach, disconnect, and remove equipment without damaging the wall or finish. Measure each device with its power plug and cables connected. Then compare those measurements with the enclosure’s usable depth, door opening, wiring compartments, and the maker’s cooling requirements.
A device may fit inside a box and still be a poor fit. HDMI and network plugs need room to turn without sharp bends or pressure on their ports. A door can also press on cables or block vents. Check the full path from device to connector, not just the device body.
There is no universal media-box depth, ventilation rate, or clearance that suits every device. Follow the equipment and enclosure instructions. Do not cover vents with insulation, bundled cable, or stored accessories. If the instructions do not give enough guidance for a planned enclosed location, ask the manufacturer or choose a better-ventilated position.
| What to check | How to check it | Why it matters |
|---|---|---|
| Device size | Measure the body, plugs, and cable bends | Prevents a tight fit that strains connectors |
| Cooling | Read device and enclosure instructions | Avoids trapping heat in a closed recess |
| Service access | Check cover opening and removal path | Keeps repairs possible without wall damage |
| Wiring separation | Identify line-voltage and low-voltage paths | Prevents an improper shared cavity |
| Mounting | Follow enclosure template and support details | Helps the box stay secure and listed |
Key next step: Confirm that the equipment, cables, and required airflow fit together before buying or cutting.
Frame, Wire, and Finish the Enclosure
A listed enclosure is designed and evaluated for specific uses. Install it as its instructions require, including its mounting method, cover, and any divider. The enclosure’s listing does not make every wiring arrangement acceptable; the electrical method and local rules still apply.
If a receptacle or junction box is part of the work, it must remain accessible. Under NEC 314.29, access cannot depend on removing building finish or structural elements; the adopted edition and local amendments govern. Do not cover an outlet, splice, or junction box with drywall, a fixed cabinet, or an inaccessible cover.
Box placement at the finished surface also matters. NEC 314.20 limits how far a box may sit behind the finish in walls with noncombustible material; combustible-finish rules differ. Follow the applicable rule and the box instructions rather than setting the box depth by appearance alone.
Keep line-voltage wiring and communications or AV wiring separate unless the wiring method, barrier, and enclosure are specifically permitted and listed for that arrangement. NEC 725.136 and applicable Article 800 provisions address separation. Use the listed divider or separate compartments where required. Do not use an undivided, unlisted cavity as a shared route for power and signal cables.
Cables passing through or alongside framing may need protection. NEC 300.4(A)(1) calls for protection when a cable is less than 1¼ inches from the nearest nailing or screwing edge. Use listed protection plates where required. At outlet, junction, or switch points, NEC 300.14 requires at least 6 inches of free conductor measured from where the cable sheath enters the box, with conductors extending at least 3 inches beyond the opening. Apply these rules to the wiring they cover; do not treat them as a substitute for cable maker requirements.
A careful installation sequence is:
- Confirm the opening location, enclosure listing, equipment needs, and wiring route.
- Cut and frame the opening to the manufacturer’s template.
- Secure the enclosure, then install required barriers, bushings, and cable protection.
- Install permitted wiring and receptacles using the required methods.
- Finish the wall without covering the enclosure or interfering with its cover.
Do not run an ordinary extension cord inside a wall as a substitute for a permitted in-wall power method. If you are unsure which wiring method is allowed, have a qualified electrician review the plan.
Key next step: Before closing or finishing the wall, inspect the wiring, barriers, mounting, and access while everything is visible.
Verify Access, Separation, and Cooling
A finished installation should hide equipment from view without hiding it from service. Open the cover, reach each connection, and confirm that equipment can be removed without pulling on cables. Check that the cover does not pinch cords and that the enclosure stays secure when opened.
Then test the system while it is operating. Confirm that vents remain clear and that the equipment maker’s cooling instructions are met. A recessed box can trap heat, especially when it has a door, nearby insulation, or crowded cables. Do not guess at a safe airflow figure from the box size. If cooling cannot be maintained, relocate the equipment or use an enclosure designed for ventilation.
Check that power and low-voltage wiring remain in their permitted compartments or routes. Look for damaged cable jackets, sharp bends, loose plugs, and blocked openings. Have electrical work checked as required by local rules. The box should remain accessible without removing finish or structural parts.
Representative installation scenarios
These are planning examples, not reports of specific completed projects. They show how the same checks change with the equipment.
- Router near a living-room TV: A compact enclosure may reduce visible cords, but the router still needs its instructed airflow and reachable network connections. A closed door or tight cable bundle can undermine the plan.
- Streaming player behind a wall-mounted screen: The device may be shallow, but the plug and HDMI bend can need more depth than the device itself. Check access to the cover before setting the screen position.
- Receiver or game console: Larger equipment may generate more heat and need more space than a small media box provides. If the maker’s clearances cannot be met, place it in a ventilated cabinet or another suitable location instead of forcing it into the wall.
Key next step: Test access and cooling with all devices connected and running, then correct any pinch points or heat concerns.
Frequently Asked Questions
These answers cover common decisions when choosing and installing a recessed enclosure. Requirements can vary by equipment, enclosure listing, adopted code edition, and local amendments. When those instructions differ from a general rule, use the applicable code and product directions or consult a qualified professional.
Can I put a router in a recessed media box?
Yes, if the enclosure is suitable and the router’s instructions allow the planned location. Keep vents clear, allow for cable connections, and confirm it does not overheat in normal use.
Can I put a power strip inside the wall?
Do not place an ordinary power strip or extension cord inside a wall cavity. Use a listed, permitted in-wall power solution installed according to its instructions and local code.
Can power and HDMI cables share one compartment?
Not unless the wiring method and enclosure are specifically permitted and listed for that arrangement. Use separate compartments or a listed divider where required.
Does a junction box need to stay accessible?
Yes. NEC 314.29 requires access without removing building finish or structural elements, subject to the adopted code edition and local amendments.
How deep should the media box be?
There is no universal depth. Measure the equipment, plugs, cable bends, and service space, then follow the enclosure and device instructions.
How much ventilation does the box need?
There is no universal airflow figure. Follow the equipment and enclosure instructions, keep vents unobstructed, and check operation under normal load.
Can I cut into any wall for a recessed box?
No. Inspect for wiring, plumbing, ducts, framing, and rated construction first. Get professional advice if the wall is structural, rated, or uncertain.
How much cable should be left at an outlet or junction point?
NEC 300.14 requires at least 6 inches of free conductor from where the cable sheath enters the box, and at least 3 inches extending outside the opening. The applicable code edition governs.
What if the equipment gets hot inside the box?
Do not ignore the heat or assume a larger box will fix it. Follow the maker’s cooling instructions; relocate the device or use a purpose-designed ventilated enclosure if needed.
Can I cover the box with a fixed cabinet panel?
Not if that makes an outlet or junction box inaccessible. Keep the enclosure cover reachable and serviceable without removing building finish or structural parts.
(This article was written by one of our staff writers, Michael Donovan. Visit our Meet the Team page.)






