A junction box is enough when the location only terminates or splices cable: glands on the bottom, a few wire nuts or terminal blocks, no heat and nothing you will service. You need an enclosure once the point holds powered equipment, a receptacle, a switch or anything you will open, adjust or extend. The rest of this article turns that rule into a decision you can put on an order.
The short answer
If your plan is "cable arrives, cable leaves", order junction boxes. If your plan is "cable arrives, something plugs in or connects here", order a sealed enclosure with a mounting panel and space to grow. The mistake is planning junction boxes around gear that will arrive later: the second box, the second permit of digging and the second outage always cost more than the larger first box.
Junction box or enclosure: the dividing line
| Question | Junction box | Enclosure with panel |
|---|---|---|
| Splices or terminal blocks only | Yes | Overkill |
| Receptacle or plug-in load | No | Yes, weather-rated device on the panel |
| Network switch or media converter | No, unless externally powered and never serviced | Yes |
| Small power supply or transformer | No | Yes |
| Heat-generating gear | Never | Yes, sized for the watts |
| Room for future circuits | None | Set by backplate size |
| Opened a few times a year | Awkward, gasket wears | Designed for it: hinged door |
Two more points before you choose the box at all. Anything you mount near a sidewalk, mailbox or shared boundary may sit in a public right-of-way or utility easement; check with the local authority before burying conduit or setting a post there. And for outlets or any premises wiring, the installation is electrical work: local code and, in many cases, a permit apply to what goes inside the box, whatever the box is.
Where junction boxes are the right call
A junction box wins when the location is a pass-through. Typical cases: a conduit run changes direction, cable drops from a pole to underground, or two runs join with splices. The sealing work is entry work, not internal layout: glands sized to the cable, entry on the bottom or sides, drip loops so water cannot wick in, and a drain or breather if volume and condensation demand it. The outdoor electrical enclosures guide covers those sealing details; the decision here is just that nothing inside generates heat or needs service.
Even then, match the box to the environment. Outdoors it needs a wet-location rating, and in salt air or washdown areas it should be corrosion resistant. Our enclosures in this range are rated NEMA 4X / IP66 by the manufacturer; not UL listed. The NEMA enclosure types guide explains how the types map to conditions. Unlike a UL listed enclosure, which has been evaluated by UL to UL 50E, ours is rated by the manufacturer and not UL listed. If your inspector or spec requires a listing, settle that before ordering anything.
When you need a real enclosure
The moment a device lives at the location, size the box around the device, not the cable.
- A receptacle. A weather-rated duplex outlet plus the device box behind it takes real depth. Mount it to the enclosure's panel or wall, wired from your glanded supply.
- A network switch. A small unmanaged switch dissipates roughly 5 to 15 W. It needs mounting, cable bend room and airflow-free derating inside a sealed box. A 12 x 10 x 6 in wall-mount enclosure holds a compact switch, a power strip or outlet and spares.
- A small power supply. DIN-rail supplies are the cleanest way to feed cameras or radios, and they need panel space plus thermal clearance.
- Future growth. If cameras or another circuit are plausible, take a 14 x 12 x 6 in box instead. Inside space is the cheapest thing to buy now and the most expensive to add later.
For sealed boxes with live electronics, heat and layout matter as much as volume; the backplate and DIN rail layout guide carries the layout side, and the enclosure sizing guide carries the volume side.
Size and material for a small outdoor point
| Contents | Outside size (H x W x D) | Fits |
|---|---|---|
| Splices only, one feed and one drop | junction box, glanded | Terminations, no devices |
| Small switch or media converter, one outlet | 8 x 8 x 4 in | Tight; fine for one compact device |
| Switch, duplex outlet, spare room | 12 x 10 x 6 in | Comfortable, room for two future glands |
| Switch, outlet, DIN supply, cameras later | 14 x 12 x 6 in | Headroom without a rebuild |
These are standard sizes in our stainless wall-mount range, which runs from 6 x 4 x 4 in up to 60 x 36 x 16 in, in 304 and 316L stainless, with a removable mounting panel, hinged gasketed door and wall-mount feet. If your layout needs a specific cutout position or an odd size, a custom enclosure built from one piece solves it without mods in the field.
On material: 304 stainless is right for most outdoor sites. Choose 316L within sight of salt water, near a pool, or anywhere de-icers and chlorides splash the box. Both grades in this range are manufacturer-rated NEMA 4X / IP66; not UL listed.
Mounting and sealing details that decide the outcome
Whichever box you pick, the rating survives only if the entries do.
- Enter from the bottom or sides, never the top. Glands facing up collect water; see mounting cable glands facing up on an outdoor junction box for why and what to do instead.
- Fit drip loops on every outdoor cable so water sheds off the jacket before the gland.
- Use a cord grip or bulkhead connector for anything you unplug often; the bulkhead gland comparison covers the trade-off.
- In planting beds or near irrigation, mount above grade and expect washdown-grade sealing; the outdoor enclosures guide covers the ratings ladder from rain to hose-directed water.
- Leave a drain or breather only where the volume rules call for one; otherwise keep the box fully sealed.
If you are deciding how the cable enters a wall or post rather than which box to buy, the article on junction box versus wall mount bracket for outdoor cable entry covers that fork.
What to put on the order
| Item | Junction-box job | Enclosure job |
|---|---|---|
| Box | Wet-location junction box, corrosion-resistant | 12 x 10 x 6 in or 14 x 12 x 6 in wall-mount enclosure, 304 or 316L |
| Entries | Glands sized to cable, bottom entry | Glands plus a gland plate if runs may change |
| Internal | Splices or terminal blocks | Mounting panel, DIN rail, weather-rated outlet, switch |
| Extras | Drip loops, drain if the volume rule says so | Cord grips or bulkhead connectors, 30% spare space |
If the shortlist approach helps, the enclosure selector filters by environment, inside size and DIN module count and carries the result into a quote. Either way, the rule stands: pass-through gets a junction box, powered gear gets an enclosure sized for the gear plus a third more space than you need today.
Enclosures in this article
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 12 × 10 × 6 in | 304 stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 14 × 12 × 6 in | 304 stainless | 14 x 12 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Can I put an outlet inside a junction box?
No. A junction box is for splices and terminations. A receptacle needs a box listed for the device, with the right depth and wiring volume, and it must remain accessible. If you want a weatherproof double outlet in an outdoor cabinet, mount a weather-rated receptacle assembly on the panel of a proper enclosure instead, where there is room, working space and a gasketed door.
How much heat does a network switch add in a small sealed enclosure?
A small unmanaged switch typically dissipates 5 to 15 W. In a sealed 12 x 10 x 6 in box, that is usually fine at moderate ambient; check the switch datasheet for its maximum operating temperature and compare it with your worst-case ambient plus a rise of 10 to 20 degrees C. If the numbers are close, size up or read the guide on removing heat from a small sealed enclosure.
Do junction boxes need to be rated NEMA 4X outdoors?
Type 4 handles hose-directed water and rain; the X adds corrosion resistance, which matters in salt air, near pools or in coastal areas. For a buried-run box under a cover in a mild climate, Type 4 is often enough. Corroded latches and hinges are the common failure, so the X is cheap insurance on stainless.
What size enclosure for a switch, an outlet and spare space?
For one small switch, a duplex outlet on the panel and room for two future cables, a 12 x 10 x 6 in wall-mount enclosure works well. If you expect cameras or a small power supply later, step up to 14 x 12 x 6 in. Roughly 30% spare backplate area avoids a second box a year later.
Is a buried junction box acceptable?
Direct-burial boxes exist for underground runs, but a box at grade near a mailbox or in a planting bed takes irrigation water, string trimmers and frost. Mount it above grade on a post, wall or pole with glands on the bottom and drip loops. Anything fully underground must be a product designed and listed for direct burial.





