Can You Install an Electrical Panel in a Closet?

A user asked the app whether a panel can live in a closet. The answer depends entirely on what kind of closet it is. The NEC never uses the phrase clothes closet ban in one sentence, but two rules combine to produce one: overcurrent devices cannot sit near easily ignitible material, and every panel needs full working space in front of it.

The ignitible material rule

NEC 2023 240.24(D) says overcurrent devices shall not be located in the vicinity of easily ignitible material, and it names clothes closets as the example. Hanging clothes, cardboard boxes, and stored linens are exactly what the rule targets, so a bedroom or hallway clothes closet is off the table for a loadcenter. A dedicated utility or mechanical closet that stores nothing ignitible is a different animal, and panels are installed in those every day. The companion rule, 240.24(E), separately prohibits overcurrent devices in dwelling bathrooms, and 240.24(F) keeps them out of the space over steps.

Working space still applies inside

Even in a legal closet, 110.26(A) demands the full working space: 36 inches of depth in front of the panel, a width of 30 inches or the width of the equipment, whichever is greater, and headroom of 6.5 feet. The door has to open at least 90 degrees and the space cannot be used for storage per 110.26(B). That last sentence is the one that kills most closet installs in practice, because a closet that cannot store anything is just a small room with a panel in it. Illumination is also required for service equipment locations by 110.26(D) in other than dwelling units, and dedicated equipment space above the panel per 110.26(E) rules out shelving over the top.

What to tell the homeowner

If an existing house has a panel behind hanging clothes, the fix inspectors usually accept is removing the rod and shelving and keeping the space clear rather than relocating the service. For new work, put the panel in a garage, utility room, or basement wall where the working space is easy and nobody will fight over storage. When a remodel proposes boxing a panel into a pantry or wardrobe wall, quote 240.24(D) and 110.26(B) before the drywall goes up, not after.

Every job has one odd code question. Ask BONBON answers it with the NEC section cited, right from your pocket.

⚡ Stop flipping through the code book
Ask BONBON gives electricians instant, cited NEC answers — plus pro calculators and exam prep. Free to try.
Ask BONBON a Question →
iOS App | Android App