Can an Electrical Panel Be Installed in a Bathroom Closet?
When it comes to electrical panel installation, it's crucial to understand the National Electrical Code (NEC) and local building codes to ensure safety and compliance. One common question homeowners and electricians often ask is whether an electrical panel can be installed in a bathroom closet. This article delves into this topic, providing a comprehensive, SEO-optimized, and human-like guide.
Understanding the National Electrical Code
The NEC is a set of standards designed to ensure electrical safety in the United States. It provides guidelines for electrical wiring, equipment, and installation. Understanding these guidelines is essential when considering where to place an electrical panel in your home, including the bathroom closet.
Why Bathroom Closets Are Not Ideal for Electrical Panels
- Space Constraints: Bathroom closets are typically small and cramped, making it difficult to install an electrical panel safely and in compliance with NEC regulations.
- Moisture and Humidity: Bathrooms are prone to moisture and humidity, which can damage electrical components over time. Installing an electrical panel in a bathroom closet exposes it to these conditions, posing a safety risk.
- Accessibility: Electrical panels need to be easily accessible for maintenance and repairs. Bathroom closets often have limited access, making it difficult for electricians to work on the panel if needed.
- Fire Hazard: In case of a fire, an electrical panel in a bathroom closet could exacerbate the situation, as it may be difficult for firefighters to access and control the electrical system.
Alternatives to Installing an Electrical Panel in a Bathroom Closet
Given the risks and challenges of installing an electrical panel in a bathroom closet, it's recommended to consider alternative locations. Here are a few options:

- Garage: Garages are often a good choice for electrical panels as they provide ample space and are typically separated from living areas by a door.
- Utility Room: If your home has a dedicated utility room, this can be an ideal location for an electrical panel. It's usually separate from living areas and provides easy access for maintenance.
- Closet in a Non-Wet Area: If your home has a closet in a non-wet area, such as a hallway or bedroom, this could be a suitable location for an electrical panel.
Electrical Panel Placement: A Closer Look at the NEC
The NEC provides specific guidelines for electrical panel placement. According to the NEC, electrical panels should be installed in a location that is:
- Dry and well-ventilated
- Accessible for maintenance and repairs
- Protective of the electrical system from physical damage
- Not located in a hazardous location, such as a wet area or a place where it could be damaged by vehicles
As you can see, the NEC does not recommend installing electrical panels in bathroom closets due to the risk of moisture and limited accessibility.
When to Consult a Professional Electrician
If you're unsure about where to install your electrical panel or have concerns about an existing panel, it's crucial to consult a licensed, professional electrician. They can assess your home's electrical system, consider your specific needs, and ensure that your electrical panel is installed safely and in compliance with local building codes and the NEC.

In some cases, an electrician may be able to relocate an existing electrical panel to a more suitable location. However, this should only be done by a licensed professional who understands the NEC and local building codes.
Table: Electrical Panel Placement Guidelines
| Location | NEC Compliance | Accessibility | Safety |
|---|---|---|---|
| Bathroom Closet | Not Recommended | Limited | Moisture Risk, Fire Hazard |
| Garage | Recommended | Easy Access | Separated from Living Areas |
| Utility Room | Recommended | Easy Access | Separated from Living Areas |
| Non-Wet Area Closet | Recommended | Easy Access | Dry and Well-Ventilated |
In conclusion, while it may seem convenient to install an electrical panel in a bathroom closet, it's not recommended due to the risk of moisture, limited accessibility, and fire hazard. Always consult the NEC and local building codes when installing or relocating an electrical panel, and consider hiring a licensed professional electrician to ensure safety and compliance.
More Details
28.03.2021 ... It's illegal right now. You can't put electrical panels in bathrooms.

01.12.2019 ... The code prohibits you from putting a panel in a closet , but the panel can be put in a utility room; or other area associated such a laundry room.

02.04.2023 ... In general, electrical panels are not allowed in bathrooms or in any area where they may be exposed to water or moisture. This is because water ...

06.03.2014 ... The answer is no, that AREA is still part of the bathroom regardless of being in a separate space so if the inspector feels that “space” you are ...

25.08.2021 ... Electrical panels can be installed in bathrooms if they meet NEC clearance rules. Maintain at least 30 inches wide and 36 inches deep clear ...

07.11.2007 ... As far as clothes closet is concerned if the panel exists legally, which I believe it could depending on clear space around it and what the ...

18.11.2025 ... Learn the essential requirements for installing a subpanel in a bathroom closet, specifically for a water heater. We'll cover electrical ...

21.01.2018 ... As long as the working space in the closet is enough, it's fine. That closet is not in the bathroom. Like.
03.05.2026 ... The NEC prohibits the installation of electrical panels within clothing closets. Closets are filled with flammable items like clothing, ...

05.02.2020 ... The closet may be fine as long as you have 30 inches clearance horizontally (total width of the wall where the panel is mounted), and at least 36 inches clear ...

If you're planning a big remodel you may be wondering if you can put your electrical panel in your closet. The short answer is: nope!

... can block access to the panel. Location Restrictions: Electrical panels (main and subpanel) cannot be installed in bathrooms or closets (240.24 – E and D) ...

24.08.2017 ... NEC 240.24(D) states that overcurrent devices (i.e. circuit breakers and by implication electrical panels since they contain circuit breakers) ...

27.05.2025 ... You cannot install an electrical panel in closets, bathrooms, above ceilings, stairwells, or areas with flammable appliance storage. The ...

18.12.2014 ... It doesn't matter how much room one has around a panel it cannot be installed in a closet or dwelling bathroom. All panels are required to ...

29.10.2023 ... The electrical panel cannot go into a closet– ever. Now, what about the fireman being able to find the electrical panel, AKA breaker box or fuse ...

16.02.2026 ... Generally speaking, code does not concern itself with access panels of any kind other than those on cavities containing electrical ...

14.08.2025 ... Bathrooms — Panels are not allowed in any bathroom due to moisture and limited space. Clothes closets — Fire risk from clothing and flammable ...

15.02.2001 ... ANSWER: According to Section 240-24(d) of the National Electrical Code (NEC), which says “Overcurrent devices shall not be located in the ...

29.05.2017 ... :thumbup: ........ and you can use it as a closet if it's just a junction box, without the breakers. Last edited: ...
