Hide Cable Behind LED Bathroom Mirror (Outlet Box)
To hide an LED bathroom mirror’s wiring, first check whether the mirror is made for hardwiring or uses a plug. Keep factory cords out of walls, and keep every receptacle and junction box reachable for service. Follow the mirror’s instructions, protect bathroom circuits as required, and confirm your plan with the local inspector before covering anything.
A common mistake is to treat the space behind a mirror as a safe place to hide any wire or box. It may look neat, but a concealed plug, splice, or receptacle can be unsafe or fail an inspection if it cannot be reached later.
The right method depends on the exact mirror. Some models use a factory cord and plug. Others are listed for permanent wiring. Before you drill or move a box, find the model number and its installation instructions. I also confirm the locally adopted electrical code and any local amendments, since code editions and approval rules can differ.
First identify the mirror’s wiring and the box
A receptacle is the socket that accepts a plug; a junction box holds wire connections. They are not interchangeable just because both sit inside a wall. Identify which one your mirror needs, and check the product instructions before planning the cable route.
Look for wording such as “hardwired,” “direct wire,” or “plug-in” on the product label and in the instructions. The instructions and product listing govern how the unit is installed under NEC 110.3(B). Do not assume a plug-in model can be converted to hardwire, or that a hardwired model can use a cord.
Also locate the bathroom receptacle circuit and its GFCI protection. A GFCI detects certain current imbalances and can shut off power to reduce shock risk. Bathroom receptacles require GFCI protection under NEC 210.8(A)(1), subject to the locally adopted code and amendments.
Before cutting, mark the mirror’s full outline, mounting points, intended box position, and cable path. Check for studs, pipes, existing wires, and the tub or shower boundary. A wall scanner can help, but it does not prove that a wall is clear. If the route is uncertain, have a qualified person inspect it.
Choose the permitted way to conceal the wiring
The permitted method follows the mirror’s design: a factory cord stays a cord, while a hardwired unit uses an approved fixed-wiring method. Concealing the connection is not the same as making it inaccessible. Keep boxes serviceable, and do not bury flexible cords or splice points in the wall.
| Mirror type | Suitable approach | Do not do this |
|---|---|---|
| Cord-and-plug | Use the factory cord with an accessible, suitably located receptacle | Route the cord through the wall, splice it, or alter it |
| Listed for hardwiring | Use an approved fixed-wiring method and suitable outlet or junction box | Leave a splice outside a box or cover the box with permanent finish |
| Unknown or instructions missing | Pause and confirm the model and requirements with the maker or a qualified installer | Guess based on the wire colors or appearance |
NEC 400.12 does not allow a flexible cord to replace fixed wiring or to be concealed in walls, floors, or ceilings. So a plug-in mirror’s cord cannot serve as the in-wall connection, even if the cord would be hidden behind the glass. Keep its plug connection accessible.
For a hardwired mirror, permanent wiring and connections belong in a suitable box. A licensed electrician may be required by local rules, and the work may need a permit or inspection. Check before starting, especially if the plan changes the circuit or moves an existing receptacle.
Keep receptacles and junction boxes accessible
A box is accessible when it can be reached without removing building finish. NEC 314.29 sets this basic rule for boxes. A fixed mirror that must be removed, or a tiled wall that must be broken, may not provide acceptable access. Ask the authority having jurisdiction, or AHJ, before relying on a removable mirror as the access method.
This is an important edge case: a mirror can hide a box from view while still blocking access. A box must not be buried behind tile, drywall, or a fixed mirror. Do not assume that a mirror that can technically be lifted off will satisfy the AHJ. Resolve the access plan before the wall is closed or the mirror is mounted.
If an existing receptacle sits directly behind the mirror, check whether the mirror design leaves it reachable and usable as intended. If it does not, do not simply cover it. Ask an electrician or the AHJ about an approved way to relocate or otherwise address it. Any new box or connection must also remain accessible.
Check bathroom location, framing, and clearance
The mirror’s location affects both product suitability and wiring safety. Measure its distance from the tub rim or shower threshold, check the manufacturer’s location rating, and plan the cable path around framing and plumbing. Do not use a generic “safe gap” behind the mirror; clearances and ventilation needs are product-specific.
Under NEC 410.10(D), luminaires within the zone extending 3 feet horizontally and 8 feet vertically from a tub rim or shower threshold must meet the applicable damp-location requirements. Where exposed to shower spray, wet-location suitability is required. Confirm that the mirror’s listing covers its planned location and ask the AHJ how the rule applies to that product.
Follow the maker’s stated orientation and clearance for the mirror and its LED driver. The driver is the part that supplies the LEDs with suitable power. Do not add a guessed vent gap or turn the mirror in a way the instructions do not allow.
Where cable passes through framing, NEC 300.4(A)(1) requires at least 1¼ inches of setback from the nearest framing face, or the required steel protection plate. The plate must be at least 1/16 inch thick. These protections help reduce the risk of a nail or screw striking the cable. Have a qualified installer assess the route if the wall depth or framing is unclear.
Install and connect without trapping anything
The safe sequence is to confirm the product, plan the route, shut off power, and verify the work before finishing the wall. Hardwired connections require suitable boxes and fixed wiring. Plug-in units must retain their factory cord. If you are unsure of any step, stop and use a qualified electrician.
- Read the instructions and check the model. Confirm hardwire or plug-in use, location rating, allowed orientation, mounting details, and any driver clearance.
- Plan the box and path. Mark the mirror and mount points. Identify the circuit, GFCI protection, framing, plumbing, and shower zone. Confirm the box will remain accessible after installation.
- Turn off power and test. Switch off the circuit at the breaker. Before opening a box or handling conductors, use an appropriate tester to verify the absence of voltage. Do not rely on the breaker label alone.
- Use the correct wiring method. For a hardwired unit, a qualified person should install the permitted cable and suitable box, protect framing penetrations, and make all splices inside the box. For a cord-connected unit, use only the factory cord and an accessible receptacle.
- Inspect before mounting and finishing. Check that no cord, splice, or box is trapped behind permanent finish. Mount the mirror as instructed and keep the box accessible. Do not close the wall until required inspection steps are complete.
Field examples: two common mirror layouts
These examples describe recurring layout problems, not a substitute for checking a particular product or wall. In both cases, the decisive questions are whether the mirror is listed for the planned connection and whether every box remains reachable after installation.
In one common retrofit, a plug-in mirror is centered over an existing receptacle. The mirror would cover the socket, and the factory cord would need to pass through the wall to reach another outlet. I would not route that cord inside the wall. The better next step is to ask the manufacturer and a qualified electrician about compliant options, while keeping the cord and receptacle accessible.
In another layout, a hardwired mirror has a connection point near an existing junction box. The proposed mirror would hide that box. A clean-looking face does not solve the access issue, so I would pause before mounting it. The electrician and AHJ can determine whether the box location or access plan needs to change. A removable mirror is not automatically accepted as access.
| Situation | Main concern | Next step |
|---|---|---|
| Plug-in mirror covers the receptacle | Cord or receptacle could become inaccessible | Do not conceal the cord; confirm an approved accessible arrangement |
| Hardwired mirror overlaps a junction box | Box may be blocked from service | Get an access plan approved before mounting |
| Mirror is near a tub or shower | Location rating may not suit moisture exposure | Check product listing and ask the AHJ about the applicable zone |
| Cable route crosses a stud | Fasteners could damage cable | Maintain the required setback or use the required steel plate |
Verify the installation before calling it finished
A final check helps catch hidden problems while they can still be fixed. Confirm the mirror’s listing and instructions match the installation, the box can still be reached, the cord or cable has not been trapped, and the required GFCI protection works. Keep product details and inspection records with the home’s electrical information.
Before finishing, verify that the mirror is in an allowed orientation and that its clearance and ventilation match the instructions. Check that every receptacle and junction box remains accessible without damaging the wall or finish. Arrange any required electrical inspection.
Use the GFCI test and reset controls to check the required bathroom receptacle protection. Confirm that the mirror operates as intended, but do not treat that test as proof that hidden wiring is correct. Retain the mirror instructions and listing information for future service.
Bottom line: conceal the mirror wiring, not a flexible cord or an inaccessible connection. Confirm the wiring type, box access, bathroom location, and local rules before mounting the mirror.
Frequently asked questions
These answers cover the main decisions when planning a clean installation. Product instructions and local rules still control the final method. When access, location, or wiring type is uncertain, ask the AHJ or a qualified electrician before cutting or covering the wall.
Can I hide the LED mirror’s factory cord inside the wall?
No. A factory flexible cord must not be used as fixed wiring or concealed in a wall under NEC 400.12. Keep the cord and plug connection accessible.
Can a mirror cover a bathroom receptacle?
Not if doing so makes the receptacle inaccessible or unusable where access is required. Do not cover it with a fixed mirror or finish. Ask the AHJ about the exact arrangement.
Can I hide a junction box behind a removable mirror?
Do not assume that a removable mirror provides acceptable access. NEC 314.29 requires boxes to remain accessible without removing building finish. Confirm the proposed access with the AHJ before installation.
Does an LED bathroom mirror need GFCI protection?
Bathroom receptacles require GFCI protection under NEC 210.8(A)(1), subject to local adoption and amendments. Requirements for a hardwired unit can depend on the product and local rules, so verify the design with the electrician or AHJ.
What if my mirror is close to the shower?
Check the product’s location rating and instructions. The NEC has specific requirements for luminaires within 3 feet horizontally and 8 feet vertically of a tub rim or shower threshold, and shower spray can require wet-location suitability. Confirm how this applies locally.
Can I splice the mirror wire behind the glass?
Only connections made in a suitable, accessible box are acceptable. Do not leave a splice loose behind the mirror or bury it where it cannot be reached.
How much space should I leave behind the mirror for ventilation?
There is no universal gap. Follow the mirror maker’s stated clearance and orientation for the mirror and LED driver.
What protection is needed where cable passes through a stud?
Maintain at least 1¼ inches from the nearest framing face, or install the required steel protection plate. The plate must be at least 1/16 inch thick. Have the installer check the route and local requirements.
Should I do the hardwiring myself?
Use a qualified person if you are not trained to work on fixed wiring. Local rules may require a licensed electrician, permit, or inspection. Always de-energize and verify the circuit before work begins.
What should I do if the instructions do not say whether the mirror is hardwired?
Do not guess or alter the cord. Find the exact model and contact the manufacturer or a qualified installer to confirm its listed wiring method before planning the box or cable route.
(This article was written by one of our staff writers, Michael Holloway. Visit our Meet the Team page.)






