Shut off the power to the circuit. Wiring two switches for two lights here two switches are wired in the same box to control two separate lights.
Wire 2 Light Switches 1 Power Source Diagram Wiring Diagram
How to wire multiple lights to one power source. Then you connect the black wire for each light to one side of each switch. You connect the black wire from the power source to one of these brass terminals the line terminal and the black wire going to the light fixture to the other which is the load terminal. How to wire two light switches with one power supply. You will want to once again strip about an inch or so of the wires and then attach them to the green ground and then securely attach it with a screw. A switch interrupts the hot leg of the circuit so it has terminals only for black wires and ground. The source is at the switch box and a 2 wire cable is run to each light.
Then connect the supply. Then you will need to attach the white wire to the silver terminal as well as the black wire to the brass terminal. One source is spliced to each switch with a pigtail to power the two lights. Pull a 12 gauge cable from the power source making sure that the power is off and the cable is dead. Also shows how to connect more than one light to the same switch. Run cables from wall box.
Install a double switch wall box and run the feed cable. Use a circuit tester to verify that the power is off to the circuit you are working on. This would be a two wire cable black white ground take the black wire and connect it to one screw on the switch and connect the ground wire to a screw inside the electrical switch box mounted to the wall. The terminals are brass. Feed it through the back of one of the switch boxes and strip the wires. Connect the wires to the receptacle issuing the power to the switches.
Basically the simplest way to have multiple lights on one switch is to run a power supply wire to the switch first. You basically connect the supply white wire to the white wires going to each light. Sam maltese shows how to wire a light when the power feed is located at the light fixture box instead of the switch box.