Bathroom Wiring Diagram: Electrical Code Requirements and Layout
Bathroom electrical wiring has strict code requirements because of the proximity to water. GFCI protection, proper circuit sizing, and correct placement of outlets, switches, and fixtures are all mandated by the NEC (National Electrical Code). This guide covers bathroom wiring requirements, circuit planning, and complete wiring diagrams.
NEC Requirements for Bathroom Electrical
GFCI Protection (NEC 210.8)
Every 120V, 15A and 20A receptacle in a bathroom must have GFCI protection. This is non-negotiable. Options:
- GFCI receptacle at each outlet location
- GFCI breaker protecting the entire bathroom circuit
- Upstream GFCI receptacle protecting downstream outlets via LOAD terminals
GFCI protection is required regardless of how far the outlet is from water. Every bathroom outlet needs it.
Dedicated Circuit (NEC 210.11(C)(3))
Bathrooms require at least one dedicated 20A circuit for receptacle outlets. This circuit can serve outlets in multiple bathrooms, but it cannot serve outlets or lighting outside of bathrooms.
You have two options:
- Single 20A circuit: Serves bathroom receptacles only (not lights or fans). This circuit can serve outlets in multiple bathrooms.
- Individual 20A circuit per bathroom: Serves all outlets, lights, exhaust fan, and other loads in that one bathroom.
Most electricians prefer option 2 for master bathrooms with high loads (hair dryers, curling irons, heaters).
Outlet Placement (NEC 210.52(D))
- At least one receptacle outlet must be installed within 36 inches of the outside edge of each bathroom sink basin.
- Outlets must be on the wall or partition adjacent to the basin, not inside a cabinet.
- Floor outlets are not permitted in bathrooms.
Lighting Requirements
- At least one wall-switch-controlled light fixture is required.
- Lighting can be on the same 20A circuit as outlets (if option 2 above), or on a separate general lighting circuit.
- Shower/tub lights must be rated for wet locations and on GFCI protection.
Exhaust Fan Requirements
Most local codes require a bathroom exhaust fan (unless the bathroom has an operable window). The fan should:
- Be rated for the bathroom size (1 CFM per square foot minimum)
- Be on a separate switch or timer
- Vent to the exterior (not into the attic)
- Can be on the bathroom circuit or a separate circuit
Shower and Tub Area
NEC 410.10(D) restricts what can be installed in the shower/tub zone:
- No switches, outlets, or junction boxes within the shower/tub space
- Light fixtures must be rated for wet locations if within the shower/tub zone
- GFCI protection required for any 120V fixture in the shower/tub area
- Exhaust fan/light combos in the shower must be wet-rated and GFCI-protected
Bathroom Wiring Diagram: Standard Layout
Circuit 1: Bathroom Receptacles (20A dedicated)
From the main panel:
- 20A single-pole breaker with GFCI protection (or GFCI breaker)
- 12 AWG wire (12/2 NM with ground) to the first outlet
- Outlets daisy-chained in parallel using pigtail connections
- All outlets are GFCI-protected
Circuit 2: Lights and Fan (15A or 20A)
From the main panel:
- 15A or 20A breaker to the bathroom switch box
- 14/2 or 12/2 NM wire to the switch box
- From the switch box:
- One switch controls vanity light(s)
- One switch controls exhaust fan (or timer switch)
- Optional: third switch for shower light
- Switch legs run to each fixture
Switch Box Layout
A typical bathroom has a multi-gang switch box near the door with:
- Switch 1: Vanity light(s)
- Switch 2: Exhaust fan (or countdown timer switch)
- Switch 3 (optional): Shower/tub light
- Switch 4 (optional): Night light or heated floor
Vanity Light Wiring
The vanity light is typically above the mirror, centered on the sink:
- Hot wire from the switch to the light fixture junction box
- Neutral from the switch box to the fixture
- Ground to the fixture
- For multiple vanity lights, wire in parallel from a single switch
Exhaust Fan Wiring
The exhaust fan is typically centered in the bathroom ceiling:
- Hot wire from the timer switch or toggle switch
- Neutral from the switch box
- Ground to the fan housing
- If the fan has a built-in light, a 3-wire cable (14/3) allows separate switching of the fan and light
Heated Floor Wiring
Electric radiant floor heating in bathrooms:
- Requires a dedicated 20A circuit (most heating mats draw 8-12A)
- Must be GFCI-protected
- Controlled by a floor thermostat (usually with a floor sensor)
- Thermostat mounts in the wall at standard switch height
- Heating mat connects to thermostat per manufacturer instructions
Wire Routing in Bathrooms
In the Walls
- Run NM cable through stud bays, keeping cables at least 1.25 inches from the face of studs (or use nail plates)
- Avoid running cables behind bathtub/shower surrounds where they could be damaged
- Use moisture-resistant boxes in wet areas
Ceiling Runs
- Exhaust fan and ceiling light cables run through ceiling joists
- Support cables every 4.5 feet with staples
- At recessed lights near showers, use IC-rated (insulation contact) fixtures rated for wet locations
Common Bathroom Wiring Mistakes
- No GFCI protection: Every bathroom outlet needs GFCI. No exceptions.
- 15A outlet circuit: Bathroom outlets require a 20A circuit with 12 AWG wire.
- Shared circuits: Bathroom outlet circuits should not serve loads outside the bathroom.
- Exhaust fan vented to attic: Moisture in the attic causes mold and rot. Vent to the exterior.
- Wrong fixture rating: Shower/tub area fixtures must be rated "wet location" -- not just "damp location."
- No neutral at switch box: NEC 2011+ requires a neutral conductor at every switch location for future smart switch compatibility.
- Outlet too far from sink: At least one outlet must be within 36 inches of each sink.
- Fan undersized: Size the fan for the room. Minimum 1 CFM per square foot, 50 CFM minimum.
Bathroom Remodel Electrical Checklist
When remodeling a bathroom, verify:
- 20A dedicated circuit for outlets (12 AWG wire)
- GFCI protection on all outlets
- At least one outlet within 36 inches of each sink
- Wall-switch-controlled lighting
- Exhaust fan with proper CFM rating, vented to exterior
- Wet-rated fixtures in shower/tub zone
- Neutral wire in switch box
- Proper ground connections throughout
- All work inspected by the local building department
Creating Bathroom Wiring Diagrams
Use CircuitDiagramMaker to plan your bathroom electrical layout before starting work. The DIY symbol pack includes GFCI outlets, switches, light fixtures, exhaust fans, and breakers. Draw the complete circuit from panel to each device, label wire gauges, and export as a PDF for your reference or for the electrical inspector.
Try the AI circuit generator with "bathroom wiring diagram with GFCI outlets, vanity light, and exhaust fan" to get a starting point.
Conclusion
Bathroom wiring requires careful attention to GFCI protection, dedicated circuits, and proper fixture ratings. The NEC requirements exist because water and electricity are a dangerous combination. Follow the code, get your work permitted and inspected, and use quality materials rated for the environment.
Plan bathroom electrical layouts with CircuitDiagramMaker -- free online wiring diagram tool with GFCI, switch, and fixture symbols.