Bathroom GFCI Outlet Placement Rules
Last updated: November 19, 2026
Quick Answer: In most bathrooms, a GFCI receptacle works best when it is placed beside the sink or vanity, outside the normal splash zone, and far enough from the tub and shower to stay dry. In practice, that usually means planning around the sink first, then the tub and shower.
In short: a bathroom GFCI receptacle belongs where it is useful, not where it is exposed to splash, and the sink, tub, and shower each change the risk profile. The right placement keeps the outlet accessible, keeps cords away from water, and still leaves enough room for a hair dryer, shaver, or toothbrush charger without stretching across a basin or over a wet floor. This guide explains Bathroom GFCI Outlet Placement Rules by Sink, Tub, and Shower for a typical vanity wall, a tub-adjacent wall, and a shower-adjacent spot.
Key Takeaways
- A GFCI receptacle cuts power when it detects leakage current.
- Beside the vanity is often the most practical spot, if splash stays away.
- Keep the outlet close enough to use, but outside ordinary sink spray.
- Near a tub is possible only when the receptacle stays out of the wetting area.
What a GFCI receptacle does in a bathroom

A GFCI receptacle protects people from shock by cutting power when it senses current leaking where it should not go. In a bathroom, that matters because water, damp skin, and plugged-in devices tend to meet in a tight space around the sink, tub, and shower.
The National Electrical Code treats bathrooms as a special case, and readers should consult a licensed electrician or local code official before final placement; see the NEC and the Electrical Safety Foundation International for guidance on bathroom receptacles. A standard 15A or 20A receptacle in a bathroom is not just any outlet; in most modern installs it needs GFCI protection, and the receptacle must be placed in a spot that is still practical to use. That practical part is where most confusion starts. The code is not trying to make the outlet invisible. It is trying to keep it out of obvious wetting zones and still close enough to serve the counter.
For a reader planning placement, the useful question is not “Can I put an outlet somewhere in the room?” It is “Can I put one where the cord will not cross a sink, where a splash will not hit the device directly, and where the plug can be reached without stretching?” A bathroom GFCI receptacle is often best on the wall beside the vanity, not behind open water, not tucked where a towel hangs over it, and not so low that it gets hit by mopping water.
There are trade-offs. Move the receptacle farther from the sink and you may need longer cords or a second outlet. Place it too close and the outlet becomes annoying to use, or worse, routinely wet. That is why the sink, tub, and shower have to be considered separately. The same wall can be acceptable next to a countertop and wrong beside a tub deck.
For background on the broader room, the bathroom electrical and lighting hub can sit alongside this guide; this page only handles receptacle placement around fixtures, not the full layout. For code context, see the National Electrical Code and the Electrical Safety Foundation International.
Bathroom GFCI outlet placement by sink and countertop
For Bathroom GFCI Outlet Placement Rules by Sink, Tub, and Shower, the sink area is usually the first place to solve. The most practical spot is often on the wall beside the sink or vanity countertop, outside the direct splash zone and easy to reach from the basin. That is the placement most readers actually need, because the sink is where shavers, dryers, and chargers get used.
The countertop changes the decision. A receptacle sitting just above the counter is easier to use than one that sits low near the base cabinet, but it also needs to stay clear of sink splash and faucet spray. If the outlet lands on the backsplash, it should not be positioned so close to the rim that every hand wash sends droplets onto it. The goal is not a magic number alone; it is a location where normal use does not force a cord to hang over water.
A workable way to think about the sink is in three layers:
- Direct splash zone: the area where water from the faucet or a wet hand can hit the wall in a normal wash. Do not place the receptacle here.
- Working zone: the wall space near the countertop where a cord can plug in and drop straight down or across the vanity without crossing the bowl.
- Dead zone behind the faucet arc: avoid this if the fixture sprays or if a device would have to sit over the sink to reach power.

Here is the basic placement process I would use on a vanity wall:
- Mark the sink edge and countertop depth, then identify the wall area the faucet can wet during normal use. That gives you the no-splash band to avoid.
- Choose a receptacle height that clears the backsplash and stays easy to plug into, commonly near the countertop zone rather than down at the baseboard. The plug should not touch the counter edge when inserted.
- Check the cord path for a hair dryer or razor. The cord should travel down or sideways, not across the sink bowl. If the cord must cross the basin, the placement is wrong.
- Confirm the box is not hidden behind a mirror, medicine cabinet, or open towel ring. An outlet that is blocked by trim is legal in some layouts but annoying every day.
- Put the receptacle where a user can stand dry-footed on the bathroom floor and plug in without leaning over standing water. That is the real usability test.
A common mistake is placing the outlet too close to the basin because the wall space looks empty. The cost is daily nuisance at best and repeated wetting at worst. The fix is simple: slide the receptacle farther from the faucet side, even if that means it lands on the adjacent wall rather than directly beside the sink.
If the countertop is unusually wide, one receptacle can end up too far from the normal grooming spot. In that case, a second GFCI-protected receptacle may be more useful than one awkwardly centered outlet, as long as each one stays out of the sink splash zone. For layout help, compare this with the vanity and bathroom electrical and lighting hub, and check the National Electrical Code with a licensed electrician.
How close can a bathroom outlet be to a sink?

A bathroom outlet should be close enough to use, but not so close that normal sink splash reaches it. That is the practical rule, and it matters more than trying to force a one-size-fits-all distance into every vanity.
People often want a single number here because it feels cleaner. The problem is that sink size, faucet height, backsplash depth, and counter shape all change the safe answer. A shallow bar sink on a tiny powder room vanity behaves differently from a deep undermount basin under a tall gooseneck faucet. The National Electrical Code gives bathroom receptacle rules, but the placement judgment still depends on the fixture arrangement.
A better standard is this: if a wet hand can reach the receptacle area during ordinary use, the outlet is too close. If a plugged-in cord must drape over the bowl to be useful, the outlet is also too close. Many bathroom vanity setups work well when the receptacle is on the side wall or on the backsplash just outside the sink’s direct wetting area, rather than directly above the drain line or centered over the basin. For code interpretation, verify the layout with the NEC and a qualified electrician.
The best placements for sinks are usually:
- on the side wall beside the vanity,
- on the backsplash a short step away from the faucet,
- or on the counter wall near the grooming area, not over the bowl.
The worst placements are the ones that look neat on paper but fail in use:
- behind the faucet spray,
- low on the wall where mop water or splash can reach it,
- or directly above a sink where the cord hangs into the basin.
There is also a comfort factor. A receptacle that sits too far from the normal standing position turns every charge or grooming session into a cord-management exercise. That does not make it unsafe by itself, but it does create the temptation to use an extension cord or leave a device perched near water. That is the wrong trade.
If a remodel leaves the outlet awkwardly close to the sink, the right correction is usually a box relocation before the wall finish goes up. After tile or backsplash is in place, the fix gets more expensive and less elegant. This is one of those cases where a little extra planning saves a lot of compromise later.
Can you put a receptacle next to a tub?
A receptacle can be near a tub only if it stays out of the tub’s immediate wetting area and still follows the bathroom electrical rules for receptacle placement. That is a stricter situation than a vanity wall because a tub sends water farther and more unpredictably than a sink.
The tub introduces a different risk. Steam, dripping hands, shampoo bottles, and wet bath mats all make the area around a tub more vulnerable than a countertop wall. A receptacle too close to the tub deck is a bad idea even if it looks convenient for a phone charger or bath accessory. The issue is not only splash; it is also the habit of reaching for things while standing in a wet area.
A reader should treat the tub as a “do not crowd” zone, and a licensed electrician can help confirm whether a particular wall location is acceptable. If the outlet would end up where someone can reach it from inside the tub, or where bath water and spray can strike the device, it does not belong there. A receptacle on the opposite wall, outside the tub perimeter and away from the curtain or glass door swing, is usually a much better choice.
There is also a common layout mistake in older bathrooms: someone puts the receptacle on the wall beside a tub because that is the only open stud bay. That may satisfy the desire to have power in the room, but it often creates a bad user experience. A person bathing should not have to reach past wet surfaces to plug in a cord. If the only available location forces that, the outlet belongs elsewhere.
For a tub-adjacent wall, I would check three things before accepting the spot:
- Water path: where does water actually land when the tub is used?
- Reach path: can a person use the receptacle without leaning over the tub?
- Cord path: will a cord run near the tub rim or across the floor where it can get wet?
If any answer is wrong, move the outlet. The expense of an extra wall box is small compared with the hassle of a bad tub-side location.
This is also the area where a non-specialist can fool themselves by thinking “it’s dry when empty, so it’s fine.” A bathroom is not judged by how dry it looks at rest. It is judged by what happens during real use, and the tub is the most unforgiving fixture in the room.
What about a shower wall or shower-adjacent spot?
A receptacle should not be placed in a shower enclosure, and a shower-adjacent wall needs enough separation that spray, steam, and wet hands do not make the device part of the wet zone. That is the simplest rule and the one most readers need.
The shower is the clearest boundary in the bathroom. Unlike a sink, where splash risk is local, or a tub, where the deck may still offer workable side-wall options, a shower enclosure is meant to stay free of receptacles. The combination of direct spray, concentrated moisture, and frequent contact with wet skin makes it the wrong place for an outlet of any kind.
The common mistake is trying to justify a receptacle “near” the shower because the bathroom is small. Size does not change the hazard. If the wall is inside the shower area, the outlet does not belong there. If the wall is outside the enclosure but still gets mist or standing water, the placement still needs to be reconsidered.
A shower-adjacent spot can work only when it is clearly outside the enclosure and outside the splash path. A glass door, curtain track, and tile return can all change the wet zone. A device that looks far enough away on a plan may still sit in the path of steam and spray once the shower is running. That is why shower proximity is one place where “looks okay” is not enough.
The practical approach is conservative:
- keep the receptacle on a dry wall, not in the enclosure,
- avoid placing it where a shower door swings through the area,
- and keep the cord route away from the shower threshold.
A reader who wants power for a heated towel rail, a cleaner, or a charging device near the shower should stop and reconsider the layout rather than force a receptacle into the wrong wall. If the only feasible option is inside the shower boundary, the answer is no.
Common placement mistakes that cause real problems
The biggest placement mistakes are the ones that make the outlet hard to use, easy to wet, or both. A bathroom GFCI receptacle is not just about code compliance; it has to survive everyday mess.
Three errors show up again and again:
- Putting the outlet behind the sink bowl. This forces cords over water. The cost is constant annoyance and a higher chance of a wet connection. Move it to the side wall or farther along the backsplash.
- Placing it too low near the floor. Low placement invites splash, mop water, and awkward bending. A higher, reachable location on the vanity wall is usually better.
- Crowding it near the tub or shower threshold. The result is a wet zone outlet that no one really wants to use. Shift it to a dry wall even if that means a longer cord path.
Another mistake is treating the GFCI feature as a substitute for sane placement. GFCI protection is a safety layer, not permission to put the receptacle wherever water happens to be. That misunderstanding leads people to ignore fixture proximity altogether. The right mindset is: the GFCI handles fault detection; the location still needs to avoid routine wetting.
One more issue deserves mention: blocking the receptacle with trim, mirror edges, or cabinet doors. A hidden outlet might still function, but if a user has to open doors or move items every time they plug in a device, the placement is poor. The standard should be simple access in under a few seconds, with no need to reach over the sink or step into a wet area.
The honest limit here is that some bathrooms are too tight for a perfect answer. In a narrow powder room or an old bath with fixed tile, the best available spot may still be a compromise. When that happens, choose the driest wall, keep it away from the tub and shower, and avoid any placement that makes the cord cross the sink.
The simplest rule set for a safe, usable layout
A good bathroom receptacle placement keeps the GFCI near the vanity, away from direct water, and out of the tub and shower zones. That is the shortest usable rule set, and it works better than trying to memorize a single distance for every fixture.
If I had to reduce the whole topic to one planning sequence, it would be this: start with the sink splash zone, then check the tub perimeter, then reject anything inside or beside the shower enclosure, and only then choose the final wall box location. In that order, the layout usually falls into place.
Here is the quick decision filter:
- Sink: close enough to use without crossing the basin, far enough to avoid normal splash.
- Countertop: the outlet should be usable from the grooming area, not hidden or forced.
- Tub: the receptacle should stay outside the wetting path and away from reach from inside the tub.
- Shower: keep the outlet outside the enclosure and away from spray.
If the layout still feels uncertain, a licensed electrician and the local code office can confirm the final location before drywall or tile closes the wall. That check is usually faster and cheaper than moving a finished box later.
Drafted with AI; not yet reviewed by a person.
