DEV Community

Paul
Paul

Posted on • Originally published at circuitdiagrammaker.app

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:

  • Black wire: Fan motor (hot)
  • Blue wire: Light kit (hot) -- only present on fans with a light
  • White wire: Neutral
  • Green or bare copper wire: Ground

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

  • Black wire: Hot (switched or always-on, depending on configuration)
  • White wire: Neutral
  • Red wire: Second hot (if 3-wire cable was run for separate control)
  • Green or bare copper wire: Ground

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:

  • Pancake box rated for fans (must be attached directly to a joist)
  • Fan brace box (expands between joists)
  • Must support at least 50 pounds for a fan

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:

  • Standard single-pole switch connecting the hot wire to the switch leg running to the fan.

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:

  • The wall switch simply provides power to the ceiling box. Leave it ON at all times.
  • Use the handheld remote to control fan speed and light independently.

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:

  • Fan-rated wall control: A combination control designed specifically for ceiling fans. It has a fan speed selector and a light dimmer in one unit.
  • Separate dimmer for the light only: If you have two switches (3-wire cable), you can install a dimmer on the light switch and a fan speed control on the fan switch.
  • Remote control with dimming: Many remotes include a light dimmer function.

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

  • Verify power at the switch with a voltage tester.
  • Check that the pull chain is in an ON position.
  • Verify wire connections at the ceiling box are tight and correct.
  • Test the fan motor capacitor (a common failure point on older fans).

Light Works but Fan Does Not (or Vice Versa)

  • Check that the correct wires are connected. The blue wire is for the light; the black wire is for the motor.
  • If using dual switches, verify each switch is connected to the correct wire (black vs red).
  • Test each switch independently.

Fan Wobbles Excessively

  • This is usually a balancing issue, not a wiring issue. Use a fan balancing kit.
  • However, check that the fan is securely mounted to a fan-rated box and that the mounting bracket is tight.

Fan Hums but Does Not Spin

  • The motor capacitor may be failing. Test or replace it.
  • The pull chain switch may be stuck between speed settings.

Light Flickers

  • Check for loose wire connections at the ceiling box.
  • If using a dimmer, ensure it is compatible with the bulb type (LED dimmers for LED bulbs).
  • A loose light bulb in the socket can cause flickering.

NEC Code Requirements for Ceiling Fans

  • The ceiling box must be listed and rated for fan support (NEC 314.27(C)).
  • Ceiling fans in bathrooms or over bathtubs require GFCI protection if within the shower zone.
  • All accessible electrical boxes must have a cover plate (the fan canopy serves this purpose).
  • Grounding is required -- connect the fan's ground wire to the box ground.

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:

  • Drag and drop fan, switch, and light symbols from the built-in library
  • Draw 2-wire and 3-wire cable runs with color-coded conductors
  • Label each connection for easy reference during installation
  • Export your diagram as a PDF to take to the ceiling
  • Verify your circuit by running a simulation

Create your ceiling fan wiring diagram -- free

Key Takeaways

  • Always use a fan-rated electrical box -- standard light fixture boxes are not strong enough.
  • For independent fan and light control, use a 3-wire cable (black, red, white, ground) with two wall switches.
  • If only 2-wire cable is available, add a wireless remote control for independent control.
  • Never use a standard light dimmer to control a ceiling fan motor.
  • Blue wire = light kit, black wire = fan motor. Do not mix them up.
  • Fan wobbling is usually a balance issue, not an electrical issue.

Originally published at https://circuitdiagrammaker.app/blog/ceiling-fan-wiring-diagram.

Top comments (0)