Metal Electrical Box: Types and Installation
A metal electrical box is a steel or stainless enclosure that holds wire connections, switches or outlets and must be grounded. This guide covers the main types, how box fill works, how the box is mounted and bonded, and when to hand the job to a pro.
It is part of our electrical basics guides.
Key points
- Pick the metal electrical box by where it mounts: new work, old work, ceiling, outdoors or surface, and by how much volume the wires need.
- Box fill depends on conductors, devices and clamps, so the volume marked inside the box must cover everything you put in it.
- A metal box has to be bonded to the grounding system, because a loose hot wire touching it can energize the whole enclosure.
- Ceiling fan boxes, panel work and any damaged wiring call for a licensed electrician, and local permit rules vary by state and city.
What you need for a metal electrical box
| Item | What it does | Check before you start |
|---|---|---|
| Metal box | Holds connections and devices | Volume stamped inside, depth and shape suit the wall |
| Cable clamps or connectors | Secure cable where it enters | Match the cable or conduit type |
| Grounding screw and jumper | Bonds the box to the ground wire | Green screw, solid connection to bare or green wire |
| Voltage tester | Confirms power is off | Test on a known live circuit first |
| Extender or cover plate | Brings the box flush with the wall | Listed for use with metal boxes |
| Screwdriver and wire strippers | Terminate and fasten wires | Insulated handles, correct strip length |
Metal electrical box types
The shape and depth you choose set how many wires fit and where the box can go.
| Type | Typical use | Note |
|---|---|---|
| Single-gang switch box | One switch or outlet in a wall | Common for metal switch boxes in garages and shops |
| Multi-gang box | Two or more devices side by side | Often ganged from sectional boxes |
| 4 in. square box | Junctions and larger device groups | Large versions are 4 in. square by 2-1/8 in. deep and give plenty of volume |
| Octagon box | Ceiling lights and junctions | Fan-rated versions are needed for paddle fans |
| Old work box | Retrofit in finished walls | Clamps to drywall without opening the wall |
| Surface or enclosure box | Exposed conduit runs, outdoors, industrial areas | Stainless steel suits wet or corrosive spots |
Metal electrical box fill calculation
Box fill is the check that the wires, devices and fittings do not crowd the box. Overfull boxes overheat and make connections hard to seat.
- Read the cubic inch volume stamped inside the box, because that number is the limit your total fill must stay under.
- Count each insulated hot and neutral conductor that starts inside the box or passes through it, with larger wire taking more space.
- Count all the grounding wires together as one allowance, using the largest ground wire size in the box.
- Add an allowance for each switch or outlet, since a device takes up more room than a single wire.
- Add an allowance for internal cable clamps, and for fittings like fixture studs, which also take volume.
- Move to a deeper or larger box when the total is close, and check the exact allowances with your local inspector or a licensed electrician.
How to install a metal electrical box
These steps describe the general sequence. Many states and cities require a licensed electrician or a permit, so check local rules first.
Turn off the power and test
- Switch off the circuit at the panel, then confirm every wire in the box is dead with a voltage tester, because breakers can be mislabeled or other circuits can share the box.
Choose the box for the wall
- Use a new work box on open studs and an old work box in finished drywall, then match the depth to the wall thickness so the front edge sits flush with the surface.
Mount the box securely
- Fasten the box to the stud with screws or nails through its mounting holes, or set the old work clamps, until it does not move when you press on it.
Secure the cable at the clamp
- Feed each cable through a clamp or connector so the sheath reaches inside the box, then tighten the clamp enough to grip without crushing the cable jacket.
Bond the box to ground
- Attach a grounding jumper from the green screw in the box to the circuit ground wires, so a fault current has a path back to the panel and trips the breaker.
Connect the device and close up
- Terminate the wires to the switch or outlet, fold them in without pinching, add an extender if the box sits back from the wall, and fit the cover plate.
Metal electrical box mistakes to avoid
- Skipping the grounding jumper, which leaves the metal box able to carry current if a loose hot wire touches the inside wall.
- Packing too many wires into a shallow box, which breaks the fill limit and strains the connections at every terminal.
- Leaving the box set back from the wall surface, which can leave a gap that electrical code does not allow in combustible walls and ceilings.
- Using a standard box to hang a ceiling fan, when a box that is the sole support of the fan must be marked as fan-rated (the Family Handyman source cites up to 70 lbs).
- Letting cable enter without a clamp, because sharp metal edges can nick the sheath and damage the insulation over time.
- Using a plain steel box in a wet area, where rust weakens the enclosure and a stainless or listed outdoor enclosure is the better fit.
When to call a licensed electrician about a metal electrical box
- You see scorched metal, melted insulation or a burning smell, so stay away from the box and call a qualified electrician right away.
- You feel a tingle or shock from the box or cover plate, which suggests a grounding fault that needs a professional to trace.
- You are installing or replacing a box that will carry a ceiling fan, because the support and fan rating have to be right.
- The box already has more wires than it can hold, and you need to change it for a larger size or add a junction.
- Your state or city requires a permit or a licensed electrician for the work, so check local rules before you start.
- Wiring in the box is aluminum, cloth-covered or unlabeled, since these older types need correct connectors and an expert eye.
Frequently asked questions
Does a metal electrical box have to be grounded?
Yes, a metal box needs to be bonded to the grounding system so a fault trips the breaker instead of energizing the enclosure. It is usually done with a green screw and a jumper wire.
Local rules apply, so confirm the details with your inspector.
Can I use an extender on a metal electrical box?
Yes, an extender can bring a recessed metal box flush when a wall finish has been thickened, for example by tile. Use one listed for the box, keep the ground connection intact, and do not use it to hide an overfilled box.
What is the difference between a metal box and a plastic one?
A metal box is stronger, handles heat well and needs grounding. A plastic box does not conduct, so it needs no bond to the box itself, though the circuit ground wires still must be connected, and it can give less support for heavy fixtures.
Fan-rated versions exist in both materials.
When should I pick a stainless steel enclosure?
Choose stainless steel where moisture, washdown or corrosive air would rust plain steel, such as outdoors, in food areas or near coastal air. Make sure the enclosure is rated for the location.
Prices vary by job, so ask for a quote.
Next step: have your metal electrical box fitted
If your metal electrical box is cracked, overfilled, ungrounded or needs to carry a fan, the safest move is a professional fit. Quantra Electrician can send a licensed electrician to check the box, fill and grounding and handle the installation.
Prices vary by job, so request a quote to get started.