You should switch off electrical power from the mains to avoid electrocution. The hot source wire is removed from the receptacle and spliced to the red wire running to the switch.

4 Way Switch Wiring Electrical 101
Wiring an electrical outlet to a light switch. If youre wiring a new switch youll need to install an electrical box. This wiring diagram illustrates adding wiring for a light switch to control an existing wall outlet. Run the cable from the circuit breaker to the location of the electrical outlet. It can be anywhere but if you want it to be compliant with the americans with disabilities act put it 44 inches above the floor preferably near a door. Is it possible to wire a switch for a light and at the same time connect an outlet to the switch that will not power off and on with the switch. Mike a handyman from fort dodge iowa.
Wiring a switch with an outlet. Wiring an outlet to a switch loop. How to wire an electrical outlet. Run a cable to the light fixture and another cable to the outlet from which youre drawing power. In this simple wiring diagram the combo switch outlet is connected to the 120v ac supply through cb. One cant be too careful.
For lights turn the light switch on and off to be sure. Before doing any wiring plug the radio into other outlets you plan to work on. Your cable should be long enough to reach each socket. To be safe test both the top and bottom with the radio. Socket outlet wiring diagrams. The break away fin tab is intact therefore line hot is connected to the only one brass terminal on line side.
Some duplex outlets can have different circuits running to adjacent outlets. The source is at the outlet and a switch loop is added to a new switch. This electrical wiring question came from. Switch off the mains. The neutral is connected to the neutral silver. Wiring a light bulb with combo switch and outlet.