Electrical Guide
Can You Put an Outlet Under a Bathroom Sink? GFCI, Vanity Cabinets and Code
Can you put an outlet under a bathroom sink? Yes. A receptacle inside the vanity cabinet is allowed, but it must be GFCI protected under NEC 210.8(A) and it does not count as the required basin receptacle. NEC 210.52(D) still needs at least one receptacle within 3 feet of each basin, on the wall, in a listed countertop assembly, or on the side or face of the cabinet no more than 12 inches below the countertop. Use the under-sink outlet for things that live there, such as a recirculation pump or point-of-use water heater.
Key Takeaways
- An outlet inside a bathroom vanity is legal with GFCI protection.
- It does not satisfy the NEC 210.52(D) basin receptacle rule.
- The basin receptacle must be within 3 feet of the sink, and no more than 12 inches below the counter if on the cabinet.
- Bathroom receptacles need a 20 amp circuit (NEC 210.11(C)(3)).
- Good uses: hot water recirculation pumps, mini tank water heaters, charging drawers.
- Mount it high in the cabinet, away from the trap and supply lines.

Bathroom vanities are getting smarter. People hide toothbrush chargers in drawers, put hot water recirculation pumps under the sink, and add point-of-use water heaters for faster hot water. All of that needs a receptacle inside the cabinet.
On forums, the answer is mostly the same. An electrician on one thread said there is nothing wrong with locating receptacles inside the cabinet, as long as the required basin receptacle is met elsewhere. On Reddit, the short version was: if it is GFCI, it is fine.
This guide explains the details that short answer leaves out: the basin receptacle rule, GFCI and circuit requirements, the best uses, where to mount the box and the common problems.
Is It Legal to Put an Outlet Under a Bathroom Sink?
Yes. No NEC rule bans a receptacle inside a bathroom vanity. Every bathroom receptacle needs GFCI, and the cabinet outlet is extra, not a replacement for the basin receptacle.
The NEC treats bathrooms as one of the highest-risk rooms for shock. Water, metal fixtures and bare feet are a dangerous mix. That is why every 125 volt receptacle in a dwelling bathroom needs GFCI under NEC 210.8(A).
But the code does not ban receptacles in vanity cabinets. Some local jurisdictions do discourage them, so ask your inspector if you are unsure.
Does an Under-Sink Outlet Count as the Bathroom Basin Receptacle?
No. NEC 210.52(D) requires at least one receptacle within 3 feet of the outside edge of each basin, and a receptacle inside the cabinet does not meet that rule.
Where the Basin Receptacle Can Go
The 2023 NEC 210.52(D) allows three locations for the required basin receptacle:
- On a wall or partition next to the basin or basin countertop.
- On the countertop, using a receptacle assembly listed for countertop use.
- On the side or face of the basin cabinet, not more than 12 inches below the top of the countertop.
The third option is the one people confuse with "under the sink." It means the outside face or side of the vanity, near the top. It does not mean inside the cabinet behind the doors.
Why Inside the Cabinet Does Not Count
The basin receptacle is for hair dryers, curling irons and shavers that you use at the mirror. A receptacle behind cabinet doors is not convenient for that, and leaves cords running out through closed doors.
| Location | Counts as basin receptacle? |
|---|---|
| Wall beside the mirror, within 3 ft | Yes |
| Listed countertop assembly | Yes |
| Side of vanity, within 12 in of the top | Yes |
| Face of vanity, within 12 in of the top | Yes |
| Inside the vanity cabinet | No |
| Listed drawer outlet | Extra only. Ask the inspector. |
What GFCI and Circuit Rules Apply?
Every bathroom receptacle needs GFCI. Bathroom receptacles must be on a 20 amp branch circuit, either one circuit for all bathroom receptacles or one circuit per bathroom that can also feed that bathroom's other loads.
GFCI Under NEC 210.8(A)
All 125 through 250 volt receptacles in a dwelling bathroom need GFCI protection. A GFCI receptacle at the basin can protect a downstream receptacle in the vanity, if it is wired on the load terminals. A GFCI breaker also works.
Mark a downstream outlet with a "GFCI Protected" sticker. It helps the next person understand why the outlet went dead and where to reset it.
The 20 Amp Bathroom Circuit Under NEC 210.11(C)(3)
The NEC requires at least one 20 amp branch circuit for bathroom receptacles. It may serve receptacles in several bathrooms, with nothing else on it. Or it may serve a single bathroom, including its lights and fan, under the exception.
Hair dryers often draw around 1,500 watts. Add a point-of-use water heater under the sink and you can trip the circuit. Size the under-sink load carefully.
AFCI
Bathrooms are not on the NEC 210.12(A) AFCI list. Some states and local codes add AFCI there anyway. Check locally.
What Should You Plug In Under a Bathroom Sink?
Hot water recirculation pumps, point-of-use water heaters, charging drawers, leak detectors and night lights. These stay put and do not need the mirror.
| Device | Notes |
|---|---|
| Hot water recirculation pump | Common under the farthest sink. Low draw. |
| Mini tank water heater | Plug-in models draw around 12 A. Check the circuit. |
| Leak sensor | Low draw. Smart insurance. |
| Toothbrush or shaver charger | Fine with airflow and no water exposure. |
| Hair tools stored plugged in | Only in listed heat-rated drawer units. |
| Space heater | Never inside a cabinet. |
Recirculation Pumps
Under-sink recirculation pumps pull hot water to the far bathroom so you do not wait at the tap. Many plug into a standard receptacle under the sink. This is one of the most practical reasons to install one.
Hair Tools in Drawers
Some vanities have listed drawer outlets with heat-resistant bins for hot curling irons. Those are special listed products, not a normal receptacle. Our guide to an outlet in a bathroom vanity drawer explains the rules.
Where Should the Outlet Go Inside a Bathroom Vanity?
High on the back wall or side, above the trap and supply lines, where a leak would not reach it. Keep it accessible behind the doors.
- Mount above the level of the drain arm.
- Keep it to one side of the shutoff valves.
- Leave room to plug in without moving bottles.
- Fasten the box to a stud or with a listed cabinet method.
- Keep a cover plate on at all times.
Vanities often have a false back panel. Cut a clean opening for the box so the plate sits flush. The box must remain accessible under NEC 314.29.
What Problems Show Up With Under-Sink Bathroom Outlets?
No GFCI, corroded devices from old leaks, boxes buried behind vanity backs and overloaded bathroom circuits.
- A non-GFCI receptacle inches from water.
- Rusty screws or green corrosion on the device.
- A box hidden behind a solid vanity back with no access.
- A water heater and hair dryer on the same 20 amp circuit.
- Extension cords run from the vanity outlet to the counter.
One homeowner on a forum decided to remove an outlet mounted right above the sink and cover it. That is fine if another receptacle meets the 3 foot basin rule. Cover any abandoned box with a blank plate and keep it accessible.
How Close Can an Outlet Be to a Bathroom Sink?
The NEC does not set a minimum distance from a bathroom sink. It sets a maximum: the required basin receptacle must be within 3 feet. GFCI handles the shock risk.
People expect a minimum like "12 inches from water." The NEC does not have one for sinks. It does have a zone for tubs and showers. See an outlet next to a bathtub and an outlet near a shower for those rules. For the whole room, see bathroom outlet rules.
Can You Put an Outlet Under a Bathroom Sink for a Bidet?
Not usually. Electric bidet seats need an outlet near the toilet, not under the sink. A cord across the floor from the vanity to the toilet is a trip and water hazard.
Some people do use a sink cabinet outlet when the toilet sits right beside the vanity and the cord can stay off the floor. A dedicated GFCI outlet beside the toilet is better. See an outlet near a toilet.
How Is an Outlet Added Under an Existing Bathroom Sink?
An electrician extends the bathroom's 20 amp receptacle circuit from the existing basin outlet, on the GFCI load side, into a new box inside the vanity.
Check the Circuit
Confirm the basin outlet is on a 20 amp bathroom circuit.
Kill Power
Turn off the breaker. Test before working.
Cut the Back
Open the vanity back and wall for an old-work box.
Fish the Cable
Drop 12 AWG cable from the basin outlet box.
Wire on Load
Connect to the GFCI load side so the new outlet is protected.
Test and Label
Press test, confirm both trip, add the sticker.
Kitchen sinks have their own appliance rules. Read an outlet under a kitchen sink for disposal and dishwasher setups.
Frequently Asked Questions
Can you put an outlet under a bathroom sink?
Yes, with GFCI protection. It does not count as the required basin receptacle.
Do I need a GFCI outlet under my bathroom sink?
Yes. All receptacles in a dwelling bathroom need GFCI under NEC 210.8(A).
How close can a receptacle be to a bathroom sink?
The NEC sets no minimum. The required basin receptacle must be within 3 feet of the basin edge.
Can the bathroom outlet be on the vanity?
Yes, on the side or face no more than 12 inches below the countertop. Inside the cabinet does not count.
What circuit should a bathroom vanity outlet use?
A 20 amp bathroom receptacle circuit under NEC 210.11(C)(3).
Can I plug a recirculation pump under the bathroom sink?
Yes. It is one of the best uses for an under-sink outlet. Use GFCI.
Can I put a regular outlet in a bathroom?
Only if it is protected by a GFCI breaker or an upstream GFCI device.
Can a vanity outlet power a bidet?
Usually not well. A GFCI outlet beside the toilet keeps the cord off the floor.
The Bottom Line
You can put an outlet under a bathroom sink. Give it GFCI protection and keep it high and away from plumbing.
Remember it is an extra outlet. You still need a basin receptacle within 3 feet of the sink, on the wall or the top 12 inches of the vanity face.
Use it for pumps, water heaters and chargers that live in the cabinet, and keep the bathroom circuit within its 20 amp limit.
How this guide was written: Written by Michael Wallace, licensed electrician in Portland, Oregon. Sources reviewed: 2023 National Electrical Code sections 210.8(A), 210.11(C)(3), 210.12, 210.52(D), 314.29 and 406.4(D); the Oregon Electrical Specialty Code; recirculation pump and point-of-use water heater manuals; and homeowner and electrician threads on r/electrical, r/HomeImprovement and electrician forums. Local amendments and your inspector decide edge cases.