How to Add a Switch to an Electrical Outlet

Updated on April 15, 2019
wilderness profile image

Dan has been a licensed journey-level electrician for some 17 years. He has extensive experience in most areas of the electrical trade.

Wall switches can be added to control plug in lamps and other devices.
Wall switches can be added to control plug in lamps and other devices. | Source

Why Add a Switch to an Electrical Outlet?

There are two main reasons that most people would add a switch to an electrical outlet: to either switch that outlet (or half of it, anyway) or to add a light somewhere. This article will assume that the first is the reason you are reading this: you want to switch that outlet on and off.

Switched outlets are very common in modern construction of new homes. It is much cheaper for a builder to add a switch than it is to add a switch plus a ceiling electrical box plus a light fixture. The new owner is expected to use a lamp to light the room rather than a ceiling light.

Switching an outlet yourself will allow you to switch a lamp from a convenient location rather than unplugging it or switching it off at the lamp. It is also possible to plug such things as TV sets, computers, or other "vampire" appliances into a switched outlet, saving electricity over time by turning those appliances completely off. Not a bad idea. Plus, it protects sensitive electronics from voltage spikes due to lightning or utility problems.

What You'll Need to Add a Switch

You'll need a new switch and new wire. To get the right type, you must know the size of the circuit breaker or fuse protecting the outlet.

How to Find Out the Size of the Circuit Breaker or Fuse?

Plug in a lamp or radio and turn off breakers or remove fuses until you find the one that shuts off the power to the outlet. It will be marked with the ampacity of the circuit, either a 15 amp or 20 amp circuit. That number will determine the rating of both the switch and the wire to be used. The switch must never be rated for less than the circuit; a 20 amp circuit must have a 20 amp switch while a 15 amp circuit may use either a 15 or 20 amp switch.

Similarly, a 20 amp circuit requires #12 wire while a 15 amp circuit may use either #14 or #12 wire (although #14 is cheaper and easier to use). You will need 3 conductor wire, typically labeled either 14/3 or 12/3 depending on size; it will have 3 insulated wires plus a bare grounding wire. Make sure that you have enough wire to reach to either the attic or crawl space, across to the wall where the new switch is to be located and down to the switch. Measure carefully and add ten feet or so; better to have too much than too little.

You will need an "old work" box for the switch and almost certainly another one to replace the one the outlet is in, along with a small handful of wire staples to fasten the wire to rafters or joists with. A few wire nuts will be useful, and you will need a cover plate for the new switch.

Using a non contact voltage detector.
Using a non contact voltage detector. | Source

Safety First!

Before any work is done, make absolutely sure the power is turned OFF. One of the best methods is to use a non contact voltage detectors such as is shown in this photo. Inexpensive and easy to use, these testers are a must for anyone doing electrical work.

How to Run the Wire for the New Switch

This is the most labor-intensive part of the job and will require the most work. Wire must be run from the outlet to the new switch and that isn't always easy.

  1. Holes must be drilled inside the stud bay, either through the floor into the crawl space or through the top plate into the attic, at both the existing outlet and the new switch.
  2. Wire must then be fed through the hole, across the space and into the wall with the switch. It must then be inserted in the respective electrical boxes, along with any existing wire.

It is beyond the scope of this short article to detail how this is to be done, but a second article on adding an outlet to an existing outlet does. If you're having any trouble, please reference that article on how to run wire between an existing outlet and a new outlet or switch.

The tip of the small screwdriver is resting on the tab that needs breaking off for a half hot outlet.  This tab provides an electrical connection between the two screws and must be removed to allow the two plug in spots to operate independently
The tip of the small screwdriver is resting on the tab that needs breaking off for a half hot outlet. This tab provides an electrical connection between the two screws and must be removed to allow the two plug in spots to operate independently | Source
A typical light switch.  The black and red wires terminate on the brass screws on the right, the smaller screw near the top of the switch is colored green and is for the ground wire.
A typical light switch. The black and red wires terminate on the brass screws on the right, the smaller screw near the top of the switch is colored green and is for the ground wire. | Source

How to Wire the New Switch

The existing outlet will have black and white wires attached to it, and probably a third ground wire that is either green in color or bare of any insulation.

  1. Remove the black wire from the outlet and, using a wire nut, splice it to the black wire in the new cable you have run.
  2. If the existing white wire is spliced to other white wires, add the new white wire to the wire nut. If it is not, cut a short, 6" piece of white wire, remove the white wire from the outlet and splice the short piece, the existing white wire and the new white wire all together.
  3. Terminate the short piece back to where the white wire came from. Do the same for the ground wire—that wire that is either green or bare of insulation.
  4. If the outlet is to be completely switched (both plug in spots), terminate the red wire in the new cable to where the black wire used to be. If the outlet is to be a half hot outlet, half of it permanently powered and half of it switched, break the small tab between the two brass colored screws off.
  5. Do not break the tab between the silver colored screws, just the one between brass screws. A small 6" piece of wire must be added to the splice of the two black wires and terminated on one of the brass screws (normally the bottom one). The red wire in the new cable is terminated on the upper brass screw.
  6. Please note that one of these two screws is where the original black wire used to be terminated—the small tab between the screws used to power both plug in spaces from one screw, but a wire to each one is now required.
  7. To terminate a wire onto a screw, strip the insulation from the last ½" of wire and bend it into a loop. Wrap it around the screw in a clockwise direction and tighten the screw.
  8. The new switch is wired by attaching the black wire to one screw, the red to a second screw and the ground wire to the ground screw located near one end of the switch. While it doesn't make any difference which brass screw is chosen for which colored wire, make sure that the ground screw attaches to the ground screw.
  9. Install the switch into the new electrical box and fit the cover plate to it with the two small screws that came with the cover plate. You're finished!

This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters.

Questions & Answers

  • I have a CPAP machine which is powered through an AC to DC transformer (or power supply @125VAC, 1.5 Amperes). Is it safe to install an ON/OFF in-line lamp switch between the CPAP converter and the AC wall outlet? I'd like to avoid plugging and unplugging my CPAP machine before and after using it so the converter doesn't consume power while it is plugged in.

    Certainly. There isn't much difference between a switch and unplugging, after all. An alternative would be to make the outlet a "half hot", as shown here: Half the outlet remains hot while the other half is switched via a wall switch.

  • I ran a new wire from a light switch to an overhead light. The area overhead above the ceiling joist is very close together. Should the wires be stapled to the ceiling joist? The wire is going across the top of the joist.

    Code requires that the wire is stapled unless it is being "fished" through an inaccessible space such as the inside of a wall. If it is possible to do so, it should be fastened to the joists, but if you can't reach the wire and use a hammer to nail down the staples, it is fine as is.

  • How do you add a switch to an existing outlet that prevents it from being energized when unattended (keeps children from getting shocked)? Just want to place the switch at a height above outlet that children can’t reach.

    Follow the explicit directions given in the article at

  • I have two switches in my kitchen. One goes to a light in the kitchen, and the other one to a light outside. How do I run the same wire to the extra lights outside?

    You will have to splice into the wires in the outside lights and run it to the other outside lights. If that isn't practical, though, and if there is a neutral in the cable to the switch controlling the outside light, a wire could be spliced to that neutral and to the black wire going to the outside light, at the switch box. Without the neutral (white wire) in the same cable as the wire going to the light, though, the only option is to use the wires at the light, not in the box.

© 2012 Dan Harmon


    0 of 8192 characters used
    Post Comment
    • wilderness profile imageAUTHOR

      Dan Harmon 

      7 years ago from Boise, Idaho

      ktrapp, while it is possible that each light is wired to the switch (whereupon it's an easy task to put a second switch in) it is far more likely that one light is wired to the other. In that case additional wire would have to be run from the switch to the second light and it is likely to require replacing the wire from the switch to the first light as well. Examination of the switch box would probably tell the story; if there are less that 4 cables entering it additional wiring will be necessary.

      It is certainly possible, but will require considerable work. If you are interested in doing this, let me know and I will walk you through checking as to what is necessary and how to do it.

    • ktrapp profile image

      Kristin Trapp 

      7 years ago from Illinois

      This is really helpful information and I can think of one location in my house where I would like to do this. I do have a slightly different electrical problem though, and I'm wondering if you perhaps have a Hub already with a solution. In my kitchen there is one single switch that controls both the light over the island and the light over the table. I'm wondering how to add an additional switch so each fixture has its own switch.


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)