---
title: "How to Wire an Outlet"
description: "Some electrical jobs should be left to pros, but it's possible to replace most outlets on your own if you take precautions. Learn how to get the job done safely...."
date: "2014-11-11"
modified: "2026-11-19"
authors:
  - name: "Tom Scalisi"
    job_title: "Contributing Writer"
    link: "https://www.bobvila.com/authors/tom-scalisi.md"
  - name: "Theresa Clement"
    job_title: "Contributing Writer & Editor"
    link: "https://www.bobvila.com/authors/theresa-clement.md"
url: "https://www.bobvila.com/articles/how-to-wire-an-outlet/"
categories:
  - "Building & Installing"
  - "DIY"
  - "Interior"
  - "Lighting & Electrical"
tags:
  - "How To"
---

# How to Wire an Outlet

![how to wire an outlet](<https://www.bobvila.com/wp-content/uploads/2014/11/Bob-Vila-Slides-Horizontal-93.jpg>)
*Photo: Wattanaphob-kappagos Images*

If the outlets in a room aren’t where you need them and you’ve got extension cords running amok, adding an outlet can eliminate those trip hazards and make everyday living a bit easier. Or maybe you need a new outlet in a bathroom, laundry room, or doggy wash station in your mudroom, which means you’ll need to install a ground fault circuit interrupter (GFCI) outlet, required for any outlet within 6 feet of a water source. The good news is, wiring an outlet, whether standard or GFCI, is a project that you can do yourself, but you must take proper safety precautions.

However, if an outlet’s cover has melted, if the outlet has been smoking, or if there’s a burning smell, there’s likely a bigger issue than just the outlet. In these instances, it’s best to consult with a licensed electrician before you attempt to rewire it.

Read through these steps for how to wire an outlet before you get started.

## Before You Begin

While a capable homeowner can wire an outlet, it’s not a job for a reluctant or unsure DIYer. Start by assessing your comfort level, and call in a pro if you have doubts.

- **Check building codes:** Before you take on any electrical work in your home, consult local building codes to make sure your project falls within the scope of work a homeowner is allowed to do. Most local [building codes](<https://www.bobvila.com/slideshow/10-building-code-violations-your-home-may-be-guilty-of-51939>) stipulate that a permit is necessary for new electrical work, and in many parts of the country, only a pro can obtain the required permissions. In some places, homeowners can pull their own permits and begin wiring an outlet or wiring multiple outlets after passing a government-administered test.

- **Consider whether a pro would be better for the task:** While many jobs fall within the wheelhouse of an experienced DIYer, others are better left to professionals. For instance if you need to run a new wire between the new outlet location and the home’s electrical panel, you’ll often need a permit and a licensed master electrician to do the work.

- **Turn off power:** Never do any work on an electrical outlet without first turning off the circuit to that outlet and then testing the outlet with a voltage or receptacle tester to be sure the power is off. Sometimes circuit panels may be mislabeled or unclear, so it’s always a good idea to double-check.

## Wiring an Outlet From Another Outlet

In many instances, you can wire an outlet from another outlet. In fact, if there’s an [existing outlet](<https://www.bobvila.com/articles/types-of-electrical-outlets.md>) in a room on the opposite side of the wall from where you’d like to add an outlet, the job can be pretty simple. In this situation, you can usually cut a new opening, install an electrical box, and add a new outlet without having to snake wires through studs. Use a [stud finder](<https://www.bobvila.com/articles/best-stud-finders/>) to locate the studs on either side of the existing outlet and make sure to situate the new outlet within the same stud bay.

If you simply want more outlets in one location, it’s possible to replace an existing duplex outlet, which takes just two plugs, with a quad receptacle, which takes four. This can be helpful in a workshop or even in kitchens and bathrooms where two outlets just won’t cut it.

In either case, it’s important that there’s enough capacity on the circuit to accommodate the additional draw. For 15-amp circuits, the maximum is usually eight outlets or lights. Any more receptacles than that might draw [too much current for the breaker](<https://www.bobvila.com/articles/wiring-a-breaker-box.md>).

### Converting a Two-Prong Outlet to a Three-Prong Outlet

Old-fashioned two-prong outlet connections aren’t grounded, which makes them dangerous in the event of an electrical fault. Without an electrician, it’s safe to convert a two-prong to a three-prong outlet only if the electrical box housing the outlet is metal and the cable feeding the box is armored. If these conditions are met, the box provides ground-fault protection (even though the outlet does not).

How can you tell, without opening the wall, if the electrical box meets the criteria? Simple: Use a [voltage tester](<https://www.bobvila.com/articles/best-voltage-tester.md>). Insert one prong into the outlet’s shorter slot (the “hot slot”), then touch the other prong to the screw securing the faceplate. If the tester lights up, the electrical box is grounded, and you can go ahead and convert the two-prong to a three-prong. If your electrical box isn’t grounded, you can still convert to a three-prong, but the replacement must be a [GFCI](<https://www.bobvila.com/articles/gfci-outlets.md>) (the type of outlet with a red button on its front).

## How to Replace an Outlet

Over time, electrical outlets can start to look dingy or dirty, or the plastic can crack and make the outlet dangerous to use. To [keep power flowing where you need it](<https://www.bobvila.com/articles/electrical-outlet-not-working.md>), it’s important to learn how to replace an electrical outlet safely and efficiently.

### SUPPLIES

[4-in-1 screwdriver](<https://www.amazon.com/dp/B0015SBILG/?tag=bovi01-20>)
[Voltage tester](<https://www.amazon.com/dp/B08FPHS6HL/?tag=bv-how-to-wire-an-outlet-20&th=1>)
[Outlet](<http://homedepot.sjv.io/2r0vV0>)

### Step 1: Cut power at the electrical panel.

Before you go any further, it’s imperative that you cut power to the outlet you are replacing. At your home’s electrical panel, toggle off the switch associated with the circuit that sends electricity to the outlet in question.

### Step 2: Check the outlet to be sure the power is off.

After you shut off the power to the outlet, use a [voltage tester](<https://www.bobvila.com/articles/best-multimeter.md>) to double-check that it’s really off. Insert the tester’s probes into the top two slots on the outlet. If the tester lights up, you toggled the wrong switch on the electrical panel and you’ll have to try again. Continue by trial and error until you are certain the outlet is no longer receiving electricity. (When you’re done, relabel the circuits in the panel so you know which is which.)

Don’t have a voltage tester? You can use a lamp instead, so long as you know the lamp works. Plug the lamp into the outlet, and if it doesn’t turn on, it’s safe to proceed. This method is inherently riskier, so use it only as a last resort.

After you confirm that the power is off to the outlet, stick a piece of black electrical tape across the breaker so no one can flip it back on while you are working.

### Step 3: Remove the outlet’s faceplate.

Most faceplates have a single screw in the middle. Remove that screw, and the plate should come off easily. Next, unscrew the mounting screws that secure the outlet to the electrical box. Finally, gently pull the outlet away from the receptacle.

### Step 4: Loosen the wires.

You can now see three wires extending from the wall to the outlet. If the wires are attached to screws on the outlet, loosen those screws to free the wires. If the wires are snaked into holes in the back of the outlet, press the release slot and pull the wires out, assuming they don’t come out on their own. Put aside the old outlet.

### Step 5: Connect the neutral wire to your replacement outlet.

You’re now ready to wire in the replacement. First, connect the neutral wire (white) to the silver screw on the side of the outlet. Make sure to orient the hooked end of the wire so that its curve goes clockwise, the same direction in which you will tighten the screw.

### Step 6: Connect the ground wire to the replacement outlet.

![how to wire an outlet](<https://www.bobvila.com/wp-content/uploads/2014/11/Bob-Vila-Slides-Horizontal-94.jpg>)
*Photo: knowlesgallery for Getty Images*

Connect the ground wire to the green screw, using the technique described above.

### Step 7: Connect the live wire to the replacement outlet.

Connect the hot wire (black) to the gold screw, the last one remaining on the outlet casing.

### Step 8: Replace the wires in the electrical box and attach the faceplate.

Carefully maneuver the wires back into the electrical box, then screw the outlet to the box using the mounting screws at the top and bottom. Finally, position the faceplate over the outlet and screw it back on.

### Step 9: Turn the power on.

Go back to the electrical panel and restore power to the outlet that you’ve finished replacing. Check the outlet installation by testing the device with a voltage tester or a lamp.

Need help with electrical work?

A pro can help. Get free, no-commitment project estimates from licensed electricians near you.

[Find Pros Now](<https://match.angi.com/ext/34277977?gatc=post-55166>)

[+](<https://match.angi.com/ext/34277977?gatc=post-55166>)

## How to Wire an Outlet From Another Outlet

Sometimes a simple replacement isn’t enough—you absolutely need another outlet. Maybe you want to accommodate a new appliance or entertainment device, or you’re setting up a workshop. You can frequently solve this problem by wiring a new outlet from an existing outlet on the other side of the wall from the desired location of the new outlet. This project is a bit more involved, but a safety-minded DIYer can take it on.

Note: Be sure you’re using an “old work,” “rework,” or “remodeling” electrical box for the new outlet. These boxes have tabs that squeeze the box against the back of the drywall to hold it in place.

### SUPPLIES

[4-in-1 screwdriver](<https://www.amazon.com/dp/B0015SBILG/?tag=bovi01-20>)
[Voltage tester](<https://www.amazon.com/dp/B08FPHS6HL/?tag=bv-how-to-wire-an-outlet-20&th=1>)
[Needle-nose pliers](<https://www.amazon.com/dp/B07WZQN54C/?tag=bv-how-to-wire-an-outlet-20>)
[Lineman pliers](<https://www.amazon.com/dp/B000BOA2GC/?tag=bv-how-to-wire-an-outlet-20&th=1>)
[Wire strippers](<https://www.amazon.com/dp/B00BC39YFQ/?tag=bv-how-to-wire-an-outlet-20>)
[Drywall saw](<https://homedepot.sjv.io/c/2084711/456723/8154?u=https%3A%2F%2Fwww.homedepot.com%2Fpep%2FKlein-Tools-6-in-Drywall-Saw-with-Plastic-Handle-725%2F100647777%3Fclickid%3DWVyVpEXhGxyZWQ7zwt0%253A02qxUkrUlNTpsXstW40%26irgwc%3D1%26afsrc%3D1%26cm_mmc%3Dafl-ir-2084711-456723->)
[Electrical cable](<https://homedepot.sjv.io/c/2084711/456723/8154?u=https%3A%2F%2Fwww.homedepot.com%2Fpep%2FSouthwire-25-ft-14-2-Solid-Romex-SIMpull-CU-NM-B-W-G-Wire-28827421%2F202316376%3Fclickid%3DysTXwYXhGxyZWQ7zwt0%253A02qxUkrUlN39sXstW40%26irgwc%3D1%26afsrc%3D1%26cm_mmc%3Dafl-ir-2084711-456723->)
[Outlet](<http://homedepot.sjv.io/2r0vV0>)
[Remodeling box](<https://homedepot.sjv.io/c/2084711/456723/8154?u=https%3A%2F%2Fwww.homedepot.com%2Fpep%2FCarlon-14-cu-in-PVC-Old-Work-Electrical-Outlet-Box-1-Gang-B114RB%2F100404027%3Fclickid%3DWVyVpEXhGxyZWQ7zwt0%253A02qxUkrUlNXZsXstW40%26irgwc%3D1%26afsrc%3D1%26cm_mmc%3Dafl-ir-2084711-456723->) (also known as an old work box)
[Wire connectors](<https://www.amazon.com/Insulating-Electrical-Connectors-Portable-Connection/dp/B08DHZHQ4M/?tag=bv-how-to-wire-an-outlet-20>)
[Wire running kit](<https://www.amazon.com/Fiberglass-Electrical-different-attachments-Carrying/dp/B07G9FNTLB/ref=sr_1_4>) (optional)

### Step 1: Shut off the power.

![Hand flipping switches at an electrical breaker box.](<https://www.bobvila.com/wp-content/uploads/2014/11/breaker-box.jpeg>)
*Photo: Christopher Habermann via Adobe Stock*

Be sure to shut off the power to the existing outlet before doing anything else. Check the outlet for power with the voltage tester, and then go to the electrical panel to shut off the corresponding breaker.

### Step 2: Check that the power is off.

Head back to the outlet and use a voltage tester to ensure that the power is off. Once you confirm that the power is off, it’s a good idea to place a piece of black [electrical tape](<https://www.bobvila.com/articles/best-electrical-tape.md>) across the breaker to prevent anyone from carelessly flipping it back on.

### Step 3: Cut the opening for the new outlet.

Place the electrical box face-first against the [drywall](<https://www.bobvila.com/articles/1014-quick-tip-installing-drywall.md>) where you plan to install it. Trace along the box’s edges with a pencil, and then cut along the marks with a [drywall saw](<https://www.bobvila.com/articles/best-hand-saw/>). Sometimes it’s easier if you score the drywall with a utility knife first.

### Step 4: Pull out the existing outlet.

Head back to the existing outlet. If it’s been some time since you shut the breaker, test the outlet again to make sure it’s still off. Next, remove the faceplate and remove the screws holding the outlet in the box. Carefully pull the outlet out and let it hang to one side, providing access to the back of the box.

### Step 5: Feed a new cable through the wall.

Push the new wire through an opening in the back of the box, feeding enough wire into the wall to reach the new outlet opening plus 1 foot. This can be challenging, so be patient and use pliers to pull the tab open if necessary. On this same side, cut the new wire approximately 10 inches from the box. Carefully strip back the plastic sheathing, leaving approximately 1 inch of sheathing in the box.

### Step 6: Strip the existing electrical outlet’s wires.

Use the screwdriver to loosen the screws holding the existing wires onto the outlet and straighten the hooks with needle-nose pliers. Use [wire strippers](<https://www.bobvila.com/articles/best-wire-stripper.md>) to remove approximately ⅝ inch of sheathing from the hot (black) wire and neutral (white) wire.

### Step 7: Prepare the wires for the new outlet.

Still working with the existing outlet, cut a 6- to 7-inch length from the spool of electrical cable. Remove the white, black, and ground wires from within the sheathing, and strip the ends back approximately ⅝ inch. This wire is called a pigtail.

### Step 8: Twist the wires together.

![Person uses pliers to twist wires inside an outlet box.](<https://www.bobvila.com/wp-content/uploads/2014/11/Bob-Vila-Slides-Horizontal-97.jpg>)
*Photo: valentynesmenov*

Use the [lineman pliers](<https://www.bobvila.com/articles/best-lineman-pliers/>) to twist the ends of the existing wire, the new wire, and one end of the pigtail into a clockwise twist. Do this in three sets: all black wires, all white wires, and all ground wires. Cap each twist with a wire connector.

Use the [needle-nose pliers](<https://www.bobvila.com/articles/best-needle-nose-pliers/>) to bend the wires at the other end of the pigtail into a J-shape and hook them onto the outlet. White (neutral) goes to silver, black (hot) goes to gold, and ground goes to green. Be sure that the hooks are running clockwise before tightening the screws.

### Step 9: Snake the outlet wiring through the wall to the new location.

Head to the other side of the wall to the space you’ve cut out for the new outlet. If the new wire isn’t easy to find, use a fishhook or tape from a wire running kit to fish it out from the wall. Pull the electric outlet wiring through the new opening, and feed the end into the new remodeling box.

### Step 10: Fit the new box into the opening.

Fit the box into the opening and turn the screws attached to the tabs clockwise until the box is secure. You should have about 10 inches of new wire coming through the box. Strip the plastic sheathing back to expose the hot, neutral, and ground wires, leaving approximately 1 inch of sheathed cable inside the box.

### Step 11: Wire the new electrical outlet.

Use the wire stripper to strip the sheathing from the ends of the hot, neutral, and ground wires, exposing approximately ⅝ inch of bare wire. Use the needle-nose pliers to bend the ends of the wires into hooks, and slip them over the screws on the new outlet. Remember to follow typical receptacle wiring techniques: Connect the white wire to the silver screw, the black wire to the gold screw, and the bare copper wire to the ground screw. Finally, bend the wires so they will fold nicely as you attach the outlet to the box.

### Step 12: Put the faceplate on.

Tighten the screws at the top and bottom of the outlet until it is snug in the box. Put the faceplate on the outlet and tighten the screw. Flip the breaker back on and test the outlet.

## Final Thoughts

Learning how to wire an electrical outlet isn’t overwhelmingly difficult, and it’s a skill that some DIYers will use time and time again. With a little bit of background and proper safety techniques, adding an outlet for a TV or a new tool or appliance can be a breeze. Just remember to work safely, test and retest electrical outlets before you start, and follow the instructions above for a reliable and safe electrical outlet installation.

Need a helping hand?

A pro can help. Get free, no-commitment project estimates from licensed electricians near you.

[Find Pros Now](<https://match.angi.com/ext/34277977?gatc=post-55166>)

[+](<https://match.angi.com/ext/34277977?gatc=post-55166>)

## FAQ

### Q. What do the different wire colors mean?

There are many types of electrical wires, and to explain them all would require an electrical engineering textbook. The most common residential wiring, including [standard electrical outlet wiring colors](<https://www.bobvila.com/articles/electrical-wire-colors.md>), involves three types.

- The black wire is the “hot” wire that carries power to the device.
- The white wire, known as the “neutral,” carries the current from the device back to the electrical panel.
- The ground wire gives dangerous levels of electricity a safe place to go in the event of a short circuit or other type of electrical fault.

### Q. Can you wire a light switch to an outlet?

You absolutely can [wire a light switch](<https://www.bobvila.com/articles/how-to-wire-a-light-switch.md>) to an outlet, and there are several ways to do so. The switch can either be installed between the source of the power (typically the panel) and the outlet, or on a loop after the outlet.

To install it in-line, simply run the wire through an electrical box, connect the hot wire to the switch so it can interrupt the flow of power, and then continue the hot wire out to the outlet and wire as normal.

To install the [light switch](<https://www.bobvila.com/articles/3-way-switch-wiring.md>) after the device, connect the neutral wire in the box as usual, then run a length of wire from the outlet to the switch. Connect one end of the wire to the existing hot wire in the box using wire connectors. Next, connect the black wire from this length to one side of the switch, and connect the white wire to the other side. Finally, head back to the outlet and connect the white wire to the gold screw and wrap black electrical tape around the wire to indicate that it is now the hot lead coming from a switch.

### Q. How do you ground an outlet without a ground wire?

The easiest way to fix an outlet that does not have a proper ground wire is to replace it with a [GFCI outlet](<https://www.bobvila.com/articles/gfci-outlets.md>). These devices detect ground faults and interrupt the circuit right away. Install a GFCI in place of the first power outlet in the run to offer grounding protection.

Of course, contact a local electrical inspector to ensure this meets local codes.

## Author
Tom Scalisi is a freelance writer, author, and blogger with a passion for building. Whether it’s a DIY project or an entire website, Tom loves creating something from the ground up, stepping back, and admiring a job well done.

### Author social links  
[LinkedIn](<https://www.linkedin.com/in/tom-scalisi>)

## More

- [Electrical Outlet Not Working? 8 Common Reasons Why and How to Fix Them](<https://www.bobvila.com/articles/electrical-outlet-not-working.md>)
- [How to Replace a Light Switch](<https://www.bobvila.com/articles/how-to-replace-a-light-switch.md>)
- [All You Need to Know About GFCI Outlets](<https://www.bobvila.com/articles/gfci-outlets.md>)
- [Why Won’t My GFCI Outlet Reset?](<https://www.bobvila.com/articles/gfci-wont-reset.md>)
- [How to Splice Wires for Home Electrical Projects](<https://www.bobvila.com/articles/how-to-splice-wires.md>)
- [How to Wire a Light Switch: Easy Steps for Single-Pole and 3-Way Switches](<https://www.bobvila.com/articles/how-to-wire-a-light-switch.md>)
- [9 Types of Electrical Outlets You Can Have in the Home](<https://www.bobvila.com/articles/types-of-electrical-outlets.md>)
- [Extension Cord Safety: How to Properly Power Items Away From Outlets ](<https://www.bobvila.com/articles/extension-cord-safety.md>)
