How to wire an electrical switch and outlet

Written by billy brainard
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to wire an electrical switch and outlet
(electric outlet 2 image by Dawn Williams from

Wiring an outlet to a wall switch will give you the flexibility of having half of the outlet to be constantly powered, while the remaining half, or top plug, is controlled by the switch. Plugging a lamp into the top plug will allow you to turn on the lamp or other device as you enter the room. Simply installing a typical single pole wall switch inline with an existing outlet will give you the complete circuit.

Skill level:
Moderately Challenging

Things you need

  • Electrical junction box
  • Pencil
  • Keyhole saw
  • 5 feet, 14-2 electrical cable
  • Wire cutters/strippers
  • Single pole wall switch
  • 1 package wire nuts
  • Electrical tape

Show MoreHide


  1. 1

    Turn the power off to the outlet at the main service (circuit) panel.

  2. 2

    Loosen and remove the screw holding the cover plate on the outlet. Also, remove the top and bottom screw holding the outlet in the junction box. Pull the outlet out of the box as far as the wiring will allow.

  3. 3

    Mark the location on the wall above the outlet, where you will install the wall switch. Trace the shape of the junction box onto the wall at this mark. Cut a hole in the wall along the outline. Insert the junction box into the hole and secure it in place using the screws included in the kit. Punch out one of the knockout holes in the bottom of the box.

  4. 4

    Run the electrical cable through the back of the new junction box hole and down to the existing outlet, and pull it out the front of the outlet box. Leave six inches of cable at each end, hanging out the two boxes and cut away the excess cable.

  5. 5

    Strip three inches of the outer sheathing away at each end of the cable. Inside there will be three wires. Two insulated and one bare. Strip one inch of insulation off the end of the insulated wires at each end of the cable.

  6. 6

    Connect the wall switch to the wiring at the new junction box. Connect the bare wire to the green screw, connect the black wire to the brass screw, and the white wire to the silver screw. Tighten each screw down on the wire. Push the wiring into the box and insert a screw into the top and bottom holes on the switch, and attach it to the box. Install the cover place over the switch in the same manner.

  7. 7

    Loosen and remove the wires from the existing outlet, and set the outlet aside. Cut a six inch piece of cable (from the excess wire left over) and strip off all the outer sheathing and completely separate the wires. Take only the black wire and strip off one inch of insulation off each end. This will serve as a pigtail in the steps to follow.

  8. 8

    Take one end of the pigtail and twist it together with the other two black wires, and twist a wire nut on the end. Connect the remaining free end of the pigtail to the brass screw next the bottom plug on the outlet. Twist all the bare wires together and connect them to the single green screw on the outlet.

  9. 9

    Attach the white wire from the service panel to the silver screw on the left side of the outlet (left side as you look at the front of the outlet). Attach the white wire from the switch to the remaining brass screw on the right side of the outlet. Wrap a piece of black tape around the white wire from the switch to indicate it is a hot wire.

  10. 10

    Cut away the brass connector between the two brass screws on right side of the outlet. Push the wiring into the box, and insert a screw into the top and bottom holes on the outlet and tighten them down to the box. Install the cover place and tighten it down with a single screw in the centre hole.

  11. 11

    Turn the power on at the service panel, and plug in a light to the outlet to test for power and to check that the switch operates the light.

Tips and warnings

  • Never attempt to work on this or any other electrical cable without first turning the power off.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.