How to Wire a Bathroom Exhaust Fan with Light? | Two Switches

Wire a bathroom exhaust fan with light by running 12/3 or 14/3 cable for independent fan and light control from two switches, connecting black to the fan lead and red to the light lead.

A bathroom fan that doesn’t vent and a light that won’t switch independently are the two most common results of wiring a combo unit wrong. Knowing how to wire a bathroom exhaust fan with light the right way means choosing the correct cable and connecting each wire to its proper terminal — black to fan, red to light, white to shared neutral, and all grounds bonded together.

Whether you want both devices on a single switch or independent control, the approach is straightforward once you understand the wire roles and cable requirements. This guide covers both setups, the exact materials you need, and the step-by-step process that keeps your installation safe and code-compliant.

How Do You Wire a Bathroom Exhaust Fan with Light for Independent Control?

Independent control of the fan and light requires two separate switched hot wires running from the switch box to the fan unit. A 12/3 or 14/3 Romex cable provides exactly that: a black wire for the fan, a red wire for the light, a shared white neutral, and a bare ground wire. The fan unit itself will have a black or blue wire for the light fixture — connect the cable’s red wire to that blue light lead, and the cable’s black wire to the fan’s black motor lead.

Each wire color has a specific job, and mixing them up is the fastest way to get controls that work backward.

Wire Color Two-Switch Role Single-Switch Role
Black (cable) Fan switched hot (to fan’s black motor lead) Main switched hot for both fan and light
Red (cable) Light switched hot (to fan’s blue light lead) Not used — cap with wire nut
Blue (fan unit) Light fixture connection (receives red wire) Light fixture connection (receives black if sharing)
White (cable) Shared neutral for fan and light Shared neutral for fan and light
Green or bare Ground bonded to box and fan housing Ground bonded to box and fan housing

Wiring a Bathroom Exhaust Fan with Light: Cable and Switch Choices

The cable you need depends on your circuit breaker rating and whether you want single or independent control. A 15-amp circuit uses 14-gauge wire; a 20-amp circuit uses 12-gauge wire. For independent fan and light control, you need three conductors plus ground (labeled as 14/3 or 12/3). Running a single 14/2 or 12/2 cable gives you only one switched hot — both fan and light will turn on and off together.

Circuit & Control Cable Required Hot Wires Used Switch Requirement
15A, single switch 14/2 Romex Black (one switched hot) One single-pole switch
15A, two switches 14/3 Romex Black + red (two switched hots) Two single-pole switches
20A, single switch 12/2 Romex Black (one switched hot) One single-pole switch
20A, two switches 12/3 Romex Black + red (two switched hots) Two single-pole switches
15A with timer 14/2 or 14/3 Black (+ red if separate light control) Compatible timer switch
15A with GFCI 14/2 or 14/3 Black + red GFCI combo switch
Smart fan (15A) 14/3 (neutral required at switch) Black + red + white (neutral) Smart switch requiring neutral

Step-by-Step Wiring Procedure

Follow these steps in order, and verify every connection before restoring power. The detailed wiring diagrams on the Do-It-Yourself-Help site show each configuration visually, which helps double-check your work.

  1. Kill the power. Turn off the breaker supplying the circuit. Use a non-contact voltage tester on the existing wires to confirm zero voltage before touching anything.
  2. Run the cable. Pull your 12/3 or 14/3 Romex from the switch box to the fan location. Strip about 6 inches of outer sheathing at the fan end and remove ¾ inch of insulation from each conductor.
  3. Secure the cable. Thread the cable through a clamp in the fan box, leaving roughly 1 inch of sheathing visible inside the box. Tighten the clamp so the cable can’t move.
  4. Wire the fan unit. Connect the cable’s black wire to the fan’s black motor lead. Connect the cable’s red wire to the fan’s blue light lead. Splice all white wires together with a wire nut — this is the shared neutral. Bond all bare and green ground wires together and attach them to the metal box’s ground screw and the fan housing ground wire.
  5. Wire the switches. In the switch box, connect the incoming power hot (black) to one terminal on each switch using pigtails. Connect the black wire going to the fan to the other terminal of the first switch. Connect the red wire going to the light to the other terminal of the second switch. Splice the neutrals together and bond all grounds to the switch box and each switch’s ground screw.
  6. Test for correct function. Restore power and flip each switch. If the left switch controls the light when you want it to control the fan, kill power and swap the black and red connections at the fan unit.
  7. Finish the install. Once everything works correctly, secure the fan housing, attach the grille, and install the switch plate covers.

Common Mistakes and Fixes

Most DIY wiring problems come down to a few predictable errors. Knowing them beforehand saves you a trip back to the panel.

  • Using 12/2 instead of 12/3 for a two-switch setup. A single 12/2 cable only carries one hot wire — you can’t get independent control. Replace it with 12/3 or run a second 12/2 cable.
  • Failing to bond grounds. A metal box with no ground connection is a shock hazard. Use a green ground screw in the tapped hole if no pigtail is present, and connect every ground wire together.
  • Not bundling the neutrals. The fan and light share one neutral. If you leave one white wire disconnected, that device won’t work. Splice all white wires together.
  • Swapping the red and black connections. This reverses which switch controls which device. De-energize the circuit and swap the wires at the fan unit to correct it.
  • Ignoring GFCI requirements. Bathroom receptacles must be GFCI-protected per NEC 2023. If your fan circuit shares a box with an outlet, install a GFCI breaker or a GFCI combo switch.

Tools and Materials You’ll Need

Having everything on hand before you start keeps the job moving. You’ll need a fan-light combo unit, the correct Romex cable (14/3 for 15A or 12/3 for 20A), two single-pole switches, wire nuts, a cable clamp, a screwdriver, wire strippers, and a non-contact voltage tester. If you haven’t chosen a fan yet, our top-rated bathroom exhaust fans with light can point you to reliable models that suit your bathroom size and wiring setup.

Independent Versus Combined Control: Which Should You Choose?

A single-switch setup costs less in materials and is simpler to wire — both fan and light turn on and off together. A two-switch setup requires 12/3 or 14/3 cable and an extra switch, but lets you run the fan after the light is off, which is essential for clearing steam after a shower. For most bathrooms, the independent setup is worth the extra wire cost, especially if you install a timer switch so the fan runs for a set period and then shuts off automatically.

Whichever route you take, the procedure stays the same: match each wire to its designated terminal, bond all grounds, bundle the neutrals, and verify function before closing up the box.

FAQs

Can I use 12/2 cable if I want two separate switches?

No. A single 12/2 cable provides only one hot wire, which can power only one switched device. For independent fan and light control, you need 12/3 cable (black, red, white, ground) to carry two separate switched hots.

Do bathroom exhaust fans require GFCI protection?

Yes. The NEC requires GFCI protection for all bathroom receptacles. If your fan is on a shared circuit with an outlet, install a GFCI breaker at the panel or use a GFCI combo switch to meet code.

What happens if I connect the red wire to the fan and the black wire to the light?

The switches will control the wrong device — the fan switch will turn on the light and vice versa. This is harmless to the equipment. De-energize the circuit and swap the red and black connections at the fan unit to correct it.

Can I wire a fan and light to a single switch?

Yes. Use 14/2 or 12/2 cable and connect both the fan’s black lead and the light’s blue lead to the switch’s hot wire. Both will turn on and off together with no independent control.

Do I need a permit to install a bathroom exhaust fan?

Local building codes vary, but most jurisdictions require an electrical permit for new wiring added to an existing circuit. Check with your local building department before starting the work.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.