How to Wire a Switch to an Outlet Yourself

We shed some light on how to DIY wiring a switch to an outlet

Mother helping daughter with her homework
Photo: Maskot / DigitalVision / Getty Images
Mother helping daughter with her homework
Photo: Maskot / DigitalVision / Getty Images
SKILL LEVEL
Simple
COMPLETION TIME
1 hour
COST
$25–$50
Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon
What you'll need:
TOOLS
  • Voltage tester
  • Drill
  • Wire strippers
  • Screwdriver
  • Needlenose pliers
SUPPLIES
  • Wire nut
  • Receptacle
  • Single-pole switch
  • Two-wire cable

If you’re tired of fumbling in the dark for the switch to your bedside lamp or just looking to add some extra functionality to your electrical outlets, wiring a switch to an outlet is the perfect solution. If you’re comfortable with DIY electrical work, it’s a relatively simple project that doesn’t always require a professional electrician—however, if you haven’t worked with electrical before, call in a pro. Here’s what you need to do to wire a switch to an outlet.

How to Wire a Switch to an Outlet

Again, be sure there is no power on the circuit before you begin this project. Here are the steps for wiring a switch to an outlet.

  1. Shut Off the Power

    Before you begin wiring a switch to an outlet, shut off the power to the circuit at the breaker box. Testing each plug with a voltage tester is important to ensure there is no power to the circuit.

  2. Remove the Receptacle

    handyman using screwdriver to remove electrical outlet
    Photo: photovs / iStock / Getty Images Plus / Getty Images

    Once you’ve confirmed that no electrical current is running through the wires, remove the cover plate from the existing outlet and unscrew the screws holding the outlet in place. Once the outlet is loose, carefully pull it out of the electrical box and set it aside.

  3. Cut a Hole for the Switch Box

    worker using saw to cut a hole for electrical outlet
    Photo: BanksPhotos / iStock / Getty Images Plus / Getty Images

    Use your saw to cut a hole where you’ll put the new switch box. Be sure to put it in a spot where your cable can reach the receptacle box. 

  4. Run the Cable From the Hole to the Receptacle Box

    Now, take your cable and run it through the wall to the existing receptacle box. Clamp the cable to the box so it stays put while you work. 

  5. Replace the Receptacle

    Worker removing wires from electrical outlet
    Photo: Imagesbybarbara / iStock / Getty Images Plus / Getty Images

    Remove the old receptacle or purchase a new one if needed. If you only want one plug to be activated by the switch, use needlenose pliers to remove the connecting tab on the side of the receptacle between the two plugs. 

  6. Disconnect and Strip the Wires

    Breakdown of wire color codes, including black, red, blue, and yellow being hot wires

    Next, you'll need to disconnect the wires from the outlet. Using your wire strippers, strip about 3/4 inch of insulation off the end of each wire. Electrical color codes will help distinguish which wires are which. The outlet should have two black wires, two white wires, and a green or bare wire. The black wires are the "hot" wires, the white wires are the "neutral" wires, and the green or bare wire is the ground wire.

  7. Splice and Connect the Wires

    Electrician installing new light switch on the wall
    Photo: Bill Oxford / E+ / Getty Images

    When you're wiring a receptacle, it's important to mark the white wire that you will connect to the switch with some black tape. This helps distinguish it from the other white wires and indicates it's a "hot" wire. You should also make sure to connect all of the ground wires together.

    Next, splice the feed wire with the taped white wire and add a short wire length called a pigtail. You’ll use this pigtail to connect to one of the brass terminals on the receptacle. The remaining black wire should be connected to the other brass terminal, while you should connect the white wire to a silver terminal.

  8. Screw the Switch/Outlet Device Into Place

    Worker installing switch-outlet combo on the wall
    Photo: photovs / iStock / Getty Images Plus / Getty Images

    Once all the wires are connected, carefully tuck them back into the electrical box and screw the switch/outlet combo device into place. Turn the power back on and test your switch. If all is working, attach the cover plate to the device.

Cost to Wire a Switch to an Outlet

Professionally installing a light switch costs $150 on average, including labor and parts. Most switched outlets operate on a standard, single-pole switch type, which ranges in price from $1 to $15. If a switch is installed far from an outlet, it could cost more to run the wiring from the switch to the outlet.

DIY vs. Hiring a Pro

Ultimately, deciding to DIY or hire a pro to wire a switch to an outlet will depend on your skill level, experience, and comfort level with electrical work. If you're confident in your abilities and have some experience with electrical work, doing the job yourself can be a cost-effective solution. However, if you're unsure or uncomfortable with the task, it's best to hire a local electrician to ensure the job is done safely and correctly.

Frequently Asked Questions

When wiring a switch, the power typically comes into the receptacle first. The neutral wire goes straight to the outlet, while the hot wire is split. You'll need a wire nut to splice the hot wire back to one of the receptacles, but you will also tie another wire into that same wire nut and run to the switch. That way, you can control the flow of electricity to that particular receptacle by turning the switch on and off.

Yes, it's possible to have electrical receptacles and overhead lights on the same circuit. The reason is that lights typically use much less power than large appliances, so combining them won't overload your circuit. By doing this, you can distribute the power consumption throughout the breakers in your panel more efficiently, which can be helpful if you have a lot of different electrical devices in your home.

An outlet that has the neutral and hot wires switched, or reverse polarity, presents a shock hazard because anything plugged into it will be electrified whether or not it is on. If you touch a conductive part of the appliance, like the metal parts on a toaster, while it’s plugged in, you can be shocked.

The purpose of pigtail wiring is to connect multiple wires to a single terminal on a device. Pigtailing involves splicing a short length of wire, called a pigtail, into the multiple wires that need to be connected. The pigtail wire is then connected to the single terminal on the device, allowing all of the wires to be connected at once. This practice helps to simplify the wiring process, reduce clutter, and ensure a secure and reliable electrical connection.

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to electrical services
From average costs to expert advice, get all the answers you need to get your job done.
Man in laundry room loading dryer
Feb 10, 2025
Feb 10, 2025
The cost to install a 240-volt outlet varies depending on the amperage and the home’s current wiring conditions. Use this guide to budget for your next project.
A lightning during a storm strikes above a house
Jan 27, 2025
Jan 27, 2025
If you live in a storm-prone area, you might have wondered how much a lightning protection system costs. Explore a comprehensive breakdown here.
Worker installing an AC Disconnect
Jan 30, 2025
Jan 30, 2025
Did your HVAC pro recently tell you that you may need a new disconnect? If so, start budgeting for the cost to install an AC disconnect here.
Dad and son in bathroom with hairdryer
Jan 23, 2025
Jan 23, 2025
Installing a dedicated line in your home or garage is fairly straightforward, but may have a wide range of cost-affecting factors, like materials, labor, and necessary permits.
Share project details to get started.