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

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

NM cable through an exterior wall to an outdoor box

Short answer: yes, when three things hold — the NM cable stays inside the dry wall cavity, a listed fitting secures it within 12 in [305 mm] of each box, and the parts outside carry the wet rating: a wet-location box, a weather-resistant GFCI and an in-use bubble cover. An 8 in pass-through through one block wall meets all three. Where any one fails, splice to THWN-2 conductors in conduit instead.

NEMA4 Enclosure engineering team · Published November 25, 2026 · 8 min read

Short answer: NM cable may pierce an exterior wall to feed an outdoor box when three conditions hold at once — the cable stays inside a dry wall the whole way, a listed fitting clamps each end at its box, and every part outside carries the wet rating. An 8 in [203 mm] pass-through through a nominal 8 in block wall, ended on a weather-resistant GFCI under an in-use bubble cover, passes all three. The NEC's rule against NM cable in wet locations describes the cable's surroundings, not its destination, so a few inches of jacket inside a dry wall is still a dry run. Where a condition fails, you splice to THWN-2 conductors in the interior box and finish the wall in conduit. The sections below give you the securing numbers, the fittings, the ratings and the decision for each wall and building type.

Is NM cable through an exterior wall to an outdoor box against code?

It is not a violation when three conditions hold at once: the cable stays inside a dry wall cavity, a listed fitting clamps it at each box, and the box, receptacle and cover outside carry wet-location ratings; miss any one of the three and the run is off code.

NEC Article 334 keeps NM cable out of commercial buildings, wet locations and places exposed to physical damage. The list describes where the cable runs. A cable that crosses a wall in a concealed, dry path and lands in a wet-rated box is a dry run ending at the wet boundary, which is exactly what a weatherproof box exists to receive.

Two habits carry the argument with an inspector. Secure the cable with listed fittings at both boxes, and keep the exposed jacket at zero: the sheath disappears into the wall on one side and into the box fitting on the other. A jacket stapled along an exterior face, even for 6 in [152 mm], is NM run outdoors, and that run has no rating behind it. The wiring-method and box split is the same one behind the junction-box versus wall-mount bracket decision for outdoor cable entry.

Where does the wet location start?

The wet location starts at the exterior face of the wall, and the wall cavity itself counts as dry, so the 8 in of jacket hidden between an interior outlet and a back-entry outdoor box is a dry run — provided no water can stand against the jacket in the wall.

A block wall complicates that condition. Hollow cores channel rain and hold it for days, and a bare jacket lying in a wet core is NM in a wet location however short the run. You bush the hole and seal the sleeve ends so the jacket rides in plastic, not on masonry.

Sealant belongs on the seams; the fitting does the sealing at the entry. Drainage belongs in the box: NEC 314.15 permits approved drainage openings of 3 mm [1/8 in] to 6 mm [1/4 in] in boxes listed for damp or wet locations, and a weatherproof box relies on those paths to shed what a storm drives in. Paint over them and the box holds water instead of draining it. The same storm path decides how a weatherproof box covers cable entry holes in a wall.

How close to the box must NM cable be secured?

The NEC's securing rule for NM cable requires it supported within 12 in [305 mm] of every box or fitting it enters and at intervals no greater than 4.5 ft [1.4 m], so two listed fittings — one at each box — satisfy both numbers for any wall up to 4.5 ft thick.

The worked example runs the common case: an interior outlet on one face, a nominal 8 in block wall, an outdoor box back-entered on the other face, and about 8 in of cable from connector to connector.

Check The rule This 8 in run Result
Securing point to its box within 12 in [305 mm] 0 in at each fitting pass
Interval between securing points 4.5 ft [1.4 m] maximum 8 in = 8 ÷ 12 = 0.67 ft pass

Each fitting sits at its own box, so the distance limit is met at zero, and the interval works out to 0.67 ft against a 4.5 ft ceiling. A thicker wall keeps passing: a 16 in wall puts the fittings 16 in apart, or 1.33 ft. Only a wall over 4.5 ft thick needs a third securing point mid-run, and no house wall reaches that.

What fittings does a pass-through need at each end?

Two listed cable fittings carry the pass-through: a connector in the back of the interior box that clamps the sheath, and a wet-location cable connector or hub in the back of the outdoor box, with a plastic sleeve bushing the drilled hole between them.

The interior side takes a standard listed NM connector sized to the cable. The exterior side is where pass-throughs fail: a connector that bottoms out before it seats into the box wall cannot seal or clamp, and the wet-location flex connector page for outdoor boxes walks that selection. The same geometry in miniature is the cable gland that runs out of length at a junction box wall.

Size the hole for the sleeve, not the cable. A hole about 1/4 in [6 mm] larger than the jacket takes a plastic sleeve or grommet that keeps the block edge off the sheath; you seal the sleeve ends after the cable is drawn in. Sealant looks like the weatherproofing but carries none of it — the fitting's sealing ring on the jacket does that work, and the SER cable entry page shows the same layering on a larger conductor. Before the first cut into the interior box, switch the breaker off and verify absence of voltage at the terminals.

Does the outdoor box and GFCI need a weather rating?

Yes, and the ratings split three ways: the receptacle carries a weather-resistant (WR) marking, the box is a cast wet-location box, and the bubble cover is an in-use type that keeps the assembly weatherproof with a plug inserted; a Class A GFCI element trips at 4-6 mA.

The NEC requires outdoor receptacles to stay weatherproof with the attachment plug installed, and that decides the cover: an in-use bubble holds the rating with a plug in it, while a flat spring cover only meets it empty. Buy the dome against the bulkiest plug you expect, because a transformer-style plug needs the deep bubble.

The WR marking is the manufacturer's statement that the GFCI keeps its function after sun, salt and spraying water, and its trip band does the personal protection at 4-6 mA. For the device swap on an existing outdoor box, the outdoor GFCI conversion page walks the steps.

When should you switch to conduit instead of NM at the wall?

Switch the moment any condition fails, and always on commercial work: land the NM in the interior box, splice to individual THWN-2 conductors, and run them through a 1/2 in hub into the wet box — a wiring method with no dry-location conditions attached. How the conduit joins the box is its own fitting question.

The cases sort quickly:

  • Dwelling wall, dry cavity, both fittings, jacket fully concealed: the NM pass-through stands as built.
  • Cores that hold water, a stucco or EIFS skin that traps moisture, or any visible jacket outside the wall: splice indoors and finish in conduit.
  • Commercial or industrial building: NM is not a permitted method there, so the run is conduit on both faces.
  • A site where the inspector wants conduit at every weather boundary: conduit ends the discussion before it starts.

The splice moves the box sizing too. Count the NEC's box-fill volumes for the transition: four 12 AWG current-carrying conductors at 2.25 cu in [36.9 cm³] each give 9.0 cu in, the grounds together add 2.25 cu in, and the internal cable clamp adds another 2.25 cu in, for a box total of 13.5 cu in [221 cm³]. The common 14 cu in single-gang box covers it with 0.5 cu in to spare; an 18 cu in box is the comfortable pick once pigtails join the count. Two 12 AWG THWN-2 conductors and the bond ride easily in the 1/2 in hub, and where the conduit continues along the wall to a light or a second box, the pull-box spacing rules on long PVC runs apply.

What changes in a block wall, a stucco wall or a commercial building?

Building type decides before wall material does: NM is confined to dwelling-type construction, so a commercial block building fails the run regardless of its wall, while a dwelling passes on block with a bushed and sealed sleeve and on stucco with abrasion protection at the skin.

Stucco and EIFS skins trap water against the jacket, so the sleeve runs through the full skin thickness and seals at both faces. Hollow block cores hold rain for days after a storm, which is why the bushed sleeve and open weep paths matter more than any rating number on the box.

A humid coastal climate such as South Florida adds two accelerants. Salt air starts corrosion at plain-steel fasteners, and daily UV ages a bubble cover's plastic, so you pick UV-stable covers and stainless or coated boxes near the coast. Condensation is the quieter problem: a box that breathes dries itself, and the vent-versus-sealed decision outdoors is its own question — the outdoor enclosures guide covers the sun as the largest heat load and the condensation no rating covers.

What goes on the order?

Order five parts for a dwelling pass-through: a listed NM connector for the interior box, a wet-location cable connector or hub for the outdoor box, a plastic sleeve, a 20 A weather-resistant GFCI receptacle, and an in-use bubble cover sized to the bulkiest plug.

For the conduit fallback, the parts become THWN-2 pigtails, a splice box one size up from the fill count, and the conduit body the wall takes. Mark the WR marking, the in-use cover and the hub material on the list so the counter hands you the coastal-grade parts.

The same geometry scales up when the outdoor box is a splice or terminal point on a plant wall rather than a single receptacle. Our stainless wall-mount junction boxes are rated NEMA 4X / IP66 by the manufacturer; not UL listed, with hinged gasketed doors and removable panels, and you put the back-entry hub on the drawing the way the cutouts, glands and windows guide describes. Where the box belongs to a listed installation, the listing difference is the first thing to settle: the UL 50E and NEMA 250 page sets out what a listed enclosure carries that a manufacturer rating does not. Both the junction-box sizes and the outdoor enclosures range are starting points, and catalog orders are delivered in 10 business days.

The decision in one line: concealed, dry and fitted at both ends in a dwelling, the NM pass-through stands; anywhere the jacket sees daylight, the core holds water or the building is commercial, the wall carries conduit and THWN-2.

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

Questions

How long can the NM pass-through be before it stops being acceptable?

The securing distances cap it: fittings must sit within 12 in [305 mm] of each box and no more than 4.5 ft [1.4 m] apart, so two end fittings cover any wall up to 4.5 ft thick. Beyond a short concealed pass-through the exposure changes the answer — NM run along an exterior face is in a wet location, and that run belongs to THWN-2 conductors in conduit.

Does a plastic sleeve through the wall count as running NM in conduit?

A sleeve is a bushed hole, not a raceway: the cable slides through a short tube sealed at both ends, which keeps the block edge off the jacket and core water away from the sheath. Drill the hole about 1/4 in [6 mm] oversize so the sleeve fits without pinching. A full conduit run is the other method — it takes THWN-2 conductors, and the NM stops at the interior splice box.

What breaker and receptacle pair with yellow 12 AWG NM cable?

The yellow sheath marks 12 AWG copper, so the circuit runs on a 20 A breaker into a 20 A weather-resistant GFCI receptacle. The Class A GFCI trip band of 4-6 mA is the personal-protection level, and the bubble cover must hold the assembly weatherproof with a plug inserted.

Is silicone sealant enough to waterproof the cable entry?

The fitting makes the seal and the sealant only helps: a listed cable connector clamps the sheath and carries the weather rating, while a bead of sealant sheds driven rain off the seam and the sleeve ends. Sun and thermal cycling break an exposed bead down, so let the fitting do the mechanical and sealing work.

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

More on layout and installation

All articles

Buying guides

The guides behind this answer

All guides