This wiring illustrates the switched-receptacle circuit with the switch coming first. The hot source is wired to the bottom terminal on the switch and the top terminal connects to the black running to the receptacle. The source neutral is spliced through to the receptacle neutral.
This diagram illustrates the wiring for a bedside lamp with two sockets. The top socket A, holds a standard incandescent bulb. The second socket B, typically holds a small, low-wattage bulb similar to a night light bulb. The switch allows for energizing the top bulb only, the night light only, both bulbs at once or for turning both bulbs off.
This is an updated diagram for the same circuit. Here the source neutral, known as a grounded neutral, is run through to the switch box where it can be used to power switches that require a neutral connection. A neutral connection like this is now required in most new switch boxes as of the code changes in 2011.
This diagram shows the wiring for a new receptacle added from a light switch. The switch must have an always-hot wire for the source and a neutral wire must be present for the return path. The hot source is spliced with a pigtail back to the switch, and to a new 2-wire cable running to the new outlet. The neutral is spliced in the switch box to both the existing light, and the cable to the new receptacle.
A special isolated-ground receptacle is require for this circuit and can be identified by the orange color and a small triangle imprinted on the face. When connecting the wires, the isolated ground wire (the red wire pictured here) is marked with green tape or paint on each end and connected to the grounding bar in the service panel, and to the grounding terminal on the receptacle.
The always-hot wire from the receptacle is spliced to the black wire on the fixture cable, and to a pigtail that connects back to the hot terminal on the receptacle. At the light fixture box, the black is spliced to the black from the switch cable. At the switch box the black wire is connected to the bottom terminal on the new switch.
This page contains wiring diagrams for adding a new light fixture using an existing receptacle as the source. Diagrams include adding a light from a switched receptacle and tapping an always-hot outlet. Different wiring arrangements are included to allow for either the light or the switch to come first in the circuit.
This drawing illustrates the wiring for a split receptacle controlled by a switch. The tab connecting the hot terminals on the receptacle is removed and the source hot is connected to the bottom half. The source neutral is connected to one of the neutral terminals on the receptacle.