Wiring For A Light Switch and Outlet - Ask the Electrician Wiring a Switch for a Light and Outlet: Plan your wiring accordingly so you can make all these connections. Two examples have to do with ceiling fans, but the same applies to any regular light fixture. Wiring Diagrams for Switched Wall Outlets - Do-it-yourself Wiring an Outlet to a Switch Loop. This wiring diagram illustrates adding wiring for a light switch to control an existing wall outlet. The source is at the outlet and a switch loop is added to a new switch. The hot source wire is removed from the receptacle and spliced to the red wire running to the switch.