Updated Nov 17, 2026· 7 min read

Key takeaways

  • UF-B (underground feeder) cable rated 12/2 with ground is the standard choice for direct burial runs powering outdoor outlets, detached light fixtures, or…

UF-B (underground feeder) cable rated 12/2 with ground is the standard choice for direct burial runs powering outdoor outlets, detached light fixtures, or small sheds on a 20-amp circuit, while longer runs or higher-draw loads like a detached garage or hot tub generally call for a thicker gauge or a licensed electrician’s input on sizing. “12/2 with ground” describes two 12-gauge insulated conductors plus a bare or green-insulated ground wire, and UF-B jacketing is specifically rated by code for direct burial without conduit in most residential applications. The guide below groups options by use case and explains the fit and code details that matter before buying.

What “Direct Burial 12/2 With Ground” Actually Means

Three parts of that description each matter. “12” refers to the wire gauge (American Wire Gauge), which determines how much current the conductors can safely carry; 12-gauge is commonly rated for 20-amp circuits, while the more common 14-gauge is typically limited to 15-amp circuits. “2” means two insulated current-carrying conductors (commonly a black hot and a white neutral), and “with ground” adds a third conductor, usually bare copper or green-insulated, for grounding.

“Direct burial” means the cable’s jacket is rated by the manufacturer and recognized electrical codes for burial in the ground without being run through conduit, which is what UF-B cable is designed for. This is different from NM-B (commonly known by the brand name Romex), which is intended for dry, protected interior locations and is not rated for direct burial or wet locations. Buyers should check the cable’s printed jacket markings for “UF” and the cable’s voltage and gauge rating before purchasing, since using an interior-rated cable underground is a safety and code violation.

Burial depth requirements are set by the National Electrical Code and may be modified by local amendments; depth requirements commonly vary depending on whether the circuit is GFCI-protected, whether it runs under a driveway, and the circuit’s amperage, so checking local code or consulting an electrician before digging is essential.

Best Overall: Standard UF-B 12/2 With Ground for 20-Amp Outdoor Circuits

For the most common direct burial use case — powering a 20-amp outdoor outlet circuit, a detached light post, or a small outbuilding — standard UF-B cable rated 12/2 with ground from manufacturers like Southwire is the typical choice carried by electrical suppliers. These cables are jacketed for both direct burial and wet-location use, and are sold by the foot or in pre-cut rolls for common run lengths. Reviewers and electricians generally note that sunlight-resistant jacketing is worth checking for if any portion of the run will be exposed above ground rather than fully buried, since prolonged UV exposure can degrade some cable jackets over time.

Best for Longer Runs: Verifying Voltage Drop Before Buying 12/2

Longer underground runs — often cited as beyond roughly 100 feet, though the exact distance depends on the load — can experience voltage drop significant enough that electricians recommend stepping up to a heavier gauge, such as 10/2, even when the connected load would otherwise be fine on a 12/2 circuit. This isn’t a different “best” product so much as a sizing decision: the same UF-B 12/2 cable works mechanically over a longer distance, but the electrical performance may suffer. Anyone running a long direct burial circuit should calculate voltage drop for their specific run length and amperage, or have a licensed electrician confirm sizing, before purchasing cable.

Best for Higher-Draw Outbuildings: Stepping Up Gauge or Consulting an Electrician

A detached garage, workshop, or hot tub circuit often draws more current than a simple outdoor outlet or light fixture, and may require a larger gauge cable, a dedicated subpanel, or both. Rather than defaulting to 12/2, buyers in this situation should have the specific load calculated by a licensed electrician, since undersized wire for the actual load is both a code violation and a fire risk. This is one of the clearest cases where a direct-to-electrician conversation is more valuable than a specific product recommendation.

Best Budget Pick: Shorter Pre-Cut UF-B Rolls

For small, well-defined projects like wiring a single detached light fixture or a short run to one outdoor outlet, buying a pre-cut shorter roll of 12/2 UF-B cable, sized closely to the actual run length, avoids paying for excess cable on a long reel. Measuring the planned trench route, including any extra length needed for connections at each end, before buying helps avoid both under-buying and significant waste.

Alternatives Worth Considering

  • Conduit with THHN/THWN conductors: Instead of direct burial UF-B cable, some installations run individual THHN/THWN-rated conductors through buried PVC conduit, which some electricians prefer for easier future wire replacement and added physical protection, at the cost of a more involved installation.
  • 10/2 or heavier gauge UF-B: For longer runs or higher loads, stepping up to a heavier gauge in the same UF-B direct burial cable family addresses both capacity and voltage drop concerns.
  • Pre-assembled outdoor extension or lighting cable kits: For simple landscape lighting rather than a permanent circuit, some manufacturers sell lower-voltage, pre-assembled direct burial cable kits that avoid full 120V circuit wiring entirely.

At a Glance: Direct Burial 12/2 With Ground Options

Type Best For Key Stated Specs Limits
Standard UF-B 12/2 w/ ground 20-amp outdoor outlets, light posts, small outbuildings Rated for direct burial and wet locations, 20A capacity Check sunlight resistance if any run is exposed above ground
Same cable, longer run (voltage drop check) Runs beyond roughly 100 ft Same conductor size, sizing depends on calculated voltage drop May need to step up gauge despite load being within 20A
Heavier gauge or electrician-sized circuit Detached garages, workshops, hot tubs Load-specific sizing, possible subpanel Not a simple off-the-shelf 12/2 decision
Short pre-cut UF-B rolls Single fixture or outlet, small projects Pre-cut lengths matched to short runs Less economical for longer or multiple runs

Pick X If…

Choose If…
Standard UF-B 12/2 w/ ground You’re wiring a typical 20-amp outdoor outlet or light fixture over a short-to-moderate distance
Same cable, longer run (voltage drop check) Your run exceeds roughly 100 feet and you’ve confirmed voltage drop is acceptable
Heavier gauge or electrician-sized circuit You’re powering a detached garage, workshop, or hot tub
Short pre-cut UF-B rolls You have one small, well-defined run to complete

Code, Depth, and Safety Notes

Burial depth, GFCI protection requirements, and conduit requirements under driveways or near structures are set by the National Electrical Code and local amendments, and these requirements can change between code cycles and jurisdictions. Always confirm current local requirements with the local building or electrical permitting office before digging, and consider pulling a permit for any new underground circuit, since many jurisdictions require one along with an inspection. For any circuit beyond a simple, well-understood outdoor outlet or light run, or any doubt about load calculations, gauge sizing, or code compliance, consult a licensed electrician rather than relying solely on general guidance.

Frequently Asked Questions

Can I bury 12/2 Romex (NM-B) instead of UF-B cable?

No, standard NM-B cable (commonly sold under the Romex brand name) is rated for dry, protected interior locations and is not approved by electrical code for direct burial or wet-location use. UF-B cable is specifically manufactured and rated for burial and should be used instead for any underground run.

How deep does direct burial 12/2 cable need to be?

Minimum burial depth depends on the circuit’s amperage, whether it’s GFCI-protected, and local code amendments, so there isn’t a single universal depth that applies everywhere. Checking with the local building department or a licensed electrician before digging is the reliable way to confirm the correct depth for a specific project.

Do I need GFCI protection on an outdoor circuit wired with 12/2?

Most electrical codes require GFCI protection for outdoor receptacles and many outdoor circuits generally, regardless of wire gauge, because of the added shock risk in wet or damp outdoor conditions. A qualified electrician or the local code office can confirm the specific GFCI requirements that apply to a given installation.

Is 12-gauge wire the right size for my outdoor project?

12-gauge is commonly used for 20-amp circuits, but the correct gauge depends on the connected load’s amperage and the length of the run, since longer runs can require a heavier gauge even for the same load. If there’s any uncertainty about the load or run length, a licensed electrician can confirm the correct wire size before installation.

Can I splice direct burial cable underground?

Most electrical codes require splices in underground cable to be made inside an approved, accessible junction box rather than buried directly in the soil. Direct burial of an unprotected splice is both a common code violation and a safety hazard, since it can allow moisture intrusion and a failed connection over time.

Do I need a permit to install a new underground electrical circuit?

Many local jurisdictions require a permit and inspection for new underground circuits, even for relatively simple projects like a detached light post or outdoor outlet. Checking with the local permitting office before starting work helps avoid issues with code compliance, insurance, or future home sales.

A
Ae Delta Editorial Team
We compare specs, materials and verified owner reviews before a product earns a spot. Rankings are never paid.
Affiliate disclosure. As an Amazon Associate we earn from qualifying purchases at no extra cost to you. Prices accurate as of the date shown.