The blue wire is for the light fixture of the ceiling fan which connects to the red wire from a second wall switch.
Ceiling fan with light electrical connection.
The following will assist you with your electrical question.
The ceiling mounted electrical junction box must be approved for the weight of the ceiling fan.
This wiring diagram illustrates the connections for a ceiling fan and light with two switches a speed controller for the fan and a dimmer for the lights.
Connect the green copper wires together.
In some cases a black wire with a white stripe is used for the light fixture of the ceiling fan.
From the switches 3 wire cable runs to the ceiling outlet box.
Connect white wires together.
Powered ceiling fan and or light without any switches no switches switching the light and using the pull chain for the fan single switch switching the light and fan from the same switch single switch.
Connect the lighting wire typically blue to the black fan wire and the black ceiling wire.
The four methods are.
Wiring a ceiling fan and light getting started.
Turn the power back on and test the fan.
Ceiling fans should never be mounted to regular plastic or fiberglass light fixture boxes.
Turn off power at the breaker.
If a second wall switch is not being used then the blue wire also connects to the black wire of the circuit power source.
The wires inside of a ceiling fan are relatively simple but you have to know what each one.
Before you can start wiring your new ceiling fan you ll need to turn off the.
Tuck the wires back into the box.