Here is a diagram to show how this circuit will be connected. Your power supply line the black wire should be feeding both switches and those switches power the fan black or the light blue.
How To Wire A Ceiling Fan With Lighting Quora
Wiring fan and light to separate switches. Wire the new fan. To do this method the wire from your wall circuit to your light has to have 3 wires. Second remove the light fixture in the room. The ceiling fan with two switches will have two sets of wires. The key factor is to understand where the power source enters the circuit. The hot wires are either black or red the white wires are neutral and the bare one is the ground.
The power source will either enter at the switch box or up at the light fixture or the exhaust fan. 3 wire cable from 2 nd ceiling outlet down to the second 2 gang box for fan light control. The source is at the switches and the input of each is spliced to the black source wire with a wire nut. I will show only the first ceiling fan and control. First turn off power to the fixture at the electrical panel. 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.
This means that you will have black red white and bare. 3 wire cable switch legs from first ceiling outlet down to a 2 gang box for the first set of switches for ceiling fan light control. Connect two of the black pigtail leads to the black wire coming from the receptacle. You can install a ceiling fan with a light in a room with a single light switch with a simple wiring trick. The electrical wiring for separate switching of the bathroom exhaust fan and the light fixture will require identifying the existing circuit and existing switch wiring. Attach the red and black wires from the fan light unit to the top terminal screws on the switches.
Make sure the box is rated for a ceiling fan. You can then place the old fan out of the way. From the switches 3 wire cable runs to the ceiling outlet box. Wiring ceiling fan and light with separate switches this method allows you to operate the fan and light power separately. Wiring a ceiling fan is as easy as connecting color to color.