How to Cap Electrical Wires

Project Overview
  • Working Time: 30 mins
  • Total Time: 30 mins
  • Yield: Cap one electrical cable
  • Skill Level: Intermediate
  • Estimated Cost: $2 to $5

Capping electrical wires is the safe, code-approved way of dealing with terminated electrical cables. Taping up stray electrical cables and burying them behind drywall is decidedly not the answer. Instead, the answer is to trim, cap, and enclose cables in an accessible surface-flush electrical box.

Wires in electric box

The Spruce / Margot Cavin

Permits and Codes

Live electrical wires need to be capped and boxed in accessible junction boxes to prevent the risk of electrical shock. Terminating an electrical cable is not, by itself, a project that typically requires an electrical permit. However, it is often part of a larger project, such as removing a wall, that does require an electrical or building permit.

Before You Begin

Shut off the power to the electrical circuit. At the electrical box, using a voltage tester, test all wiring you will be working on. Touch the tester probe to all wires and all parts of each wire within the box. The tester should indicate no voltage. If it detects voltage, return to the service panel and shut off the correct breaker, then retest the wiring.

tools for Terminating Electrical Wire With Wire Caps
The Spruce / Margot Cavin

Need more help? Talk to an electrician near you

Our partners can help you compare quotes from top-rated professionals near you


Get a Quote

The offers that appear in this table are from partnerships from which The Spruce receives compensation.

What You'll Need

Equipment / Tools

  • Wire stripper
  • Non-contact voltage tester
  • Flathead screwdriver
  • Utility knife

Materials

  • Electrical box
  • Electrical tape
  • Wire nuts (wire caps)
  • Blank wall plate for the box

Instructions

  1. Turn Off the Power

    Turn off the power to the circuit at the electrical service panel. For added safety, run a strip of electrical tape across each circuit breaker switch involved with this project. The tape is a signal that prevents anyone, even you, from accidentally flipping on the circuit breaker.

    Inside Electric Service Panel
    Inside Electric Service Panel Getty / Fuse
  2. Install an Electrical Box

    Install an electrical box near the terminated electrical cable. Be sure to install the box in a location that will allow you to pull at least 6 inches of cable through the box.

    New Work Plastic Electrical Box

    Lee Wallender / The Spruce

  3. Prepare the Bare Ends of the Wires

    Pull the cable into the back or side of the box. Rip back and remove the outer sheathing. With the electrical wire stripper, cut off any bare ends of wire down to the wire coating to tidy them up. Strip the plastic coating off the ends of the wires. Make sure that you have about 1/2-inch of clean, straight wire at the end.

    Cutting wires using an electrical wire stripper
    The Spruce / Margot Cavin
  4. Place Wire Nuts on the Wires

    Turn the plastic wire nuts (also called wire caps) onto the ends of the wires. Turn the wire nut clockwise. Use the appropriate size of wire nut for the wire. Wire nuts that are too big will not sufficiently grip the wire and will fall off. Wire nuts that are too small may initially feel like they are on the wire, but they, too, may fall off.

    Tip

    Bare copper ground wires do not need to be capped. Similarly, BX cable's metal armor sheathing, which conducts to ground without the need for an additional ground wire, may be left alone.

    Place wire caps on electrical wires
    The Spruce / Margo Cavin
  5. Add Electrical Tape to Individual Wires

    Tape each wire nut onto its respective wire with electrical tape. The tape is used only to secure the wire nuts. It is not used for insulating bare wire ends.

    Adding electrical tape to wires
    The Spruce / Margot Cavin
  6. Push the Wires Into the Box

    Push the wires back into the box. Check to make sure that your assembly has not come apart before proceeding to the next step. Any exposed copper wire may cause an electrical short or fire.

    Wires in electrical box
    The Spruce / Margot Cavin
  7. Add the Blank Wall Plate to the Box

    Attach a blank wall plate to the electrical box, using the provided screws. Some blank wall plates can be painted over.

    If the terminated wires are part of a working circuit, it is now safe to restore power to the circuit. If the terminated wires comprise an entire circuit alone, there is no need to turn on the circuit.

    Electrical box wall plate
    The Spruce / Margot Cavin

When to Call a Professional

Instead of adding a junction box mid-wall or mid-ceiling, it's cleaner to strip back the wires upline to its starting point: the circuit breaker at the service panel. It can be a safer solution, too, because fewer live wires reside in the wall.

Unless you are experienced at DIY electrical repairs, it's often safest to have a certified electrician work with electrical cables at the service panel junction point.

The Spruce uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Home Electrical Fires. National Fire Protection Association.