Tips for Installing Electrical Boxes

Plastic electrical box

Yenwen / Getty Images

Installing electrical boxes is one of the first stages in electrical rough-in work. It is regarded as very easy work—more like carpentry than electrical wiring—but there still some common errors that DIYers frequently make. Follow these easy tips to make sure your electrical box installations look professional and meet code requirements.

  • 01 of 05

    Install Wall Boxes at Uniform Heights

    Electrical Box Installation Mark Height
    Lee Wallender

    It surprises some novice DIYers to learn that there are no precise code guidelines for how high wall switches or outlet boxes should be positioned. But professionals follow certain standards for a uniform look.

    • It's standard practice for wall switches to be installed about 48 inches above the floor, but this distance can range from 43 to 53 inches, depending on your preference. For spaces used by people with accessibility issues requiring a wheelchair, for example, lower switch heights might be practical.
    • Common practice for receptacle outlet boxes is to install them so the bottom edge is between 12 and 16 inches above the floor. This distance, too, can be adjusted for special circumstances.
    • For switches and outlets above countertops, install them so the bottoms are about 4 inches above the countertop surface.

    Whatever standard you choose, try to maintain uniformity for all electrical boxes. Irregular box heights will flag a home's electrical work as that of an amateur.

  • 02 of 05

    Use a Drywall Reference Strip

    Electrical Boxes Installing
    Lee Wallender

    In new construction, attaching a strip of drywall to the front face of studs can serve as a guide for attaching wall boxes. Without some kind of guide, it can be difficult to install the boxes with the proper offset to ensure the front edges of the electrical boxes will be flush with the finished drywall surface. When you install an electrical box, make sure it is flush with the surface of this drywall strip; this will ensure the boxes are at the proper depth when the walls are finished.

    Most residential drywall is 1/2- or 3/8-inch thick, so keep a handful of drywall strips of this thickness on hand to facilitate electrical box installation. If you are using a different wall thickness (such as 5/8-inch thick, required for some firewalls) make sure the reference strips match that thickness.

  • 03 of 05

    Use the Box's Measuring Tab

    Nail In Electrical Box
    Lee Wallender

    Plastic nail-in electrical boxes may have 3/8-inch measuring tabs along the sides. You can use these to indicate how far to extend the electrical box from the face of the studs.

    Begin by slightly pushing out the nails on the box by hand, so that when you place the box against the stud, the tips of the nails lightly pierce the wood. This helps hold the box in place during those first couple crucial strikes of the hammer as you drive the mounting nails into the stud.

  • 04 of 05

    Nail Carefully

    Nail In Electrical Box
    Lee Wallender

    When nailing the box, use light, careful blows rather than heavy swings of the hammer. Make sure to keep your blows perpendicular to the stud. If you strike too hard, you risk pushing the box backward along the face of the stud.

    Continue to 5 of 5 below.
  • 05 of 05

    Alternate Blows Between Nails

    Install Electrical Box
    Lee Wallender

    Rather than hammering in one nail fully before proceeding to the next one, it's best to alternate back and forth between the nails, hammering each nail in about 1/4 inch each time. This will keep the box from twisting or deflecting as you attach it.

    Some electricians stop just short of driving the mounting nails completely into the studs. This allows the box to be easily removed should the layout need to be changed before the NM cable installation.