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 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:

  1. Single 20A circuit: Serves bathroom receptacles only (not lights or fans). This circuit can serve outlets in multiple bathrooms.
  2. 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))

Lighting Requirements

Exhaust Fan Requirements

Most local codes require a bathroom exhaust fan (unless the bathroom has an operable window). The fan should:

Shower and Tub Area

NEC 410.10(D) restricts what can be installed in the shower/tub zone:

Bathroom Wiring Diagram: Standard Layout

Circuit 1: Bathroom Receptacles (20A dedicated)

From the main panel:

  1. 20A single-pole breaker with GFCI protection (or GFCI breaker)
  2. 12 AWG wire (12/2 NM with ground) to the first outlet
  3. Outlets daisy-chained in parallel using pigtail connections
  4. All outlets are GFCI-protected

Circuit 2: Lights and Fan (15A or 20A)

From the main panel:

  1. 15A or 20A breaker to the bathroom switch box
  2. 14/2 or 12/2 NM wire to the switch box
  3. From the switch box:
    • One switch controls vanity light(s)
    • One switch controls exhaust fan (or timer switch)
    • Optional: third switch for shower light
  4. Switch legs run to each fixture

Switch Box Layout

A typical bathroom has a multi-gang switch box near the door with:

Vanity Light Wiring

The vanity light is typically above the mirror, centered on the sink:

  1. Hot wire from the switch to the light fixture junction box
  2. Neutral from the switch box to the fixture
  3. Ground to the fixture
  4. For multiple vanity lights, wire in parallel from a single switch

Exhaust Fan Wiring

The exhaust fan is typically centered in the bathroom ceiling:

  1. Hot wire from the timer switch or toggle switch
  2. Neutral from the switch box
  3. Ground to the fan housing
  4. 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:

  1. Requires a dedicated 20A circuit (most heating mats draw 8-12A)
  2. Must be GFCI-protected
  3. Controlled by a floor thermostat (usually with a floor sensor)
  4. Thermostat mounts in the wall at standard switch height
  5. Heating mat connects to thermostat per manufacturer instructions

Wire Routing in Bathrooms

In the Walls

Ceiling Runs

Common Bathroom Wiring Mistakes

  1. No GFCI protection: Every bathroom outlet needs GFCI. No exceptions.
  2. 15A outlet circuit: Bathroom outlets require a 20A circuit with 12 AWG wire.
  3. Shared circuits: Bathroom outlet circuits should not serve loads outside the bathroom.
  4. Exhaust fan vented to attic: Moisture in the attic causes mold and rot. Vent to the exterior.
  5. Wrong fixture rating: Shower/tub area fixtures must be rated "wet location" -- not just "damp location."
  6. No neutral at switch box: NEC 2011+ requires a neutral conductor at every switch location for future smart switch compatibility.
  7. Outlet too far from sink: At least one outlet must be within 36 inches of each sink.
  8. 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:

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.