The diagram below shows the power entering the circuit at the grounded outlet box location then sending power up to the switch and a switched leg back down to the outlet.
Wiring diagram for light switch and outlet in same box.
Wiring an outlet to a switch loop.
This page contains wiring diagrams for household light switches and includes.
Wiring a light switch and outlet on the same circuit is something that electricians do regularly.
The source is at the outlet and a switch loop is added to a new switch.
This diagram illustrates wiring a gfci receptacle and light switch in the same outlet box a common arrangement in a bathroom with limited space.
Jul 30 2017 easy to read diagrams for two outlets in one box 2 switches in one box switch and outlet in same box and other 2 gang wiring.
Wiring a gfci outlet and a light switch in one box.
Also included are wiring arrangements for multiple light fixtures controlled by one switch two switches on one box and a split receptacle controlled by two.
Wrapping the wire clockwise when wiring a light switch ensures that the loop on the end of the wire will tend to close when the screw is tightened.
If you put the loop over the screw in the counterclockwise direction tightening the screw will force the loop open and could create a loose connection.
This wiring diagram illustrates adding wiring for a light switch to control an existing wall outlet.
When the wiring connections are made properly there is always the possibility for the wiring in a switch box to provide power for a light switch while providing power to outlets on the same circuit.
Notice that these outlets have the tab removed from the hot side or brass side of the outlet which allows the top half of the plug to be controlled only from the switch.
The hot source wire is removed from the receptacle and spliced to the red wire running to the switch.
You just need to keep track of the wire designations and make the spliced connections to support the devices you are connecting to.
The hot source is spliced with a pigtail to the line terminal on the receptacle and to on terminal on the light switch.
It depends how you want the switch and receptacle to function.