An electrical panel in a bathroom is the installation of a main service disconnect or branch-circuit load center within a room containing plumbing fixtures, a configuration that fundamentally changes a legal living space into an immediate National Electrical Code (NEC) violation and insurance liability, and which homeowners frequently confuse with permitted bathroom electrical equipment like GFCI receptacles, low-voltage smart hubs, or simple junction boxes.

SAFETY WARNING: If you currently have a live panel in a bathroom, do not attempt to move it yourself. De-energize the main service, verify it is dead with a tested multimeter, and hire a licensed electrician. Working on service feeders involves lethal fault currents and requires utility coordination.

The Core Code Violations (Why It Is Banned)

The prohibition against placing an overcurrent device or service disconnect in a bathroom is not a single arbitrary rule; it is the result of three overlapping NEC requirements designed to protect both the equipment and the person operating it.

1. Working Space Requirements (NEC 110.26)
Every electrical panel requires a dedicated, clear working space. According to the OSHA 1910.303(g) standard and NEC 110.26, this space must be at least 30 inches wide (or the width of the equipment, whichever is greater), 36 inches deep, and 6.5 feet high. This volume must remain entirely clear of any obstructions, including toilets, sinks, and shower doors.

2. Damp and Wet Location Rules (NEC 408.5)
NEC 408.5 mandates that switchboards and panelboards be located in dry, accessible locations. A bathroom is inherently a damp location due to shower steam and sink splashing. Standard residential load centers are NEMA 1 rated, meaning they are designed strictly for indoor, dry environments. Exposing the bare bus bars and breaker terminals to cyclical humidity accelerates corrosion, increasing contact resistance and creating a severe fire hazard over time.

3. Service Disconnect Prohibitions (NEC 230.70)
If the panel in question is your main service disconnect (the first point where utility power enters the home and is split), NEC 230.70(A)(2) explicitly forbids installing it in a bathroom. This rule exists because a bathroom is a private, vulnerable space; emergency responders or utility workers must never have to enter a locked, occupied bathroom to kill power to a burning house.

Worked Example: The Working Space Math

To understand why this is physically impossible in most homes, let us run the numbers on a standard residential installation.

Assume you are installing a standard Square D HOM2040M100PC 100-Amp, 20-space load center. The physical width of this panel cover is roughly 14.25 inches. Under NEC 110.26(A)(2), the required working space width is the greater of the equipment width or 30 inches. Therefore, you must clear a 30-inch width.

The depth requirement for a standard 120/240V residential panel is 36 inches (NEC 110.26(A)(1)).

  • Required Floor Area: 30 inches × 36 inches = 1,080 square inches (7.5 square feet).
  • Required Volume: 7.5 sq ft × 6.5 feet high = 48.75 cubic feet of completely empty air.

In a standard 5-foot by 8-foot bathroom (40 square feet total), this mandatory clear floor space consumes 18.75% of the entire room's footprint. Furthermore, NEC 110.26(A)(2) dictates that this space cannot be blocked by the swing of a door if it reduces the clear depth below 36 inches. Because bathroom doors typically swing inward, and toilets/vanities protrude into the room, achieving a continuous 30×36 inch rectangle that does not overlap the toilet footprint or the shower threshold is geometrically impossible in standard residential construction.

Where You Meet This in Practice

You rarely see an architect intentionally design a bathroom around a panel. Instead, this violation appears in two specific renovation scenarios:

The Closet Conversion: A homeowner decides to convert a hallway coat closet or an under-stair storage closet into a half-bath or full bathroom. They install the toilet, sink, and drywall, completely ignoring the fact that the 100-amp subpanel mounted in the back of that closet is now legally entombed in a bathroom.

The Basement Build-Out: When finishing an unfinished basement, a DIYer frames a new bathroom. To maximize living space, they frame the bathroom walls *around* the main service panel that was originally mounted on the bare concrete block wall, effectively trapping the panel inside the new bathroom footprint.

The Fix: The only code-compliant solution is to relocate the panel to a hallway, utility room, or garage. This requires a licensed electrician to pull new service feeders (typically 2/0 AWG Aluminum or 2 AWG Copper for a 200A service), extend all existing branch circuits, and coordinate a utility shut-off. Expect this relocation to cost between $2,000 and $4,500 depending on feeder length and drywall repair.

What People Commonly Confuse It With

Homeowners often panic when they see electrical equipment in a bathroom, confusing prohibited load centers with perfectly legal (and required) devices. Here is how to tell them apart:

Equipment Type Allowed in Bathroom? NEC / Code Reference Visual Identification
Load Center / Panelboard NO NEC 408.5 / 230.70 Large metal cabinet (14"+ wide) with a hinged door covering multiple breakers.
Junction Box YES NEC 314.29 Small 4"x4" or 6"x6" metal/plastic box with a flat blank cover plate; no breakers inside.
GFCI Receptacle YES (Required) NEC 210.8(A)(1) Standard wall outlet with 'Test' and 'Reset' buttons in the center.
Low-Voltage Smart Hub YES NEC Article 725 Plastic enclosures for Ethernet, coaxial, or smart home bridges (under 50V).

Frequently Asked Questions

Can I put a subpanel in a bathroom if it has a waterproof NEMA 3R cover?

No. While a NEMA 3R (rainproof) or NEMA 4 (watertight) enclosure solves the moisture and corrosion issue addressed by NEC 408.5, it does absolutely nothing to solve the working space violation. You still must provide the 30-inch by 36-inch by 78-inch clear working space dictated by NEC 110.26. Because standard residential bathrooms cannot physically accommodate this clear floor space without overlapping plumbing fixtures or door swings, the installation remains a code violation regardless of the enclosure rating.

What if the electrical panel was there before the bathroom was built?

The NEC is generally not retroactive; if the panel was installed legally in a hallway in 1980, and you build a bathroom around it in 2024, the original installation was compliant. However, the moment you alter the room's use and framing to create a bathroom, you trigger the current code cycle for that altered space. The local Authority Having Jurisdiction (AHJ) and your home insurance provider will view the panel as being 'in a bathroom,' which can void your insurance coverage in the event of an electrical fire. Most inspectors will require you to relocate the panel or redesign the bathroom walls to exclude the panel from the bathroom footprint (e.g., building a small, dedicated hallway closet bump-out).

Is a large junction box with multiple breakers considered an electrical panel in a bathroom?

If the enclosure contains overcurrent protective devices (breakers or fuses) that control branch circuits, it is legally classified as a panelboard under NEC Article 100 definitions, regardless of whether you call it a 'junction box' or a 'breaker box.' Therefore, it is strictly prohibited in a bathroom. A true junction box (covered under NEC Article 314) contains only wire splices, wire nuts, or terminal blocks, and contains zero breakers. Junction boxes are perfectly legal in bathrooms, provided they remain permanently accessible (NEC 314.29) and are not buried behind tile or drywall.