12/2 underground wire

12/2 Underground Wire: The Complete Guide to Safe, Reliable Outdoor Power

By Brian Williams
AD

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.

AD
an advertisement with different types of electrical cables and wires in purple, white and black colors
an advertisement with different types of electrical cables and wires in purple, white and black colors
an electrical cable labeled with the names and description for each type of wire in this diagram
an electrical cable labeled with the names and description for each type of wire in this diagram
a metal pipe laying on the ground next to some dirt and rocks with words harryman written in it
a metal pipe laying on the ground next to some dirt and rocks with words harryman written in it

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.

Understanding 12/2 Electrical Wire: A Guide to Proper Wiring
Understanding 12/2 Electrical Wire: A Guide to Proper Wiring
interlocked MC Cable 12/2 price
interlocked MC Cable 12/2 price
Can You Run 12/2 Wire Underground 50, 100, 150, 250, 500 ft?
Can You Run 12/2 Wire Underground 50, 100, 150, 250, 500 ft?

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.

AD

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.

a blue and white pen sitting on top of a table
a blue and white pen sitting on top of a table
a pipe laying on the ground with dirt around it
a pipe laying on the ground with dirt around it
ad eBay - Romex SIMpull 12/2UF-WGX500 Type UF-B Building Wire, 12/2, 500 ft, PVC
ad eBay - Romex SIMpull 12/2UF-WGX500 Type UF-B Building Wire, 12/2, 500 ft, PVC
High-Quality Underground Cables for Reliable Power Transmission | Znergy Cable
High-Quality Underground Cables for Reliable Power Transmission | Znergy Cable
Underground Wiring
Underground Wiring
FIRMERST 100 Feet 12/2 Low Voltage Landscape Lighting Cable UL Listed
FIRMERST 100 Feet 12/2 Low Voltage Landscape Lighting Cable UL Listed

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.

AD

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.

Underground Wiring (Services)
Underground Wiring (Services)

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.

AD

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.

AD