Hide Bathroom Wiring (GFCI Vanity In-Wall Boxes)
To conceal bathroom vanity wiring safely, keep receptacles and all splices in listed, accessible boxes, preserve required GFCI protection, and place the basin receptacle within the code-required distance. Plan the circuit and cable route before cutting. Never bury a box behind tile or fixed cabinetry; confirm local code and approval where a cabinet location is proposed.
Bathroom wiring has to serve you safely in a room where water, cabinetry, mirrors, and tight wall cavities all affect placement. Local rules can differ because jurisdictions adopt different code editions and amendments. In humid or coastal regions, material choices and installation details may also need closer review. Before opening a wall, check with your local building department, often called the authority having jurisdiction (AHJ), or ask a licensed electrician to confirm the plan.
A clean result does not mean every electrical part can disappear. The goal is to hide the cable inside the wall while leaving the receptacle, GFCI controls, and any splice box accessible and properly located.
Planning: Code, Circuit, and Basin Location
Start by confirming the adopted electrical code, the existing circuit, and the basin outlet location. These details determine whether a proposed in-wall route is suitable. A tidy installation is not compliant if the receptacle is too far from the basin, the circuit is unsuitable, or the box will be concealed.
Check the required outlet location
A receptacle outlet is the point where a device plugs in. Under NEC 210.52(D), at least one receptacle must be within 3 ft (900 mm) of the outside edge of each bathroom basin. Measure from the basin’s outside edge, not from the center of the vanity or the nearest cabinet wall.
A cabinet interior may seem like a discreet place for an outlet, but do not assume it meets this location or usability requirement. Ask the AHJ whether the proposed position qualifies before building around it. Keep the outlet accessible for normal use, testing, and repair.
Confirm GFCI protection and the branch circuit
GFCI protection detects certain current imbalances and can interrupt power to reduce shock risk. NEC 210.8(A)(1) requires GFCI protection for covered dwelling-unit bathroom receptacles. The permitted protection method depends on the adopted code and installation; a GFCI receptacle is one method, while a properly configured upstream device or breaker may be another.
NEC 210.11(C)(3) calls for a 20-amp bathroom receptacle branch circuit. Its permitted coverage depends on whether it serves one bathroom or multiple bathrooms. Do not extend it to outlets outside bathrooms. Identify the circuit and its existing loads before adding or moving an outlet, and ask an electrician if you cannot confirm them safely.
Access and Clearances: Box, Vanity, and Framing
Accessibility means a box can be reached without removing building finish. A vanity can hide wiring from view, but it cannot make a concealed splice acceptable. Plan the finished wall, cabinet, and device together so the box remains usable and the cable is protected from damage.
Keep boxes and splices reachable
A junction box contains wire connections, or splices. NEC 314.29 requires boxes to remain accessible without removing building finish. Do not bury a junction box behind tile, drywall, or fixed cabinetry if reaching it would require removing that finish or cabinet.
A receptacle installed inside a cabinet raises a separate question: can it meet the basin-location and access requirements? Get AHJ approval rather than assuming that a door or removable shelf makes the position acceptable. If a proposed box cannot be reached after the vanity is installed, revise the layout.
Plan the box depth and cable path
The box must suit the device and wall finish. NEC 314.20 sets requirements for how a box sits in relation to finished surfaces, with details depending on whether the surface is combustible or noncombustible. If the box is recessed too far, a listed box extender may be needed. Do not use a loose spacer or improvised part.
Map the cable route around studs, plumbing, and cabinet fasteners before cutting. For NM cable passing through a framing member, NEC 300.4(A)(1) generally requires the hole edge to be at least 1¼ in. (32 mm) from the framing edge. If that distance cannot be met, use a steel protection plate at least 1⁄16 in. (1.6 mm) thick.
Execution: Protected Cable and Listed Boxes
This stage is where a neat plan becomes a safe installation. Use boxes and wiring methods listed for the intended use, keep connections inside boxes, and protect cable from nails and screws. If the wall is open, have the work checked when required before closing it.
De-energize, verify, and route
Turn off the correct breaker before work, then verify that the wiring is de-energized with a suitable tester. A breaker label alone does not prove a circuit is off. If you cannot identify the circuit or verify the result, stop and call a licensed electrician.
Route cable through permitted framing paths and secure it as required for that wiring method and local code. Keep it clear of sharp edges and likely fastener paths. Do not make connections loose inside a wall cavity; every splice belongs in a listed box that remains accessible.
Use a listed box and respect its capacity
A listed electrical box is tested for a defined use and installation. Choose one that fits the wall, device, cable type, and finished surface. Make sure the box is firmly supported and that its opening will not be blocked by the vanity, backsplash, or mirror.
Box fill is the allowed amount of conductors and devices inside a box. The limit depends on the box and the conductors present. Do not pack in extra wires or rely on visual judgment. Check the box’s marked capacity and applicable code rules; if it is too small, use a suitable larger box rather than forcing the connections.
Verification: GFCI, Accessibility, and Inspection
Verification checks that the finished installation is both usable and protected. Confirm the outlet location, box access, cable protection, and GFCI function before treating the project as complete. Where a permit or inspection is required, arrange it at the stage set by the local authority.
Test the finished outlet and GFCI
After installation, test the GFCI using its TEST and RESET controls and follow the device maker’s instructions. Confirm that the receptacle is usable, properly grounded where required, and not blocked by the vanity or stored items. A plug-in tester can help check some wiring conditions, but it does not replace required inspection or prove every aspect of a circuit is correct.
If the GFCI will not reset, trips repeatedly, or gives an unexpected test result, stop using the outlet and have the wiring checked. Do not bypass the protection to keep the outlet working.
Confirm access before closing the wall
Before installing the final finish, check that the box face will sit correctly relative to the finished surface and that no splice or device will be trapped. Take photos of the cable route and framing before the wall is closed; these can help with future repairs, but they do not replace code-required access.
Ask the AHJ whether inspection is needed before covering the wall. If a cabinet-mounted outlet is part of the plan, confirm its location and accessibility with the AHJ before completing the vanity installation.
Installation Scenarios: What Works and What Needs Review
These examples show how the same goal, a cleaner vanity wall, can lead to different code questions. They are planning scenarios, not a substitute for an inspection. The right answer depends on the adopted code, the existing circuit, and the actual room layout.
| Scenario | Main check | Safer next step |
|---|---|---|
| Receptacle moved into the wall beside the vanity | Is it within 3 ft (900 mm) of the basin edge, GFCI-protected, and accessible? | Confirm circuit and location before cutting. |
| Outlet placed inside a vanity cabinet | Does it meet basin-location and access requirements? | Get AHJ approval; do not assume the cabinet location qualifies. |
| Existing splice would sit behind fixed cabinetry | Can it be reached without removing building finish? | Move it to an accessible listed box. |
| Cable passes close to a stud edge | Is the bored hole at least 1¼ in. (32 mm) from the edge? | Add the required steel protection plate if the clearance is not met. |
Common field scenario: I often see a new vanity plan leave no room for the old outlet or place a drawer directly in front of it. Before cutting, I map the basin edge, device position, drawer travel, and cable route. That simple check can reveal a layout conflict while the wall is still intact.
Cabinet-recess scenario: A homeowner wants the outlet hidden inside a fixed vanity. The clean look is understandable, but the location may not satisfy the basin outlet rule or provide the intended access. The next step is to have the AHJ review the exact position, not to conceal the box and hope it passes.
Wall-finish scenario: A box can end up too deep after tile or wallboard is added. Check the planned finished surface before setting the box, then use a listed extender if the final installation requires one. Never cover a box or splice with finish.
FAQ: Bathroom Vanity Wiring and In-Wall Boxes
These answers cover common decisions when moving a bathroom receptacle or concealing its cable. Local amendments and the inspector’s interpretation may affect a specific layout, so confirm uncertain placements before finishing the wall.
Can I hide the bathroom outlet inside the vanity?
Not automatically. The outlet still needs to meet the basin-location and access rules. Ask the AHJ to approve the exact cabinet location before installing it.
Does a bathroom receptacle need GFCI protection?
Covered dwelling-unit bathroom receptacles require GFCI protection under NEC 210.8(A)(1). Confirm the adopted code edition and permitted protection method.
How close must the receptacle be to the basin?
NEC 210.52(D) requires at least one receptacle within 3 ft (900 mm) of the outside edge of each bathroom basin.
Can I bury a junction box behind the vanity?
No. A box must remain accessible without removing building finish under NEC 314.29. Fixed cabinetry must not make a splice inaccessible.
Can the bathroom receptacle use a 15-amp circuit?
NEC 210.11(C)(3) calls for a 20-amp bathroom receptacle branch circuit. Have an electrician confirm the existing circuit and any applicable local rules.
Can that 20-amp circuit also serve nearby bedroom outlets?
Do not extend it to outlets outside bathrooms. Circuit coverage depends on whether it serves one bathroom or multiple bathrooms; verify the adopted code.
How far from a stud edge must an NM cable hole be?
Generally, the hole edge must be at least 1¼ in. (32 mm) from the framing-member edge. Otherwise, NEC 300.4(A)(1) calls for a steel plate at least 1⁄16 in. (1.6 mm) thick.
What if the electrical box sits behind the finished wall?
Use a listed box extender if needed to meet the finished-surface requirements. Do not leave the device recessed or cover the box with tile or wallboard.
Can I do this work myself?
Rules for permits and homeowner electrical work vary by location. If you cannot verify the circuit, wiring route, box access, or GFCI protection, use a licensed electrician and check local permit requirements.
(This article was written by one of our staff writers, Michael Holloway. Visit our Meet the Team page.)






