Short answer: two 120 V circuits share one junction box with no divider. The NEC's partition rule for switches and receptacles starts above 300 V between adjacent devices, and two circuits fed from one panel sit at most 240 V apart — 60 V short of the line. The restroom changes nothing about the divider; it changes the receptacle, which needs GFCI protection. What decides the box you order is fill: the two-gang switch-plus-GFCI box in the worked example totals 22.5 in³ of conductors, clamps and yokes, and that number has to fit the volume stamped on your box. If a 277 V lighting circuit ever joins the pair, the answer flips: two 277 V switches on different legs sit 480 V apart, and that box takes a partition.
The voltage rule the divider question turns on
The NEC groups switches and receptacles by voltage, not by circuit count. Where the voltage between adjacent devices exceeds 300 V, the code calls for a partition between them or for separate boxes. Below that line the devices share the enclosure freely, whatever their circuits are.
The voltage that matters is device to device, not device to ground. Take the highest voltage between any ungrounded conductor on one device and any ungrounded conductor on the other — hot to hot across the pair. The rule covers a switch beside a switch, a receptacle beside a receptacle, and a receptacle beside a switch.
So decide on volts, not circuits. Two circuits on the same feed pass. Two circuits on opposite legs of the same panel pass. One 480 V device beside anything fails, and that is the case the partition is written for. Where the rule bites, a partition between the two devices satisfies it; a bigger box alone does not cure the voltage.
The hot-to-hot check for the two-gang restroom box
The case: a two-gang device box on a restroom wall, one single-pole switch on circuit 1 beside one GFCI receptacle on circuit 2. The inputs:
- Voltage to ground: 120 V per circuit, from a split-phase or a 208 V wye panel — the two systems that feed nearly every US branch circuit.
- The rule: partition or separate boxes where the voltage between adjacent devices exceeds the line quoted above, per the NEC's grouping rules for switches and receptacles.
Run the worst case, hot to hot:
- Same leg: the two hots cancel, 0 V between the devices.
- Opposite legs on a split-phase system: the hots add, giving the 240 V worst case quoted in the summary.
- Opposite legs on a 208 V wye system: 208 V.
The worst case sits 60 V under the line. No partition and no separate box — the two circuits share your box on voltage. What moves the answer: raise the voltage of either circuit. A 240 V appliance circuit beside a branch circuit still tops out at the same pair voltage. Two 277 V lighting switches on different legs of a 480Y/277 V system sit 480 V apart and cross the line; that case follows below.
Box fill decides the box size
Divider or none, the NEC fill calculation sets the smallest box you can use. Every conductor, clamp, ground set and device yoke carries a volume allowance, and the sum has to fit the volume stamped on the box. The NEC's conductor volume allowances: 2.00 in³ for 14 AWG, 2.25 in³ for 12 AWG and 2.50 in³ for 10 AWG. Then count:
- Every conductor that enters the box and terminates or splices: one allowance each.
- All equipment grounding conductors together: one allowance, at the largest size present.
- Internal cable clamps: one allowance for the set.
- Each device yoke: two allowances, at the largest conductor on the device.
- Each wire connector: one allowance.
For the restroom box, both circuits at 12 AWG:
| Item | Count | Allowances | Volume |
|---|---|---|---|
| Switch-loop hots (circuit 1) | 2 | 1 each | 4.50 in³ |
| GFCI line hot and neutral (circuit 2) | 2 | 1 each | 4.50 in³ |
| All grounds together | 1 | 1 | 2.25 in³ |
| Internal clamp | 1 | 1 | 2.25 in³ |
| Switch yoke | 1 | 2 | 4.50 in³ |
| GFCI yoke | 1 | 2 | 4.50 in³ |
| Total | 22.50 in³ |
That 22.5 in³ is the floor. Pigtail the hots to make the terminations workable and each connector adds 2.25 in³; the splice and pigtail rules behind that count sit in the article on splicing branch circuits in a junction box under the NEC. Feed a load downstream from the GFCI and its hot and neutral add 4.5 in³, taking the tally to 27.0 in³. Pick the stamped volume that clears your total, not one that barely matches it. The same count scales to bigger steel; a worked box-fill sizing walkthrough for industrial junction boxes runs the numbers for skid-scale boxes.
The cases that do force a divider
Three situations change the answer:
- Two 277 V lighting circuits on different legs. On a 480Y/277 V system, line to line is 480 V, so adjacent switches sit far over the line. The devices need a partition or separate boxes.
- Any device at 480 V beside another device. Same line, same result.
- A shared neutral between the two circuits. That is a multiwire branch circuit: one neutral carrying two hots. The NEC's 2020 multiwire branch-circuit rules call for the hots to disconnect together — a two-pole breaker or a listed handle tie — so neither hot stays live while you work the box. On opposite legs the neutral carries only the difference: 10 A on one leg and 6 A on the other leaves 4 A on the neutral; both hots on the same leg would load it with 16 A.
Two circuits with separate neutrals appear in none of these cases. Motor circuits sharing one box change the fill and the fixture count, but the partition line stays where it is — the article on multiple motor circuits in one junction box under the NEC and NFPA 79 covers that case. Two breakers feed a two-circuit box, so treat the opening like this:
And when a box mixes voltage classes, walk it with the mixed voltage junction box inspection checklist before you energize it.
The same rules in a stainless junction box
Swap the two-gang device box for a stainless steel wall-mount enclosure and the voltage rule moves not at all. What you gain is fill room, which is usually why the box grows. Two catalog sizes show the gap:
- 8 x 8 x 4 in 304 stainless wall-mount enclosure: about 245 in³ of interior layout room, worked from the CAD interior dimensions — roughly 11 times the 22.5 in³ tally.
- 10 x 8 x 6 in 304 stainless wall-mount enclosure: about 463 in³ of interior layout room by the same method — about 20 times the tally.
Those two figures come from multiplying the CAD interior dimensions, so read them as room to lay out; the NEC fill calculation applies to the volume the box maker marks on the product. Either size swallows the restroom tally several times over, with room left for wiring duct, terminal blocks and spare circuits. For how interior room, backplate and duct interact when you size up, the electrical enclosure sizing guide carries the fundamentals.
These boxes are rated NEMA 4X / IP66 by the manufacturer; not UL listed. In US installations, NEC 110.28 states that IP ratings are not a substitute for enclosure Type ratings, so a US spec that calls out a NEMA Type needs that Type on the drawing. For a washable restroom wall that is usually Type 4X, and we build it as a custom order, delivered in 10 business days from your approval of the drawing. Grounds bond to the metal wall: the order in which they land on the box is laid out in the article on grounding a metal box with multiple circuit splices.
What to put in the spec
| Situation in the box | Divider? | The check that settles it |
|---|---|---|
| Two branch circuits, separate neutrals | No | fill tally against the stamped volume |
| Two branch circuits, one shared neutral | No | common disconnect: two-pole breaker or handle tie |
| A large appliance receptacle beside a branch receptacle | No | the pair tops out at the same worst case |
| Two 277 V switches on different legs | Yes | 480 V between devices, over the line |
| A 480 V device beside any device | Yes | the same partition line |
Four lines finish the spec:
- Stamped box volume above your fill tally — 22.5 in³ in the worked example, 27.0 in³ with a downstream GFCI load.
- Both circuit numbers labeled inside the cover, so the second breaker is findable without a toner.
- Every equipment ground on the box's ground screw; insulated grounds 6 AWG and smaller in green, or green with one or more yellow stripes (NEC 250.119).
- GFCI protection on the restroom receptacle; outdoors or in damp corners, the article on weather resistant GFCI outdoors covers when the WR rating belongs on it.
For a stainless box in your own width, height and depth, the two circuit schedules belong on the enclosure drawing, and the build follows from your approval of it.
Enclosures in this article
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 8 × 8 × 4 in | 304 stainless | 8 x 8 x 4 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 10 × 8 × 6 in | 304 stainless | 10 x 8 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Do two 120 V circuits in one box have to share a breaker or a leg?
No. They can sit on different breakers and different legs; the worst case puts the hots 240 V apart on a split-phase system and 208 V apart on a 208 V wye panel, both under the divider line. If the two circuits share one neutral — a multiwire branch circuit — the NEC's 2020 rules call for a two-pole breaker or a listed handle tie so both hots open together.
Does a GFCI next to a light switch in a restroom need a partition?
No. The highest voltage between the two devices is 240 V — a switch-loop hot on the opposite leg against the hots behind the GFCI — under the NEC's line for a receptacle beside a switch. The restroom does change two things: the receptacle needs GFCI protection, and the GFCI yoke adds two 2.25 in³ allowances to the box-fill total at 12 AWG.
How much box fill do two 12 AWG circuits add in the worked example?
Count 2.25 in³ per 12 AWG allowance: four circuit conductors 9.0 in³, all grounds together 2.25 in³, one internal clamp 2.25 in³, and two device yokes at two allowances each 9.0 in³ — 22.5 in³ total. Each pigtail connector adds 2.25 in³, and feeding a load downstream from the GFCI adds its hot and neutral, 4.5 in³, for 27.0 in³.
When does the divider rule actually force a partition?
Above 300 V between adjacent devices. The everyday case is lighting panels: two 277 V switches on different legs of a 480Y/277 V system sit 480 V apart, so the box needs a partition or separate boxes. Any 480 V device beside another device lands the same way. Two branch circuits from one 120 V panel never reach the line — the 240 V worst case is the ceiling.
Can a 240 V receptacle and a 120 V receptacle share a two-gang box?
Yes on voltage. The larger device holds hots on both legs and the smaller sits on one of them, so the highest voltage between the two devices is that same 240 V worst case, under the line. Run the fill tally instead: at 10 AWG each allowance is 2.50 in³, so the conductor count grows fast and the stamped volume decides.





