Ceiling Fan Wiring Diagram: With and Without Light

Installing a ceiling fan is one of the most popular home electrical projects. Whether you are replacing a light fixture with a fan, adding a fan where none existed, or upgrading to a fan with a light kit, understanding the wiring is essential for a safe and functional installation.

This guide covers ceiling fan wiring for every common scenario: fan only, fan with light, separate switch control, remote control, and dual fan installations.

Ceiling Fan Wiring Basics

A ceiling fan typically has three to four wires coming out of the motor housing:

These wires connect to the house wiring in the ceiling box, which typically has:

Ceiling Box Requirements

Before installing a ceiling fan, verify that the ceiling electrical box is rated for fan support. A standard light fixture box is NOT rated for the weight and vibration of a ceiling fan.

Fan-rated boxes:

If the existing box is not fan-rated, replace it with one that is before proceeding.

Wiring Diagram 1: Fan Only (No Light), Single Switch

The simplest configuration. One switch controls the fan motor.

At the ceiling box:

  1. Connect the fan's black wire (motor) to the house black wire (hot from switch).
  2. Connect the fan's white wire to the house white wire (neutral).
  3. Connect the fan's green/bare wire to the house green/bare wire (ground).
  4. Cap the fan's blue wire (if present) with a wire nut -- it is unused.

At the switch box:

Fan speed is controlled using the pull chain on the fan.

Wiring Diagram 2: Fan with Light, Single Switch

One switch controls both the fan and the light together. They turn on and off at the same time.

At the ceiling box:

  1. Connect the fan's black wire (motor) AND blue wire (light) together to the house black wire (hot from switch).
  2. Connect the fan's white wire to the house white wire (neutral).
  3. Connect the grounds together.

Fan speed and light on/off are controlled with pull chains on the fan.

Limitation: You cannot control the fan and light independently from the wall. Both come on when you flip the switch.

Wiring Diagram 3: Fan and Light, Two Separate Switches (3-Wire Cable)

This is the preferred configuration. Two wall switches independently control the fan motor and the light kit. This requires a 3-wire cable (black, red, white, ground) between the switch box and the ceiling box.

At the ceiling box:

  1. Connect the fan's black wire (motor) to the house black wire (from the fan switch).
  2. Connect the fan's blue wire (light) to the house red wire (from the light switch).
  3. Connect the fan's white wire to the house white wire (neutral).
  4. Connect the grounds together.

At the switch box:

  1. Connect the incoming hot wire to both switches using a pigtail.
  2. Switch 1 (fan): Connects the hot to the black wire going to the ceiling.
  3. Switch 2 (light): Connects the hot to the red wire going to the ceiling.
  4. Connect all neutrals together (they pass through).
  5. Connect all grounds together with pigtails to each switch.

Advantage: Full independent control of fan speed (via pull chain or wall control) and light (on/off at the wall).

Wiring Diagram 4: Fan with Light, One Switch + Remote Control

If you only have a 2-wire cable (black, white, ground) to the ceiling but want independent control of the fan and light, a wireless remote control receiver is the solution.

At the ceiling box:

  1. Connect the house black wire (hot) and white wire (neutral) to the remote receiver's input wires (usually also black and white).
  2. The receiver has separate output wires for the fan motor and the light kit. Connect these to the fan's black and blue wires respectively.
  3. Connect the fan's white wire to the neutral bundle.
  4. Connect grounds together.

At the switch box:

Many modern ceiling fans come with a remote control kit included, with the receiver designed to fit inside the fan's canopy.

Wiring Diagram 5: Replacing a Light Fixture with a Fan

If you are replacing an existing light fixture with a ceiling fan:

  1. Verify the box is fan-rated. If not, replace it.
  2. Check the cable. If only 2-wire cable (black, white, ground) runs to the box, you can do single-switch control or add a remote. If 3-wire cable is present, you can wire for dual switches.
  3. Connect as described in Diagram 2 (single switch) or Diagram 4 (with remote).

Wiring Diagram 6: Fan with Dimmer Switch

Important: Do NOT use a standard light dimmer switch to control a ceiling fan motor. Standard dimmers are designed for resistive loads (light bulbs) and will damage a fan motor, cause buzzing, and create a fire hazard.

To dim the fan's light kit, use one of these approaches:

Wiring Diagram 7: Two Fans, One Switch

If you want to control two ceiling fans from one switch (common in large rooms), wire them in parallel:

  1. Run a cable from the switch to the first fan location.
  2. Run a second cable from the first fan location to the second fan location.
  3. At each ceiling box, connect the fan wires to the house wiring as in the single-switch diagrams above.
  4. Both fans operate together from one switch.

Note: Ensure the circuit can handle the combined load. Two fans with lights can draw 3 to 5 amps total, which is well within a 15A circuit's capacity.

Wire Color Code Summary

Wire Color Function
Black (from fan) Fan motor hot
Blue (from fan) Light kit hot
White (from fan) Neutral
Green / bare (from fan) Ground
Black (house) Switched hot (or first switch leg)
Red (house) Second switch leg (in 3-wire cable)
White (house) Neutral
Green / bare (house) Ground

Troubleshooting Ceiling Fan Wiring

Fan Does Not Turn On

Light Works but Fan Does Not (or Vice Versa)

Fan Wobbles Excessively

Fan Hums but Does Not Spin

Light Flickers

NEC Code Requirements for Ceiling Fans

Testing Ceiling Fan Wiring With a Multimeter

Before closing up the ceiling box, confirm every connection with a multimeter or non-contact voltage tester.

  1. Confirm power is off. At the breaker panel, switch off the circuit feeding the fan. At the ceiling box, touch a non-contact voltage tester to each wire -- it should not beep or light up.
  2. Test the fan's internal wiring. Set the multimeter to resistance/continuity mode. Touch one probe to the fan's black motor lead and the other to the white lead at the wiring harness -- you should get a resistance reading from the motor winding, not an open circuit.
  3. Check the pull-chain switch. With the fan disconnected from the circuit, test continuity across the pull-chain switch terminals in each speed position. Each position should produce a different reading; no continuity in any position points to a failed switch.
  4. Verify grounding continuity. With power still off, test continuity between the fan's ground wire and the ceiling box's grounding screw or pigtail -- you should read near 0 ohms.
  5. Restore power and test at the switch. With the circuit re-energized, touch the voltage tester to the black hot wire at the switch box -- it should indicate voltage when the switch is on.
  6. Always verify at the point of work. A breaker being off at the panel does not guarantee the wire in front of you is dead -- test with the tester immediately before touching any conductor.

When to Call a Licensed Electrician

Some ceiling fan jobs are within reach of a confident DIYer; others are not.

Ceiling Fan Wiring Outside North America

This guide describes North American wire colors and NEC references. If you are wiring a fan in the UK, Ireland, or elsewhere under IEC-based wiring regulations (BS 7671 in the UK), the color code is different: brown is line (hot), blue is neutral, and green-yellow striped is earth -- not the black/white/green used in North America. Supply voltage is also typically 230V rather than 120V. UK and EU installations commonly include a fan isolator switch mounted near the fan, providing a local means of disconnecting the fan for maintenance, separate from the wall switch. If you are working to BS 7671 or another IEC-based standard, follow your local color code and regulations rather than the North American colors and NEC references in this guide.

Create Your Own Ceiling Fan Wiring Diagram

Planning your ceiling fan installation with a diagram ensures you get the right cable, switch configuration, and connections before you start. With CircuitDiagramMaker, you can:

Create your ceiling fan wiring diagram -- free

Key Takeaways

Ceiling Fan Circuit Diagram — circuit diagram showing component connections15A BreakerFan SwitchCeiling FanFan Light230V AC UtilityCeiling Fan WiringFan + Light share switch
Ceiling Fan Circuit Diagram — open the interactive version of this diagram to customise and export it.
Ceiling Fan Capacitor Wiring Diagram — circuit diagram showing component connections230V SupplyC1 (Start)C2 (Common)Ceiling Fan Capacitor Wiring Diagram
Ceiling Fan Capacitor Wiring Diagram — open the interactive version of this diagram to customise and export it.
Ceiling Fan Coil Diagram — circuit diagram showing component connections15A BreakerFan SwitchCeiling FanFan Light230V AC UtilityCeiling Fan WiringFan + Light share switch
Ceiling Fan Coil Diagram — open the interactive version of this diagram to customise and export it.

Frequently asked questions

Can I use a regular light switch to control a ceiling fan?

Yes, for basic on/off control of the fan motor a standard single-pole switch works fine -- the switch just interrupts the black hot wire feeding the fan. Fan speed is still set at the fan itself with the pull chain, or with a separate fan-rated speed control. Never use a standard light dimmer for the fan motor.

What size wire do I need for a ceiling fan circuit?

Ceiling fans are almost always installed on a 15A circuit, which uses 14 AWG copper wire. A 20A circuit would use 12 AWG. Match the wire gauge to the breaker size already protecting the circuit -- do not use a smaller wire than the breaker rating allows.

What happens if I connect the blue and black fan wires together by mistake?

If the blue (light) and black (motor) wires are joined and both land on the same switched hot, the fan and light will simply turn on and off together instead of independently -- this is actually how Wiring Diagram 2 in this guide works intentionally. It will not damage the fan, but you lose independent control.

Can I install a ceiling fan without a ground wire?

No. Grounding is required for a ceiling fan installation. If your existing box has no ground wire (common in older homes with two-wire cable and no ground), you need to run a new ground path or have an electrician evaluate the circuit before installing a fan.

Is it safe to install a ceiling fan on a switch loop with no neutral?

You can wire a basic fan with a pull-chain control on a switch loop with no neutral at the switch, since the switch only interrupts the hot conductor. However, smart fan controls or remote receiver kits that need power at the switch box typically require a neutral there, so check the product's requirements first.

Why does my ceiling fan remote control interfere with a neighboring fan?

Most fan remote receivers use one of a small number of DIP-switch-selectable radio frequency codes. If two fans in close proximity share the same code, one remote can control both. Open the receiver in the canopy and change the DIP switch pattern on each fan to a unique combination to fix this.

Interactive diagrams for this guide

Related guides