Hide Toothbrush Cord in Cabinet (Internal Outlet Box)
A clean way to keep a toothbrush charger off the counter is to install a listed, accessible receptacle inside the bathroom cabinet and plug the charger directly into it. The receptacle needs GFCI protection, suitable placement, and proper box support. Keep the charger and its cord inside the cabinet, clear of water, stored items, and moving doors.
A quick win is to check whether your cabinet has a safe, reachable spot for the charger before planning any wiring. That simple check can rule out places where the plug would hit a drawer, sit beside a leak-prone pipe, or get buried under towels.
I treat this as an electrical installation, not just a hole for a cord. The goal is to hide the charger while leaving the outlet accessible and the cord wholly inside the cabinet. Code rules vary by location, so confirm the locally adopted National Electrical Code (NEC) edition and amendments with your local building department or a qualified electrician.
Planning the Cabinet Outlet and Code Check
A cabinet outlet is a receptacle mounted inside a bathroom cabinet for a charger that stays there during use. The outlet must be properly protected, installed in an approved box, and reachable without taking apart the cabinet. Start by checking local rules, the charger instructions, and the cabinet layout.
Bathroom receptacles in a dwelling unit require ground-fault circuit-interrupter (GFCI) protection under NEC 210.8(A)(1). A GFCI helps reduce shock risk by interrupting power when it detects an imbalance. Do not remove, bypass, or replace this protection with a standard receptacle.
Ask an electrician to confirm the adopted code edition, local amendments, and how the proposed cabinet receptacle will be supplied. Branch-circuit work can involve more than adding a box: the circuit, wiring method, protection, and existing bathroom outlets all need review. NEC 110.3(B) also requires listed equipment to be installed according to its listing and manufacturer instructions.
Keep the required basin receptacle in mind. NEC 210.52(D) generally calls for a receptacle within 3 feet (900 mm) of the outside edge of each bathroom basin. Do not assume an outlet inside a cabinet meets that requirement. Its location and the adopted code determine whether it qualifies; have the electrician or local authority confirm.
Before planning installation, gather:
- The charger’s instructions and plug dimensions.
- The cabinet’s inside width, depth, and usable wall space.
- The location of the basin, plumbing, drawers, hinges, and existing receptacles.
- The local requirements for permits and electrical work.
A renter should also get written approval before cutting a cabinet or adding wiring. The next step is to check whether the chosen spot remains accessible and clear in everyday use.
Confirming Access, Basin Location, and Clearances
The outlet’s position should let you reach it through the cabinet door, keep it away from likely leaks and splashes, and leave room for the charger plug. Measure the cabinet with drawers and doors in motion, not just while everything is open. A convenient location is not suitable if it pinches the cord or blocks access.
NEC 314.29 requires electrical boxes to remain accessible without removing building finish or structural parts. A receptacle behind an ordinary cabinet door is generally reachable; one concealed behind a fixed panel or permanently installed shelf may not be. Keep the cover and receptacle visible and usable once the cabinet is loaded.
Map the cabinet before choosing the mounting point. Check for:
- The sink bowl, supply lines, drain, and shutoff valves.
- Drawer slides, hinges, pull-out trays, and cabinet-door movement.
- Stored items that could cover the outlet or press on the charger.
- A route for the building wiring that avoids sharp edges and plumbing.
If cable passes through framing, NEC 300.4(A)(1) generally requires at least 1¼ inches (32 mm) between the cable and the nearest edge of the framing member. If that spacing cannot be maintained, the code provides for a steel protection plate at least 1⁄16 inch (1.6 mm) thick, or an equivalent. The electrician should select and install the protection based on the framing and wiring method.
| Check | Suitable condition | Stop and reassess if |
|---|---|---|
| Access | Outlet is reached by opening the cabinet door | A fixed panel or permanent shelf blocks it |
| Basin location | Required basin receptacle position is separately confirmed | The new outlet is assumed to satisfy the basin rule |
| Plumbing | Outlet and charger are away from likely leaks | Pipes, valves, or a leak path sit directly above them |
| Door and drawers | Cord remains inside without being squeezed | Door, drawer, or hinge traps the cord |
| Storage | Charger stays clear of contents | Towels or products cover or press against it |
Building on this check, mark the proposed outlet location and test the fit with the charger in place before any cabinet is cut.
Installing the Box, Receptacle, and Cord
The box holds the receptacle and its wiring; it must be suited to the installation and large enough for the conductors and device. There is no universal box depth for this job. The installer must follow the box and receptacle instructions, provide secure support, and calculate box fill under NEC 314.16.
I recommend having a qualified electrician handle the branch-circuit work, including any new wiring, connections, and GFCI arrangements. The exact method depends on the existing circuit and the locally adopted rules. Splices must remain inside an accessible box; do not leave a splice loose in the cabinet or hide it behind a fixed panel.
A practical sequence is:
- Confirm the plan. Verify the circuit, GFCI protection, basin-receptacle requirements, cabinet location, and charger instructions.
- Choose the mounting point. Keep the box reachable and away from plumbing, stored items, and moving hardware.
- Install the listed assembly. Use a box, receptacle, cover, and mounting method approved for the application, following their instructions.
- Protect and support the wiring. Use the correct wiring method, secure the box, and protect cable where it passes through framing.
- Fit the charger. Plug it directly into the cabinet receptacle. Keep its cord and plug entirely inside the cabinet.
The last point matters. NEC 400.12 prohibits using flexible cords where concealed in or passed through building walls, ceilings, or floors. Do not drill a hole and feed the toothbrush charger cord through a wall, through a cabinet partition used as a concealed route, or through a door gap. The cabinet receptacle keeps the flexible cord visible and accessible within the cabinet rather than using it as concealed building wiring.
Do not substitute an extension cord or power strip hidden behind a fixed panel. Those products do not turn an unsuitable location into a compliant installation. If the charger plug or cord does not fit without pressure, move the receptacle or reconsider the cabinet arrangement.
Testing GFCI Protection and Final Cabinet Fit
Before using the charger, confirm that the receptacle has GFCI protection and that the installation works as intended. The final check includes the GFCI’s test and reset controls, the charger’s fit, cabinet movement, and clearance from stored items. No single airflow number applies to every cabinet or charger.
Follow the receptacle and charger manufacturer instructions when testing and using the equipment. Use the GFCI test and reset controls, or an appropriate tester, as directed. If the GFCI will not reset, trips repeatedly, or behaves unexpectedly, stop using the outlet and ask an electrician to investigate.
Close and open the cabinet door and move each nearby drawer through its full travel. Confirm that:
- The cord does not cross a hinge, drawer track, or sharp cabinet edge.
- The plug stays seated and is not pushed sideways by the door.
- The charger is not covered by towels or other heat-retaining items.
- The outlet remains accessible without moving fixed parts.
- The charger instructions allow the intended placement and use.
The NEC does not set a universal cabinet airflow rate or CFM for a toothbrush charger. Follow the charger maker’s instructions, keep it unobstructed, and do not pack it among towels or other items that may retain heat. If the charger becomes unusually warm, shows damage, or has a loose plug, unplug it and stop using it until the cause is checked.
Typical installation scenarios
These examples show how I assess common layouts; they are not reports of specific customers or a substitute for an on-site inspection.
- Open vanity with a clear side wall: A listed receptacle may fit inside the cabinet if the wiring route, GFCI protection, box support, and basin-receptacle rules check out. The charger can sit clear of plumbing and stored items.
- Shallow cabinet with a drawer above: A plug may project into the drawer’s travel space. In that case, shifting the outlet or using another approved cabinet location is safer than forcing the plug to fit.
- Cabinet with a fixed interior shelf: If the shelf blocks access to the box or receptacle, the location may conflict with NEC 314.29. Use a reachable location rather than treating the shelf as a removable access panel.
- No suitable cabinet location: Do not route the charger cord through a hole into the wall or hide an extension cord. Ask an electrician about a different compliant outlet location.
The useful test is not whether the cord disappears from view when the door closes. It is whether the outlet remains accessible, the charger stays unobstructed, and the cord avoids water exposure and pinch points.
Frequently Asked Questions
These answers address the common decisions involved in placing a toothbrush charger inside a bathroom cabinet. Local code adoption, cabinet construction, and product instructions can change what is allowed. Confirm the installation with a qualified electrician where wiring or code compliance is uncertain.
Can I put a regular receptacle inside a bathroom cabinet?
A receptacle may be installed there if the installation complies with local rules, has required GFCI protection, uses suitable listed equipment, and remains accessible. Have an electrician confirm the location and wiring.
Does the cabinet outlet need GFCI protection?
Yes. NEC 210.8(A)(1) requires GFCI protection for dwelling-unit bathroom receptacles. Check the locally adopted edition and amendments.
Will an outlet inside the cabinet count as the required basin receptacle?
Do not assume so. NEC 210.52(D) generally requires a receptacle within 3 feet (900 mm) of the basin’s outside edge, but whether a cabinet outlet qualifies depends on the adopted code and its placement. Confirm with the electrician or local authority.
Can I hide the charger cord through a hole in the cabinet?
Keep the flexible charger cord inside the cabinet and plug it directly into the cabinet receptacle. Do not route it through a wall or use a concealed path that could pinch or hide the cord.
Can I put an extension cord or power strip inside the cabinet instead?
Do not hide one behind a fixed panel or use it as a substitute for a properly installed receptacle. Ask an electrician to assess a suitable outlet location.
Can the outlet sit behind a removable cabinet door?
A normal cabinet door can open to provide access. The box should not be blocked by building finish or structural parts; NEC 314.29 requires accessibility.
How far should the outlet be from the sink?
The required basin receptacle is generally within 3 feet (900 mm) of the outside edge of the basin under NEC 210.52(D). That is not a universal safe-distance rule for every cabinet outlet. The layout and local requirements need review.
Does the cabinet need a vent?
There is no universal NEC airflow or CFM requirement for a toothbrush charger. Follow the charger instructions and keep it clear of towels and other heat-retaining items.
Can I install the box myself?
Rules on permits and who may perform electrical work vary by location. Because the work can involve branch-circuit wiring and GFCI protection, use a qualified electrician unless local rules and your qualifications clearly allow otherwise.
What should I do if the GFCI trips?
Stop using the outlet and unplug the charger if it is safe to do so. Do not bypass the GFCI; have an electrician check the receptacle, charger, and circuit.
A cabinet outlet can make the vanity look cleaner without hiding unsafe wiring. Keep the receptacle accessible, use GFCI protection, install listed equipment as directed, and leave the charger cord entirely inside the cabinet.
(This article was written by one of our staff writers, Michael Holloway. Visit our Meet the Team page.)





