If you're a homeowner tackling electrical projects, knowing how to replace an outlet box in drywall is a valuable skill. This guide will walk you through the process step-by-step, ensuring your home's electrical system is safe and up-to-code.
Safety First: Understanding Electrical Work
Before we dive into the steps, it's crucial to understand that electrical work can be dangerous if not done correctly. Always turn off the power to the outlet at your home's main electrical panel and use a non-contact voltage tester to ensure the power is off before starting.
Materials Needed
- New electrical box (old work or new work, depending on your situation)
- Romex electrical cable (same gauge as the existing wire)
- Wire stripper
- Screwdriver
- Utility knife
- Drywall saw or jab saw
- Non-contact voltage tester
- Wire connectors (wire nuts)
Old Work vs. New Work Boxes
Old work boxes are designed for retrofitting into existing drywall, while new work boxes are installed before the drywall is hung. This guide assumes you're replacing an existing outlet, so you'll need an old work box.

Step-by-Step Guide: Replacing an Outlet Box in Drywall
1. Turn Off Power and Remove the Existing Box
First, turn off the power to the outlet at your home's main electrical panel. Remove the outlet cover and unscrew the outlet from the box. Remove the box from the drywall, cutting any nails or screws holding it in place.
2. Measure and Cut the New Box
Measure the size of the hole in the drywall and choose an old work box that will fit snugly. Use a utility knife to score the box along the lines, then snap it apart. You may need to use a hacksaw or drywall saw to cut it to the exact size.
3. Feed the Wire Through the New Box
Feed the existing electrical wire through the new box. If the wire is too short, you'll need to replace it with a longer piece. Ensure the wire is long enough to reach the new box and allow for some slack.

4. Secure the New Box
Secure the new box to the drywall using the provided screws or nails. Make sure it's level and flush with the drywall surface.
5. Strip the Wire and Connect to the New Outlet
Strip about 3/4" of insulation from the wire using a wire stripper. Connect the black (hot) wire to the brass screw, the white (neutral) wire to the silver screw, and the green or bare (ground) wire to the green screw. Tighten the screws securely.
6. Install the Outlet and Cover
Secure the outlet to the box using the provided screws. Install the outlet cover, ensuring it's flush with the drywall.
7. Test the Outlet
Turn the power back on at the main electrical panel and use a non-contact voltage tester to ensure the outlet is working correctly. Plug in a lamp or other device to test the outlet.
Troubleshooting Common Issues
| Issue | Solution |
|---|---|
| Outlet feels warm or makes a buzzing noise | Turn off the power and check the connections. Tighten any loose screws and ensure the wires are properly connected. |
| No power to the outlet | Check that the power is on at the main electrical panel. Use a non-contact voltage tester to ensure the wire is live. |
If you're still having trouble, don't hesitate to call a licensed electrician. Electrical work should always be done safely and correctly to prevent fires and electrical shocks.