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. In fact the national electrical code or nec requires a switched outlet in a habitable room without.

Light Switch Wiring Diagrams Do It Yourself Help Com
Wiring a light switch to control an outlet. The hot source wire is removed from the receptacle and spliced to the red wire running to the switch. This wiring diagram illustrates adding wiring for a light switch to control an existing wall outlet. You could replace the light switch on the wall with a switchoutlet combo. This electrical wiring question came from. You can even wire the switch to control the outlet which is a great option if you prefer a plug in light fixture to a permanent one. Wiring an outlet to a switch loop.
The source is at the outlet and a switch loop is added to a new switch. Conversely you can connect the switch for a new light fixture to a nearby outlet which is a procedure similar to wiring outlets in series. Say your countertop appliances are hogging all of the outlets in your kitchen. Mike a handyman from fort dodge iowa. The procedure is not unlike wiring multiple lights to a single switch. If thats the case youll only have one black wire one white wire and a ground wire connected to the outlet.
The exception here is if the outlet thats controlled by the light switch is only connected to that light switch and there arent any other wires. The switch can control your lights the switch can control the outlet or the switch can control both your lights and the outlet. Wiring a switch with an outlet. A switch controlled outlet is a great way to control lamps in the den living room or bedroom.