An electrical panel in a bathroom refers to the proposed installation of a breaker box or subpanel within a bathing space, which is universally prohibited by the National Electrical Code (NEC) because standard panelboards require dry locations and bathrooms violate mandatory working clearances. While you might be tempted to route a new subpanel behind a vanity or above a toilet to save wire during a remodel, doing so fundamentally changes the safety profile of your home by introducing lethal arc-flash and electrocution risks into a high-humidity environment. Homeowners frequently confuse a standard junction box or a GFCI breaker enclosure with a full panelboard, but the code treats the main distribution point with far stricter spatial and environmental rules.

What It Changes in a Real Installation: Moving a panel into a damp environment drops the electrical resistance of human skin from roughly 100,000 ohms (dry) to 1,000 ohms (wet). If a 120V fault occurs while you are standing on a wet tile floor, Ohm's Law (I = V/R) dictates that 120V / 1,000Ω pushes 120mA through your body. Because the ventricular fibrillation threshold is just 50mA to 100mA, a minor shock in a dry hallway becomes a lethal cardiac event in a bathroom.

The Hard Rule: Why the NEC Bans Panels in Bathrooms

The prohibition against installing an electrical panel in a bathroom is not a single line of text, but a combination of environmental and spatial code requirements that make the installation physically and legally impossible in standard residential construction.

Environmental Ratings (NEC 408.4)

NEC 408.4 explicitly states that panelboards shall not be installed in damp or wet locations unless they are specifically identified for use in such locations. Bathrooms are inherently classified as damp locations due to shower steam, splashing water, and high ambient humidity. Standard residential interior panels carry a NEMA 1 rating, which is strictly for dry, indoor use. To legally mount a panel in a damp location, you would need a NEMA 3R or NEMA 4 weatherproof enclosure, which are bulky, gasketed, and entirely impractical for interior residential walls.

Service Disconnect Restrictions (NEC 230.70)

If you are dealing with a main service panel rather than a subpanel, NEC 230.70(A)(2) draws a hard line: the service disconnecting means shall not be installed in bathrooms. This rule exists because emergency responders and homeowners need immediate, safe access to kill power during a fire or medical emergency, and a bathroom door lock or occupied shower stall should never delay emergency power shutoff.

Clearance Math: A Worked Numeric Example

Even if you somehow sourced a NEMA 3R panel for your bathroom, the installation would fail the working space requirements outlined in NEC 110.26, which OSHA and the NEC enforce rigorously to ensure electricians have room to escape an arc blast.

Let's run the spatial math on a standard 5-foot by 8-foot (60" x 96") bathroom:

  • Depth Requirement: NEC 110.26(A)(1) requires a minimum clear working space depth of 36 inches measured from the live parts of the panel.
  • Width Requirement: NEC 110.26(A)(2) requires a clear width of 30 inches (or the width of the equipment, whichever is greater), centered on the panel.
  • Height Requirement: NEC 110.26(A)(3) mandates a clear height of 6 feet 6 inches (78 inches) from the floor.

If you mount a standard 14-inch wide subpanel on the 5-foot (60-inch) back wall, the 30-inch width requirement consumes exactly 50% of the entire wall. The 36-inch depth requirement pushes the working space nearly to the center of the room. A standard interior bathroom door is 32 inches wide and swings inward. When opened, the door physically breaches the 36-inch clearance zone, trapping the electrician against the vanity or toilet. Furthermore, if you attempt to mount the panel above a standard toilet (which sits roughly 30 inches high including the tank), the centerline of the panel will be pushed above 48 inches, making the breaker toggles inaccessible without a step stool, which violates the "secure footing" requirement of the working space.

Bench Tip: Never assume a "small" 4-space subpanel is exempt from the 30-inch width rule. The 30-inch width is measured from the center of the panel outward (15 inches left, 15 inches right) or from one edge if the panel is near a wall. It applies to the empty air in front of the dead front, regardless of how few breakers are inside.

Where You Meet This in Practice

In the field, the idea of an electrical panel in a bathroom usually surfaces during aggressive gut-renovations where the homeowner wants to add heated floors, a smart shower system, a towel warmer, and dual vanities, but the main panel is full and on the opposite side of the house.

Common Confusions and Code Violations

People commonly confuse a junction box with a panelboard. You are perfectly allowed to install a deep 4x4 or 6x6 metal junction box behind an access panel in a bathroom wall to splice feeder wires. The code restriction applies specifically to the overcurrent protection devices (the breakers) and the panelboard enclosure itself.

Another frequent violation is hiding a subpanel behind a hinged bathroom mirror or inside a false vanity cabinet. While this solves the aesthetic problem, it completely violates the "readily accessible" definition in NEC Article 100, which states that equipment must be capable of being reached quickly for operation without climbing over or removing obstacles (like toiletries, towels, or a heavy framed mirror).

Decision Tree: How to Actually Power Your Bathroom Renovation

Since an electrical panel in a bathroom is a non-starter, you need a decision path to get the required amperage to your new fixtures safely and legally. Follow this matrix to determine your exact next step.

Your Scenario Code-Compliant Action Required Materials & Final Pick
You need 1-2 extra 20A circuits for a bidet or towel warmer. Run individual branch circuits directly from the main panel; do not use a subpanel. 12 AWG NM-B (Romex) and standard 20A AFCI/GFCI breakers.
You are adding a spa tub, heated floors, and dual vanities (Requires 60A+ total). Install a subpanel in a dry, adjacent space (hallway, bedroom closet, or garage) and feed the bathroom from there. Run 2 AWG copper THHN in 1.5" PVC conduit to a Square D HOM612L100TC 100A subpanel mounted in the hallway.
The adjacent hallway has no wall space for a subpanel. Use a flush-mounted subpanel in a dry bedroom closet, ensuring it is not placed near easily ignitable material (NEC 240.24). Flush-mount a Square D HOM612L100TF and maintain 36" clearance free of clothing and storage.

The Default Recommendation: If your bathroom renovation requires a subpanel, terminate your search and install a Square D Homeline 100-Amp 6-Space 12-Circuit Indoor Main Lug Subpanel (Model HOM612L100TC) in the nearest dry hallway or utility closet. Feed it with 2 AWG copper THHN conductors in a dedicated conduit run. This guarantees you meet NEC 408.4 dry-location requirements, satisfy the 110.26 working space clearances, and provide ample breaker spaces for your bathroom loads.

FAQ: Bathroom Electrical Subpanel Questions

Can I put a subpanel in a bathroom if I use a waterproof NEMA 4 enclosure?

While a NEMA 4 enclosure satisfies the damp/wet location requirement of NEC 408.4, you will almost certainly fail the NEC 110.26 working clearance requirements. Bathrooms simply do not have the unobstructed 36-inch depth and 30-inch width required for safe electrical work, especially when factoring in inward-swinging doors, toilets, and vanities. Furthermore, local Authority Having Jurisdiction (AHJ) inspectors routinely reject any panel in a bathroom due to the inherent shock hazard of mixing high-amperage busbars with wet, barefoot occupants.

Is it legal to have a junction box behind a bathroom mirror?

Yes, but only if the mirror is mounted on hinges or a sliding track that allows the box to be "readily accessible" without tools. If the mirror is glued to the drywall or requires a screwdriver to remove, the junction box behind it is a code violation. The box must remain accessible for future troubleshooting and splicing.

What if my bathroom is massive (e.g., 12x15 feet)? Does the clearance rule still ban the panel?

Even in a massive master bathroom, the environmental classification remains "damp location" due to the presence of a shower or tub. Standard NEMA 1 panels are still prohibited. While a 12x15 room might physically accommodate the 36-inch depth and 30-inch width clearance, the environmental ban in NEC 408.4 is absolute unless you use an industrial-grade weatherproof enclosure, which no residential inspector will approve for interior living spaces. Keep the panel in a dry zone.