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

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

Turning an outdoor light junction box into a GFCI outlet

Yes, you can turn an outdoor light box into an outlet, but the exposed NM cable comes out first: run the outdoor leg in conduit or sunlight-resistant UF-B, land a 20 A weather-resistant GFCI in a box with at least 20 cu in [328 cm³], and close it under an in-use cover. Expect a switched outlet if only a switch leg feeds the box.

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

Short answer: you can turn that outdoor light box into a GFCI outlet, but the rework starts with the cable, not the receptacle. Pull the outdoor leg in conduit with wet-rated conductors, land a 20 A weather-resistant GFCI in a single-gang weatherproof box with at least 20 cu in [328 cm³] of volume, and close it under an in-use cover. Look at the feed before you buy anything: a light hung on a 2-conductor switch loop has no neutral at the box, and a GFCI will not run without one. That version of the job starts at the switch box instead.

Why the existing cable has to come out

NM cable — the white-jacketed kind — is listed for dry, interior locations. Left outdoors, sun and water chalk and crack the jacket, and a staple set too deep cuts into it. The jacket is the insulation's only defense, so a cracked outdoor run is a fault waiting for rain. A deep overhang softens the weather but changes nothing about the rating.

The honest rework is short. The NM ends at an accessible splice box on the inside of the wall, and from there single conductors — 12 AWG THWN-2 on a 20 A circuit — leave through a weatherproof hub and run in conduit to the outlet. UF-B is the alternative: it carries wet-location and direct-burial ratings, and sunlight-resistant UF-B may run exposed where it is not subject to physical damage. Low on a wall near grade counts as subject to damage, which is why conduit is the dependable pick. The routing questions are the same ones you face with outdoor electrical enclosures, and that guide covers them.

If the splice box lands outdoors instead, it needs a wet-location rating of its own. Our stainless wall-mount junction boxes are manufacturer-rated NEMA 4X-type / IP66 — not UL listed — with gasketed hinged doors, a removable mounting panel and whatever hub cutouts you specify, delivered in 10 business days from your order. The stainless junction boxes page lists the nine wall-mount sizes we build for splices, terminal blocks and pull duty.

Find the feed before you spend a dollar

Open the light box once the breaker is off (step 1 below) and look at what feeds it. Three finds cover nearly every house, and each one sends the job a different way:

What you find What it means Your outlet
Two conductors: a switch loop, no neutral The box holds only switched power A GFCI cannot run here; start the rework at the switch box
Three conductors: constant hot, neutral, ground A live feed passes through Wire the GFCI here; the outlet works whenever the circuit is on
Feed plus switch leg, four conductors or more Constant power and the light's return share the box GFCI on the constant pair; the light stays switched

A GFCI's test electronics sit between line hot and line neutral, so both must land on the line terminals. Confirm with a meter: 120 V between a pair that stays live with the switch off is the feed, and 120 V only when the switch is on is a switch leg. For an always-live outlet fed by a switch loop only, the new run starts at the switch box, where line hot and neutral live. Use a weather-resistant GFCI either way — it is the only receptacle built for hose spray, and the weather-resistant outdoor GFCI article explains when one earns its keep.

Sizing the box: one 20 A weather-resistant GFCI on 12 AWG copper

This is the arithmetic that decides the box on your order. The inputs:

  • the circuit: 20 A breaker, 12 AWG copper THWN-2 conductors, pulled in conduit so the box carries no internal clamps;
  • per-conductor volumes from the NEC fill table: 2.25 cu in [36.9 cm³] for each 12 AWG conductor, 2.00 cu in [32.8 cm³] for each 14 AWG one;
  • one GFCI receptacle, counted as two conductors of the largest size attached to it;
  • all equipment grounding conductors, counted together as one conductor of the largest size;
  • one internal clamp set, counted as one — conduit hubs outside the wall count nothing.

The rule in words: sum the items, and keep the total at or under the volume printed on the box. Without conduit, cables, glands and fill drive the count instead — how to size an electrical enclosure works the same method with different inputs.

Fill item Count Volume each Subtotal
Circuit conductors, hot and neutral 2 2.25 cu in [36.9 cm³] 4.50 cu in [73.7 cm³]
Equipment grounding conductors, all as one 1 2.25 cu in [36.9 cm³] 2.25 cu in [36.9 cm³]
GFCI receptacle, largest conductor 12 AWG 2 2.25 cu in [36.9 cm³] 4.50 cu in [73.7 cm³]
Internal clamp set, when the box has one 1 2.25 cu in [36.9 cm³] 2.25 cu in [36.9 cm³]

Arithmetic with conduit entry and no clamps: 4.50 + 2.25 + 4.50 = 11.25 cu in [184 cm³]. With one clamp set: 11.25 + 2.25 = 13.50 cu in [221 cm³].

Decision: a fill of 13.50 cu in fits a deep 14-16 cu in box on paper, but a GFCI body, its pigtails and an in-use cover need physical room. Order the single-gang weatherproof box with at least 20 cu in [328 cm³] of printed volume — 6.5 cu in [107 cm³] spare in this case — and step up to a two-gang once total fill passes 20 cu in. On a 15 A circuit in 14 AWG the same items sum to 10.00 cu in [164 cm³], or 12.00 cu in [197 cm³] with a clamp set, and the same 20 cu in box still wins.

Wiring it, start to finish

  1. Turn the breaker off, lock the panel, and prove the light box and the switch box dead with a meter before you touch a conductor.
  2. Identify the feed against the table above, then pull the NM cable free from the light box back to the switch box.
  3. Cut in the interior splice box, or use the switch box if the splice fits there; the NEC sets at least 6 in [150 mm] of free conductor at each splice, so leave the slack.
  4. Mount the weatherproof outlet box where the light hung, with the entry on the bottom wall so water on the wall never runs in; the same logic points cable entries down, which enclosure cutouts, glands and HMI windows covers.
  5. Run conduit from the splice box through a sealed wall penetration to the outlet box — Schedule 80 PVC outdoors, strapped every 3 ft [90 cm] and within 3 ft of each box — or threaded metal, which the threaded-conduit conversion article walks through.
  6. Pull three 12 AWG THWN-2 conductors (black, white, green) and splice the NM to them inside the interior box with listed connectors.
  7. Terminate the GFCI: the feed on line, anything downstream on load, cap the load leads if they go unused, and tighten the terminals to the torque printed on the device.
  8. Seat the cover gasket and close an in-use cover, the kind that latches over a plugged-in cord; the in-use cover for a single outlet article shows what qualifies.
  9. Energize the circuit, press the GFCI's test button, and confirm it trips and resets.

Checks when you close up

  • The GFCI trips on its button, resets, and holds a plug-in tester showing correct wiring.
  • The in-use cover latches with a cord plugged in, gasket seated all round.
  • The drip loop hangs below the entry fitting, so water on the conduit drips off outside.
  • Straps every 3 ft, wall penetration sealed, no exposed NM anywhere outdoors.
  • The switch does what you planned: outlet always live, or live only with the switch.
  • Re-run the button test monthly; a GFCI that will not trip protects no one.

Mistakes that flood the box

  • Splicing onto the NM and leaving the joint outdoors. NM has no wet or sunlight rating; replace the run instead.
  • Entry on the top or side wall without a drip loop. Bottom-wall entries keep wall water out.
  • A spring-flap indoor cover. It only protects an empty socket; an in-use wet-location cover protects a plugged-in one.
  • A shallow box chosen because the fill table allows it. The GFCI body needs the 20 cu in box to sit clear of the walls and let the cover close.
  • Field-drilling a sealed stainless box. Specify the cutouts on the order instead; drainage openings of 1/8 to 1/4 in [3-6 mm] belong on boxes listed for damp or wet locations, which is what NEC 314.15 permits, as the NEMA 3R vs NEMA 4 comparison explains.
  • The GFCI at the far end of the run. Put it first, so everything on its load side inherits the protection.

A sealed box that bakes in the sun also condenses moisture at dusk, and condensation is one thing no enclosure rating fixes, as the outdoor and weatherproof enclosures guide makes clear. The breather and drain requirements article explains which fittings let a weatherproof box breathe while keeping its rating.

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
6 × 6 × 4 in304 stainless6 x 6 x 4 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can I keep the floodlight and add the outlet in the same box?

Yes, if the fill and the box grow with it. Two more 12 AWG conductors for the light leg add 4.50 cu in, taking the conduit-entry example from 11.25 to 15.75 cu in [258 cm³]. A two-gang weatherproof box covers that fill and gives the GFCI body room. Feed the light leg from the GFCI's load side if you want the fixture protected too, or from the line side to keep it outside the tripping.

Does an outdoor outlet need GFCI protection even under an in-use cover?

Yes. The NEC requires GFCI protection for dwelling-unit outdoor receptacles, and the 2020 edition extended how outdoor outlets are covered. A Class A GFCI trips at 4-6 mA of leakage current, far below levels that lock muscles, so the cover and the GFCI do different jobs: the cover keeps water off the contacts, and the GFCI clears whatever leaks past.

Can I run UF-B instead of conduit to the new outlet?

Yes, where the cable is not subject to physical damage. Sunlight-resistant UF-B may run exposed, and UF-B is wet-location and direct-burial rated, so it also suits buried runs. Along a wall near grade, the damage rule wins and conduit is the dependable choice. Either way, every splice lands in a box rated for wet locations.

Why does my new outdoor outlet only work when the switch is on?

The box sees a switch leg, not a constant hot. Meter it with the switch off: 120 V between hot and neutral means a true feed, and 0 V means the pair is switched. A 2-conductor switch loop carries no neutral at all, so a GFCI cannot run there; pull the new run from the switch box, where line hot and neutral live.

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