Home Improvement Skills & Specialties Electrical

12 Types of Electrical Boxes and How to Choose

types of electrical boxes illustration types of electrical boxes illustration

Illustration: The Spruce / Joshua Seong

Electrical boxes encase wire connections to protect them from short circuits. They are vital for fire safety and are used for receptacles, ceiling fans, outside outlets, and more. Unless the device is one of the few that contains its own wires, it likely will need an electrical box.

This guide breaks down the different types of electrical boxes to safely install electrical devices around your home.

Warning

According to the National Electrical Code (NEC), all electrical boxes must be installed with matching covers. If you need help installing the box, call a professional.

  • 01 of 12

    Junction Box

    Junction electrical box

    The Spruce / Margot Cavin

    • Best for: Enclosing wire splices

    junction box is not a special type of box but any standard electrical box used to enclose wire splices.

    The most commonly used box for junctions is a 4-inch square box (either metal or strong plastic), which offers ample space for making wire connections with multiple wires or cables. Other types of boxes can be used as junction boxes.

    Tip

    Install junction boxes where they are always accessible. Never install a junction box in a concealed wall or ceiling space where it cannot be accessed in the future. Junction boxes must also be covered with solid covers.

  • 02 of 12

    New Work Electrical Box

    Metal and plastic electrical boxes Metal and plastic electrical boxes

    The Spruce / Margot Cavin

    • Best for: Walls that do not yet have drywall (open walls)

    A new work electrical box is installed in an open wall. The box is nailed or screwed to the side of the wall studs. It is secure and strong.

    If you have open walls (before installing drywall), use a new work box rather than installing an old work box after the drywall has been installed.

    1:30

    Click Play to Learn About Metal and Plastic Electrical Boxes

  • 03 of 12

    Old Work Electrical Box

    Old Work (Retrofit) Electrical Box Installed in White Wall Old Work (Retrofit) Electrical Box Installed in White Wall

    The Spruce

    • Best for: Walls that already have drywall (closed walls)

    An old work electrical box is installed in a closed wall. Sometimes called a retrofit box, this type of electrical box attaches to the drywall with wings or ears that clamp the box to the drywall.

  • 04 of 12

    Standard Rectangular Boxes

    Standard rectangular electrical box Standard rectangular electrical box

    The Spruce / Margot Cavin

    • Best for: Single light fixture switches and outlet receptacles

    Standard rectangular boxes, or single gang boxes, are used for single light fixture switches and outlet receptacles. 

    They are generally about 2 inches wide by 4 inches tall, and their depths range from 1-1/2 inches to 3-1/2 inches.

    Standard rectangular boxes can be metallic or non-metallic. Some types have built-in cable clamps for securing NM cables.

    What Is Gang or Gangable?

    With electrical components, gang or gangable means that the pieces are capable of being joined.

    Continue to 5 of 12 below
  • 05 of 12

    2-Gang, 3-Gang, and 4-Gang Boxes

    2-Gang, 3-Gang, and 4-Gang electrical boxes 2-Gang, 3-Gang, and 4-Gang electrical boxes

    The Spruce / Margot Cavin

    • Best for: Multiple electrical devices encased together

    Like standard rectangular boxes, gangable electrical boxes hold household switches and electrical outlets. Still, they are oversized so that two, three, or four devices can be mounted side-by-side.

    Gangable electrical boxes are often made of durable galvanized steel. However, some plastic snap-together options may be found at certain hardware stores (sometimes for a slightly higher price).

  • 06 of 12

    Round Pan Electrical Boxes

    Round pan electrical box Round pan electrical box

    The Spruce / Margot Cavin 

    • Best for: Ceiling- or wall-mounted light fixtures weighing less than 50 pounds

    Round pan or pancake boxes are shallow circular boxes most commonly used for ceiling- or wall-mounted light fixtures that weigh no more than 50 pounds.

    These can be only 1/2-inch or 3/4-inch deep and made of plastic or durable metal. Some specially rated metal pan boxes may be used for mounting ceiling fans, but not all can be used for this purpose.

    The number of wires in the electrical box should never exceed its safe fill capacity.

  • 07 of 12

    Octagon and Round Electrical Boxes

    Octagon and Round Electrical Boxes Octagon and Round Electrical Boxes

    The Spruce / Margot Cavin

    • Best for: Ceiling- or wall-mounted light fixtures weighing up to 50 pounds

    Octagon and standard-size round boxes are deeper than round pan boxes, and they are the standard box for ceiling- or wall-mounted light fixtures weighing up to 50 pounds.

    These boxes range from 1-1/2 to 3 inches deep. They provide much more room for wiring than shallow round pan boxes and can be used as junction boxes.

  • 08 of 12

    Ceiling Fan-Rated Electrical Box

    Ceiling fan electrical box Ceiling fan electrical box

    The Spruce / Margot Cavin

    • Best for: Ceiling fans up to 70 pounds or light fixtures ranging from 90 to 150 pounds, depending on the fixture rating

    Ceiling fan electrical boxes are used for fans weighing up to 70 pounds or light fixtures weighing up to 90 pounds (or more), depending on the installation method.

    These boxes come in several types and sizes, including 1/2-inch-deep versions and standard 2-1/8-inch-deep boxes. Ceiling fan boxes are usually round but can be octagonal and are either made of metal or durable plastic.

    Boxes can be mounted directly (with four screws) to a ceiling joist or wood blocking, or they can attach to adjustable braces spanning between ceiling joists.

    Tip

    Ceiling fan boxes must be UL-listed for ceiling fan mounting and marked “For Use With Ceiling Fans.” Do not use standard round or octagonal boxes for installing ceiling fans. Ceiling fan boxes require special fastening to withstand the dynamic loading of a rotating fan.

    Continue to 9 of 12 below
  • 09 of 12

    Square Electrical Box

    4 inch square electrical box 4 inch square electrical box

    The Spruce / Margot Cavin

    • Best for: Multiple conductors running in two or more directions

    Square boxes come in standard depths of 1-1/4 to 2-1/8 inches, but their square corners give them additional interior space, providing maximum volume for multiple conductors and connectors. For this reason, 4-inch square boxes often are used to run several conductors in two or more directions.

    Square boxes are also commonly used as junction boxes, which can be installed in ceilings or walls to support lighting fixtures, light switches, or receptacles.

  • 10 of 12

    Electrical Box Covers

    Electrical box covers Electrical box covers

    The Spruce / Margot Cavin

    • Best for: Enclosing various types of electrical boxes

    Electrical box covers enclose the front of the box and are required by code; it is unsafe, and usually illegal, to leave an electrical box uncovered.

    Solid or blank covers have no holes and are used with junction boxes or for enclosing unused boxes. Covers for 4-inch square boxes may have special cutouts to accommodate switches or receptacles (outlets).

    These include a raised center area that extends the box so the opening for the switch or outlet will be flush with the exposed surface of the drywall or other wall or ceiling finish.

  • 11 of 12

    Outdoor Electrical Box

    Outdoor electrical box Outdoor electrical box

    The Spruce / Margot Cavin

    • Best for: Outdoor electrical needs

    Weatherproof outdoor boxes are sealed enclosures designed for mounting to the surface of exterior walls, roof overhangs, decks, and other structures. They are used for installing outdoor receptacles (outlets) and light fixtures.

    Depending on the application, outdoor boxes must have an outdoor cover or fixture rated for damp or wet locations.

    Plastic outdoor boxes are usually made from high-impact PVC, while metal outdoor boxes are typically made from aluminum rather than steel.

  • 12 of 12

    Box Extenders

    Box extender Box extender

    The Spruce / Margot Cavin

    • Best for: Increasing box capacity and making boxes flush with surfaces

    Box extenders, or extension rings, are installed onto the front of electrical boxes to increase the box capacity or flush the box with the drywall or other surface material.

    Box extenders are shaped like the boxes they are intended for but without a back panel. Metal or plastic extenders should be used to match the material of your electrical box.

Metal vs. Plastic Electrical Boxes

Most electrical boxes are either metal or plastic. Metal boxes are generally steel, while plastic boxes are PVC or fiberglass.

Metal Electrical Boxes

Metal electrical boxes are best for metal-sheathed cable or metal conduit. Weatherproof metal boxes for outdoor use are generally made of aluminum.

  • Capable of being grounded
  • Durable
  • Fireproof
  • Secure
  • Required with metal conduit

Plastic Electrical Boxes

Plastic electrical boxes are best for Romex or non-metallic cables.

  • Not capable of being grounded
  • Cheaper than metal boxes
  • No sharp edges
  • Include built-in clamps
  • Lightweight

Choosing an Electrical Box

Choose an electrical box based on its intended purpose. For example, ceiling fans or heavy light fixtures should always be mounted on boxes rated for the fixture's weight.

Consider the type of electrical cable you are using, too. If the project calls for non-metallic cable, such as Type NM-B (non-metallic sheathed cable), you can use plastic boxes or metal boxes. If you are installing wires enclosed in metal conduit, you must use a metal box.

Also, determine whether you need an old work or new work electrical box. If you are replacing an existing electrical box, an old work box will be needed to attach it to the wall covering (usually drywall). New work boxes can be attached directly to the stud, for example, when building a new house or an addition.

FAQ
  • What’s the difference between outlet boxes and junction boxes?

    An outlet box and a junction box can be the same thing. A junction box is a standard electrical box that encloses wire splices and contains no device (like a receptacle).

  • What is a Type 1 junction box vs. a Type 2 junction box?

    The type 2 junction box is only for indoor use. The type 1 junction box protects against water and other liquids, so it can be used outdoors.

  • Can any electrical box be used as a junction box?

    In a broad sense, any electrical box can be used as a junction box. Most standard code-approved electrical boxes found at home centers can be used as junction boxes.

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. 314.25 Covers and Canopies. National Electrical Code (NEC).