Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

本文为英文。 查看中文网站

Running NM cable into a weatherproof box the right way

NM cable can land inside a gasketed, manufacturer-rated weatherproof enclosure, because the sealed interior counts as a normally dry location — feed it through a 7/8 in [22 mm] glanded hole in the back. Where an air gap or rainscreen cavity wets the wall behind the box, land the NM in an interior box and run THWN-2 conductors through a short conduit nipple with a 12 in [300 mm] vertical rise.

NEMA4 Enclosure engineering team · Published November 13, 2026 · 7 min read

Short answer: NM cable can land in a weatherproof box, and the right entry is a sealed cable gland through the back — not a bare clamp with a bead of silicone. A gasketed, rainproof enclosure keeps water off the conductors, so its interior counts as a normally dry location, exactly where the NEC allows NM cable. The jacket has to stay dry along the whole run: where your wall leaves an air gap or a rainscreen cavity behind the box, land the NM in an interior metal box and cross the wall as THWN-2 conductors in a short PVC or liquid-tight nipple. One drilled hole for a trade-size gland, one gasketed hub, a short vertical rise on the inside, and the entry is watertight and inspection-ready.

Keep the cable dry or switch to wet-rated conductors

The NEC allows NM cable in normally dry locations and asks that it stay protected from moisture. A rated rainproof enclosure supplies exactly that: the gasketed door and the sealed entries keep the inside dry, so the space counts as a dry interior. It is the same reading that lets an outdoor breaker panel carry residential wiring behind its cover. The insulation under the NM jacket carries no wet rating, so the arrangement holds only while every inch of the cable sits in that protected space.

A raceway outdoors is a different case. Conduit on a wet wall breathes in humid air and collects condensation, and the NEC expects conductors in a wet-location raceway to carry a wet marking. THWN-2 is the everyday choice, rated 90 C in wet locations; XHHW-2 does the same job. The decision therefore collapses to one question. If the cable stays dry end to end, NM in through a gland is fine; if any part of the run sees water, the NM stops at an interior box and THWN-2 takes over.

US specifications want the enclosure type on the drawing, not an IP figure alone: in US installations, NEC 110.28 states that IP ratings are not a substitute for enclosure type ratings. International specs ask for the IP code, so a box marked NEMA 4X / IP66 covers both scales; the NEMA 4X vs IP66 guide shows how the pairs line up.

Pick the entry from your wall build-up

Wall behind the box What the cable sees Method
Solid sheathing, block or masonry, box bedded flat Dry end to end NM through the back, weatherproof cable gland, sealed penetration
3/4 in [19 mm] rainscreen battens Vented cavity that carries driven rain Interior box, THWN-2 pigtails, PVC or liquid-tight nipple
1–2 in [25–50 mm] brick or stone drainage gap Wet on the wall side Same nipple method, gasketed hub on the box, plug at the interior end
Dry under a roof overhang, entry through the back Dry end to end NM through the back, gland

Any open gap behind the box is a wet zone. Battens and brick cavities vent and drain by design, and driven rain travels straight through them; even a 1/4 in [6 mm] shadow gap behind a bowed siding board wicks water along the jacket. The test for your wall is simple: if the cable crosses open air outside the enclosure, it is a wet cable. A sealed box with sealed entries stays dry inside for years, and the vented-versus-sealed outdoor box article explains why an open vent only invites condensation.

What you need

  • A gasketed stainless wall-mount box, manufacturer-rated NEMA 4X / IP66; not UL listed, with room for the NEC's free-conductor loop at every splice. The stainless junction boxes and the outdoor wall-mount enclosures both fit the job.
  • A weatherproof cable gland on a 1/2 in trade thread, with a published sealing range covering the jacket's widest dimension.
  • For the nipple method: a gasketed conduit hub on the same trade size, PVC with its fittings, or a short length of liquid-tight flexible conduit with wet-listed end fittings.
  • An accessible interior metal box with listed NM clamps and a blank cover.
  • THWN-2 pigtails sized to your breaker: 12 AWG on a 20 A circuit, 10 AWG on 30 A.
  • Exterior sealant, plus duct seal or a listed foam plug for the interior end.
  • A hole saw or step drill sized to the gland, a deburring tool, and a meter.

A 1/2 in trade-size gland takes the conventional 7/8 in [22 mm] knockout hole, and an M20 metric gland takes the same 22 mm; the M20 gland hole size article lists both by housing material.

Through the back on a solid wall

Breaker off, and prove the conductors dead with a meter before you cut into any jacket.

  1. Find solid backing: sheathing over a stud bay, block or masonry. Hold the box level, mark the entry through the wall, and drill the 7/8 in hole from the tool list. Keep the hole center at least 13/16 in [21 mm] from any internal rib. A gland's locknut spans about 1-1/8 in across flats (a typical steel nut) and wants a 1/4 in flat land, so 9/16 in + 1/4 in = 13/16 in. Two glands side by side need 1-3/8 in [35 mm] center to center: two nut radii of 9/16 in plus one 1/4 in land.
  2. Deburr both faces and keep the hole round. Fit the gland from the inside with its sealing washer against the outer skin, then tighten hand-tight plus a half turn, until the elastomer bulges slightly without extruding.
  3. Feed the NM from the wall through the gland and leave 8 in [200 mm] of jacket inside. Size the gland to your cable: a 12/2 NM-B jacket runs about 0.59 in [15 mm] across and 0.31 in [8 mm] thick (typical two-conductor NM-B), so a gland rated 0.35–0.63 in [9–16 mm] closes on the flat cleanly.
  4. Splice inside with listed pressure connectors, leaving 6 in [150 mm] of free conductor at each end, the NEC's figure for box splices.
  5. Strap the cable to framing within a foot of the box and at every 4.5 ft [1.4 m] beyond it, the NEC's NM securing intervals.
  6. Seal the penetration with a thin sealant collar around the gland's outside face, then close the door and check that the gasket compresses evenly all round. If the geometry fights you, the rear cable entry article shows the layout options.

Cross a cavity: interior box, THWN-2, short nipple

  1. Pick an accessible spot within a few feet of your outdoor box and set the interior metal box there. The splice lives in the wall for good, so it keeps a blank cover and stays reachable without opening finished surfaces.
  2. Land the NM in it and splice to THWN-2 pigtails, 12 AWG on a 20 A circuit or 10 AWG on 30 A, using listed pressure connectors.
  3. Start the nipple from a trade-size knockout: rigid PVC or liquid-tight flexible conduit with wet-listed fittings. Rise 12 in [300 mm] up the cavity before you cross the wall; the rise keeps bulk water off the terminations and leaves room to re-pull later. Keep the run short, about 6 ft [1.8 m] or less, so the conductors feed without a fight; the liquid-tight-to-exterior-box article covers the flexible route.
  4. Terminate at the weatherproof box through a gasketed hub, hand-tight plus a half turn; the Myers hub with PVC conduit article shows which hubs seal on plastic boxes.
  5. Plug the interior end with duct seal or a listed foam plug, and tool a sealant collar over the hub's outside face. Condensation inside the nipple then has no path to either termination.
  6. Leave slack at both ends for re-termination, fit the interior cover, and mark it as a line-voltage splice.

Checks when the job is done

  • Tug test: pull the cable at the gland with both hands, about 15 lbf [70 N] of effort; the jacket must not creep.
  • Hose check: a gentle fan spray from 3 ft [0.9 m] for 5 minutes over the door and the entry face, a practical check rather than the Type 4 test. Open up afterward and look: the interior and the conductor ends must be dry.
  • Gasket line: the door closes with even resistance all round and no light gap at the corners.
  • Nipple ends: the interior plug sits tight, no daylight past the hub, and no drip at the gland after the hose.
  • Interior box: cover on, marked, and reachable.

Mistakes that cost the seal or the inspection

  • A listed NM clamp with a silicone bead: the clamp has no seal of its own, and silicone joints creep in the sun. Swap it for the gland and keep sealant as a thin collar on the gland's outside face.
  • NM carried through the outdoor nipple because both ends are plugged: the jacket sits wet in a condensing raceway and carries no wet marking. Splice inside and run THWN-2.
  • A splice in the void behind the box instead of inside it: that fails on access alone. The wire splice outside a junction box article covers the code-legal fix.
  • A gland on an oversize or oval hole: one elastomer washer cannot bridge a saw kerf. Re-drill to a true round hole and use the right hub; the conduit entry size mismatch article sorts the transitions.
  • A burr or a flattened seal seat from a rushed field cut: deburr both faces and keep the hole round; the field-drilled conduit entries article explains what keeps the NEMA 4X rating on a hole you cut yourself.

The decision, wall by wall

  • Solid backing and a box bedded flat: NM through the back through a glanded hole, penetration sealed. Done in an afternoon.
  • Rainscreen battens, brick cavity or uneven stone: splice inside, THWN-2 in a short nipple with the vertical rise, gasketed hub, both ends plugged.
  • Any outdoor conduit run: THWN-2 only, rated 90 C wet; the NM stops at the interior box.
  • On the order: ask for the rear trade-size entry position, since you set every cutout, and the hole arrives at the gland's knockout size, deburred and ready. It is delivered in 10 business days, counted from your order or, for the custom cutout, from your approval of the drawing.

Catalog dimensions to compare

Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.

EnclosureMaterialOutside H x W x D / displayRating
16 × 12 × 8 in304 stainless16 x 12 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
20 × 16 × 8 in304 stainless20 x 16 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can NM cable legally enter an outdoor weatherproof box?

Yes, through a sealed entry with the splice inside. The NEC limits NM cable to normally dry locations, and the gasketed interior of a rainproof enclosure counts as one — feed the cable through a 7/8 in [22 mm] glanded hole in the back and keep every inch of jacket inside the box or inside the sealed wall. The splice itself must sit in the enclosure, not in a void behind it.

Can I run NM through conduit to reach an outdoor box?

No. A raceway on a wet wall collects condensation and driven water, and the NEC expects wet-rated conductors in it. Splice to THWN-2, rated 90 C wet, or XHHW-2 in an interior box and run the nipple in trade-size PVC or liquid-tight conduit; the NM jacket has no wet marking and stays out of the raceway entirely.

How small a gap behind the box still counts as wet?

Any open cavity that vents to the outside counts: a 3/4 in [19 mm] rainscreen batten or a 1 in [25 mm] brick drainage gap carries driven rain past the box, so a cable crossing it is wet on its run. Bed the box on solid sheathing where you can; over a cavity, come through as THWN-2 with a 12 in [300 mm] rise inside the wall.

How do I feed several NM runs through one weatherproof box?

Use a multi-hole gland plate with one gland per cable, each in its own round knockout-size hole with its own sealing washer, spaced 1-3/8 in [35 mm] center to center. Each gland seals only the cable sitting in it, so a spare hole stays closed with a blanking plug of the same thread.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 16 × 12 × 8 inRequest a custom quote

Outdoor enclosures: sizes for this job

Keep reading

Related engineering answers

All articles

Buying guides

The guides behind this answer

All guides