Call Us Now  Available 24/7

HomeBlogsElectrical Rules & CodesHow Close Can an Outlet Be to a Toilet?

How Close Can an Outlet Be to a Toilet?

There isn’t actually a specific “minimum distance from a toilet” rule in the NEC. That’s a common misconception. What the code actually requires is that bathroom outlets be located within a certain distance of the sink (typically within 3 feet of the outside edge of the basin), and that all bathroom outlets have GFCI protection, regardless of where exactly they sit in the room. The toilet itself isn’t the reference point, the water source is.

This mix-up happens a lot, and it’s worth clearing up, because it changes how you’d actually plan an outlet location in a small bathroom.

The Real Rule: Distance From the Sink, Not the Toilet

The NEC ties bathroom outlet placement to the sink, since that’s the primary water source in the room. A bathroom needs at least one outlet within 3 feet of the outside edge of the sink basin, measured along the countertop or nearest wall. This outlet must be GFCI protected.

There’s no separate rule measuring distance specifically from a toilet. A toilet can technically be right next to an outlet, as long as that outlet meets the GFCI and general placement requirements that apply to the whole bathroom.

Why GFCI Protection Matters More Than Exact Distance

Here’s the part that actually keeps people safe: every outlet in a bathroom, not just the one near the sink, needs GFCI protection. GFCI outlets detect tiny current leaks (the kind that happen when electricity finds an unintended path, often through water or a person) and cut power in a fraction of a second, well before it becomes a serious shock.

This is why the “distance from the toilet” question, while a reasonable thing to wonder about, isn’t really what protects you. The protection comes from GFCI technology working correctly, not from an outlet being a certain number of feet away.

What the Code Actually RequiresWhy
Outlet within 3 feet of sinkEnsures convenient, safe access near the primary water source
GFCI protection on all bathroom outletsCuts power instantly if current leaks toward water or a person
No exposed outlets inside a shower or tub spaceDirect water exposure risk

These are general NEC guidelines for residential bathrooms. Local amendments can add stricter requirements, so always confirm with your local building department or a licensed electrician.

What About Outlets Near a Bathtub or Shower?

This is where the rules get stricter than anything related to a toilet. Outlets are generally not permitted inside or directly above a bathtub or shower space, and there are minimum distance requirements from the edge of the tub or shower enclosure. If you’re planning a bathroom renovation that involves moving fixtures around, this is usually the placement rule that actually requires careful planning, more so than anything involving the toilet.

A Common Renovation Mistake

A mistake that shows up often in DIY bathroom renovations: someone moves the toilet during a remodel but doesn’t reconsider whether the nearby outlet still meets the sink-distance and GFCI requirements, because they were focused on the toilet’s new location instead of the actual reference points the code cares about. If you’re remodeling a bathroom, it’s worth having an electrician review outlet placement against the new layout, not just leaving outlets where they happened to land before.

How This Fits Into Broader Outlet Placement Rules

Bathroom outlet placement is one specific application of the broader spacing and safety principles covered in our guide on electrical rules and codes. For general living space spacing (which works differently than bathroom rules), see the 2-6-12 rule for outlets.

Frequently Asked Questions

Is there really no rule about outlet distance from a toilet specifically?

Correct. The NEC’s bathroom outlet rules are based on distance from the sink and GFCI protection throughout the room, not distance from the toilet.

Can an outlet be directly next to a toilet?

Yes, as long as it meets the general bathroom requirements (GFCI protection, and it’s not inside a tub or shower enclosure).

Do all bathroom outlets need GFCI protection, or just the one near the sink?

All of them. GFCI protection applies to every outlet in the bathroom, regardless of its distance from the sink or toilet.

What should I check if I’m renovating and moving my toilet?

Focus on whether your outlet still meets the sink-distance requirement and GFCI protection after the layout changes, not on its position relative to the toilet.

If you’re planning a bathroom renovation and want to make sure outlet placement meets current code, you can reach out through our contact page for guidance.

Leave a Reply

Your email address will not be published. Required fields are marked *

© Electria 2026. All Rights Reserved.