12/2 Underground Wire: The Complete Guide to Safe, Reliable Outdoor Power
If you are powering a shed, garage, well pump, outdoor outlet, or landscape feature, 12/2 underground wire is a common choice. But “12/2” by itself does not mean the cable can go in dirt. The wire must be rated for wet locations and direct burial, which usually means UF-B cable. Using indoor Romex underground is a code violation and will fail over time.
This guide covers what 12/2 underground wire is, how many amps it carries, how far you can run it, burial depth, GFCI requirements, and the installation mistakes that cause failed inspections or unsafe circuits. It focuses on practical, code-aware advice for 120V and 240V projects, but local rules always have the final say.
What 12/2 Underground Wire Is and Where It Works
In the trade, 12/2 means 12 AWG conductors and two insulated wires. Underground-rated 12/2 usually includes a bare equipment ground, so you will see black, white, and bare copper inside a tough jacket. The “underground” part matters: the cable should be UF-B, not standard NM-B.
UF-B is designed for direct burial, wet locations, and sunlight exposure. It is commonly used for outdoor receptacles, yard lights, pumps, detached buildings, and small 20A circuits. It can also run in conduit for extra protection, but the cable itself must still be rated for the environment.
12/2 UF-B vs. Standard 12/2 NM-B
Standard 12/2 NM-B, often called Romex, is for dry indoor locations. It is not rated for direct burial or wet areas. Even if you run NM-B inside PVC conduit underground, the inside of that conduit is considered a wet location, so NM-B is still not acceptable. UF-B has a thicker, solid jacket that resists moisture, abrasion, and soil chemicals.
For example, a homeowner might bury yellow Romex in a PVC pipe to feed a shed. That installation may look protected, but water will collect in the conduit, and the NM-B jacket is not designed for it. The correct choice is 12/2 UF-B direct buried, or individual THWN conductors in a proper raceway if you prefer conduit.
Conductor Count, Ampacity, and Circuit Uses
A 12/2 UF-B cable has two insulated conductors plus a bare ground. At 120V, the black is hot, the white is neutral, and the bare wire is ground. At 240V with no neutral, the white can be re-identified as a hot conductor with approved tape or marker, but you still need the bare ground. If a 240V load also needs a neutral, you need 12/3 UF-B, not 12/2.
Copper 12 AWG is generally rated for a 20A circuit. For continuous loads, keep the draw at 80% or less, which means about 16A. Typical uses include a 20A outdoor receptacle circuit, a small 240V well pump, or a dedicated 120V circuit for a shed. Do not put 12/2 UF-B on a 30A breaker just because the run is long; that ignores the wire’s ampacity.
Installing 12/2 Underground Wire Safely
Installation is where good wire choices go wrong. Trench depth, GFCI protection, physical protection, and voltage drop all affect whether the circuit is safe and code-compliant. The NEC sets minimums, but your local building department can be stricter, especially for driveways, decks, and agricultural buildings.
Before digging, call 811 to mark underground utilities. Plan the route to avoid roots, irrigation, septic lines, and future excavations. Keep splices out of the dirt when possible, use proper connectors, and leave enough slack at both ends for clean terminations and future service.
Burial Depth, GFCI, and Code Rules
Direct-buried UF-B cable generally requires 24 inches of cover. There is a residential exception for branch circuits rated 120V or less, 20A or less, and protected by GFCI, which may allow 12 inches of cover. Depths under driveways, roads, and concrete slabs can be deeper or have different rules, so check NEC Table 300.5 and local amendments.
GFCI protection is required for many outdoor 15A and 20A, 120V receptacles in dwellings. Use weather-resistant receptacles and covers. For 240V equipment, GFCI may be required depending on the equipment and code cycle. A disconnect may also be needed for motors and HVAC equipment. The goal is simple: protect people from ground faults and make the circuit easy to service.
Voltage Drop, Splicing, and Common Mistakes
Voltage drop is the hidden limit on long underground runs. At 120V and 20A, 12 AWG copper may only be good for roughly 50 feet before exceeding a 3% drop. At 240V and the same current, you can often go about 100 feet. Lower loads stretch those distances. If your run is longer, step up to 10 AWG or reduce the load.
Common mistakes include using indoor NM-B underground, burying the cable too shallow, skipping GFCI where required, and using standard wire nuts for a buried splice. Direct-burial splices need listed splice kits, or you should install an accessible junction box above grade. If you are unsure, run larger conduit now and pull the correct wire later; the trench is the expensive part.
A well-planned 12/2 underground circuit can reliably feed outdoor loads for years when the cable is UF-B, the breaker matches the wire, and the trench meets local depth rules. Match the wire to the actual load, give yourself room for voltage drop, and have the installation inspected before backfilling. That way, the only surprise is how rarely you have to think about it again.