The Roof

Roofing, gutters and home repair explained

How to Wire an Attic Fan Switch: Step-by-Step

· 7 min read · Attic and Insulation

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Wiring a switch for your attic fan lets you control it manually instead of relying only on a thermostat or humidistat. This guide covers the standard method: adding a single-pole wall switch to an existing attic fan circuit. Before starting, turn off power at the breaker and verify it with a voltage tester. If you are not comfortable working inside electrical boxes, hire a licensed electrician.

What You'll Need

  • Voltage tester (non-contact or multimeter)
  • Wire strippers/cutters
  • Flathead and Phillips screwdrivers
  • Needle-nose pliers
  • Single-pole switch (15-amp rated for 120V)
  • Wire nuts (sizes appropriate for your wire gauge)
  • Electrical tape (optional)
  • Flashlight
  • Ladder (if accessing attic wiring)

Step-by-Step

  1. Turn off the power. Locate the circuit breaker that feeds the attic fan and switch it to OFF. If you are not sure which breaker, turn off the main breaker. Place a note on the panel so no one turns it back on while you work.
  2. Verify power is off. Use a voltage tester on the existing fan wires and on the wires in the switch box you plan to use. Test both the black (hot) and white (neutral) wires. If the tester lights up or beeps, the power is still on – do not proceed.
  3. Access the attic fan wiring. If the fan is already wired to a thermostat or directly to a junction box, open that box. You will see a black (hot), white (neutral), and green or bare (ground) wire. If the fan has a built-in thermostat, you will likely have two black wires from the thermostat – one from the power source and one to the fan motor.
  4. Run a new cable to the switch location. You need a 14/2 with ground (or 12/2 if the circuit is 20-amp) cable from the fan junction box to the switch box. Run the cable through the attic, stapling it at least every 4.5 feet and within 12 inches of each box. Leave about 8 inches of wire exposed at each end.
  5. Strip the wires. At both ends, strip 3/4 inch of insulation from the black and white wires, and 1/2 inch from the ground wire.
  6. Connect the wires at the fan junction box. In the fan box, you will have the power source cable (coming from the breaker) and the new cable going to the switch. Connect the black wire from the power source to the black wire of the new cable. Connect the white wire from the power source to the white wire of the new cable. Connect the ground wires together (bare or green) and pigtail to the fan's ground screw if present. Use wire nuts and ensure no bare copper is exposed.
  7. Connect the fan motor wires. The fan motor has a black (hot) and white (neutral) wire. Connect the black motor wire to the other black wire in the fan box (the one that goes to the switch – not the power source). Connect the white motor wire to the white neutral bundle. If the fan has a thermostat, you will need to bypass it: connect the power source black directly to the switch cable black, and the fan motor black to the switch cable's other black (the one that returns from the switch). The thermostat is removed or left in the circuit? Actually, for a manual switch, you bypass the thermostat entirely. Connect the power source black to the switch cable black, and the fan motor black to the switch cable's white (but that is not correct – you need a separate wire for the switch leg). Let me clarify: The switch interrupts the hot wire. So the power source black goes to one wire of the new cable (say black), and the fan motor black goes to the other wire of the new cable (say white, but re-identify it with black tape). The white wire from the power source connects to the fan motor white. Grounds connect together.
  8. Wire the switch. At the switch box, you will have the black and white wires from the cable. The black wire is the hot from the power source. The white wire is the switched hot (going back to the fan). Mark the white wire with black tape at both ends to indicate it is hot. Connect the black wire to one brass screw on the switch, and the white (marked) wire to the other brass screw. Connect the ground wire to the green screw on the switch and to the box if metal.
  9. Mount the switch and fan. Carefully push the wires into the switch box, mount the switch to the box, and attach the cover plate. In the attic, secure the fan junction box cover.
  10. Restore power and test. Turn the breaker back on. Flip the switch – the fan should turn on and off. If it does not, turn off power and recheck your connections.

Common Mistakes

  • Forgetting to turn off power – always verify with a tester.
  • Using the white wire as a hot without marking it – this is against code and dangerous.
  • Connecting the switch in the neutral line – the switch must be on the hot wire.
  • Not using a cable clamp where the wire enters the box – this can damage insulation.
  • Overcrowding the switch box – if the box is too small, use a larger box.

Tips

  • If your attic fan has a thermostat, you can still install a switch to override it. Wire the switch in parallel with the thermostat so either can turn the fan on.
  • Use a switch rated for the fan's amperage – most attic fans draw less than 5 amps, so a 15-amp switch is fine.
  • Label the switch at the panel so future homeowners know what it controls.
  • Consider a timer switch to avoid leaving the fan on all day.
  • If you are not confident, take photos of the existing wiring before you disconnect anything.

Troubleshooting

  • Fan does not turn on: Check that the breaker is on and the switch is in the ON position. Use a voltage tester to see if power is reaching the switch. If not, the problem is upstream. If power is at the switch but not at the fan, check the connections in the fan box – a loose wire nut is common.
  • Fan runs but switch does not control it: The switch is probably wired in parallel with the thermostat. You need to wire it in series – the switch must be in the hot line, not bypassed.
  • Switch feels warm: This could indicate an overloaded circuit or loose connection. Turn off power and check the wire connections – they should be tight. If the switch is rated for 15 amps and the fan draws less, it should not overheat.
  • Fan hums but does not spin: The motor may be faulty or the capacitor (if present) is bad. Check the fan's manual.

Frequently Asked Questions

Can I use a dimmer switch for my attic fan?

No. Dimmer switches are not designed for inductive loads like motors and can cause damage or fire. Use a standard single-pole switch.

Do I need a permit for this?

Most localities require an electrical permit for adding a new circuit or switch. Check with your local building department. If you are replacing an existing switch, a permit is usually not needed.

What if my attic fan has a thermostat – can I still add a switch?

Yes. You can wire the switch in parallel with the thermostat, so either can turn the fan on. Or you can bypass the thermostat entirely with the switch, but then you lose automatic operation.

Can I wire the switch in the attic instead of on the wall?

Technically yes, but it is not recommended. A switch in the attic is inconvenient and may be hard to reach. Also, the switch must be accessible – not hidden behind insulation.

What gauge wire should I use?

Use the same gauge as the existing circuit. Most attic fans are on 15-amp circuits, so 14-gauge wire is fine. If the circuit is 20-amp, use 12-gauge.

Is it safe to work in the attic?

Attics can be hot, cramped, and have sharp objects. Wear gloves, long sleeves, and a dust mask. Use a sturdy board to walk on if there is no flooring. If the attic is very steep or high, consider hiring a professional.