An electrical wire type is defined by its specific insulation material, temperature rating, and environmental resistance, which collectively dictate where and how the National Electrical Code (NEC) allows it to be installed. While wire gauge determines the physical volume of copper carrying the current, the wire type determines the insulation's ability to survive heat, moisture, and physical abrasion. In a real installation, choosing the correct wire type changes your maximum allowable ampacity, dictates whether the cable can be direct-buried or must be pulled through conduit, and defines the physical pulling tension limits. Beginners frequently confuse wire type with wire gauge, or assume that any generic "building wire" can be exposed to sunlight or buried in wet soil.

Think of wire gauge as the width of a water pipe, while wire type is the pipe's material—PVC, copper, or steel—dictating whether it can handle hot water, high pressure, or corrosive soil. Selecting the wrong wire type for an environment leads to insulation breakdown, short circuits, or failed inspections. Below is the definitive matrix for the most common residential and light-commercial wire types.

The Core Wire Type Comparison Matrix

This table outlines the baseline specifications for the four wire types you will encounter on 95% of residential jobsites. Always verify the exact manufacturer datasheet, as insulation formulations can vary slightly by brand.

Wire Type Insulation Material Max Temp Rating Moisture Rating Primary Application NEC Reference
THHN / THWN-2 PVC with Nylon jacket 90°C (Dry) / 75°C (Wet) Wet & Dry Conduit runs, panel pigtails NEC Art. 310, Table 310.16
NM-B (Romex) PVC jacket, paper filler 90°C (Rated at 60°C ampacity) Dry Only Interior framing, dry attics NEC Art. 334
UF-B Solid PVC, no paper 90°C (Rated at 60°C ampacity) Wet & Underground Direct burial, outdoor feeders NEC Art. 339
XHHW-2 XLPE (Cross-linked polyethylene) 90°C (Wet & Dry) Wet & Dry Conduit, direct burial, high-heat NEC Art. 310, Table 310.16

Note: While NM-B and UF-B conductors are manufactured with 90°C insulation, NEC 334.80 strictly mandates that their ampacity must be calculated using the 60°C column of Table 310.16, regardless of the physical wire temperature rating.

Where You Meet This in Practice

Understanding wire type transitions from theory to necessity the moment you step onto a jobsite or open a panel. Here is where specific wire types are mandated or preferred:

  • Inside the Main Panel: You will almost exclusively use THHN/THWN-2 or XHHW-2 for pigtailing and routing to breakers. The nylon jacket on THHN reduces friction, allowing you to pull multiple conductors through tight conduit knockouts without tearing the insulation.
  • Interior Branch Circuits: NM-B is the standard for outlets, switches, and lighting inside dry, climate-controlled walls. The paper filler inside the jacket wicks away minor condensation and makes the outer jacket easy to strip with a cable ripper.
  • Underground Feeders: Running power to a detached garage or shed requires UF-B if you are direct-burying the cable, or THHN pulled through Schedule 80 PVC conduit. NM-B is strictly forbidden in wet soil; the paper filler will act as a sponge, wicking moisture directly to the copper and causing corrosion.
  • High-Temperature Attics: In unconditioned attics where summer temperatures exceed 110°F, standard NM-B may require severe ampacity derating. Many electricians switch to THHN in conduit or XHHW-2 to take advantage of the 90°C ampacity column for derating calculations.

SAFETY WARNING: Any procedure involving mains voltage (>50V AC) requires you to de-energize the circuit, lock out the breaker, and verify the wires are dead with a tested non-contact voltage meter and multimeter. Local codes may require a licensed electrician for panel work and feeder installations.

Worked Example: Attic Temperature Derating for a 50A Circuit

To see how wire type changes a real installation, let's calculate the allowable ampacity for a 50A Level 2 EV charger circuit running through an unconditioned attic that reaches 120°F (49°C) in the summer. We are using 6 AWG copper wire.

Scenario A: Using 6 AWG NM-B Cable

  1. Base Ampacity: Per NEC 334.80, NM-B is restricted to the 60°C column. Table 310.16 lists 6 AWG copper at 60°C as 55A.
  2. Temperature Correction: At 120°F (49°C), the NEC correction factor for 60°C insulation is 0.58.
  3. Final Calculation: 55A × 0.58 = 31.9A.

Result: Fails. The derated ampacity (31.9A) is well below the 50A breaker requirement. The NM-B insulation will degrade and the breaker may not trip before the wire overheats.

Scenario B: Using 6 AWG THHN/THWN-2 in Conduit

  1. Base Ampacity: THHN is rated for 90°C in dry locations. Table 310.16 lists 6 AWG copper at 90°C as 75A.
  2. Temperature Correction: At 120°F (49°C), the NEC correction factor for 90°C insulation is 0.87.
  3. Final Calculation: 75A × 0.87 = 65.25A.

Result: Passes. The derated ampacity (65.25A) safely exceeds the 50A load. (Note: The final termination points at the breaker and receptacle must still be rated for 75°C, which is standard for 50A+ equipment).

This single variable—the wire type's insulation rating—dictates whether you can pull a simple cable across the attic joists or if you must spend an extra $150 on PVC conduit and individual THHN conductors. For more on THHN specifications, refer to the Southwire THHN/THWN-2 datasheet.

Common Confusions and Code Violations

Do people confuse wire type with wire gauge?

Constantly. Wire gauge (AWG) is the physical cross-sectional area of the copper conductor (e.g., 12 AWG, 10 AWG). Wire type is the insulation jacket surrounding that copper (e.g., THHN, NM-B). A 12 AWG wire can be THHN, NM-B, or UF-B. The gauge determines the baseline current capacity; the type determines the environmental limits and the specific NEC ampacity column you are legally allowed to use.

What is the difference between THHN and THWN?

Historically, THHN was for dry, hot locations (90°C), and THWN was for wet locations but only rated to 75°C. Today, nearly all modern building wire is dual-rated as THHN/THWN-2. The "-2" designates that the wet-location rating has been upgraded to 90°C, matching the dry rating. If you buy new wire at a big-box store, it will be dual-rated. If you are pulling old wire from an existing 1980s conduit, it might be legacy THWN, limiting your wet-location ampacity to the 75°C column.

Can I strip the outer jacket off NM-B and use the inner THHN wires in conduit?

No. This is a frequent DIY mistake and a direct violation of NEC 334.12. The individual conductors inside an NM-B cable are not marked with the manufacturer's name, voltage rating, or specific wire type along their length, which is required for individual conductors pulled in conduit. Furthermore, the inner wires lack the nylon outer jacket that provides the necessary abrasion resistance for pulling through conduit bends. Always buy dedicated THHN/THWN-2 spools for conduit runs.

Is UF-B allowed to be exposed to direct sunlight?

Standard UF-B is generally not rated for continuous, direct UV exposure unless specifically marked as "Sunlight Resistant" (SR). If you are running UF-B up the outside of a wall to a weatherhead or outdoor junction box, it must be protected by conduit or routed in a shaded, protected chase. UV radiation breaks down the PVC jacket over time, leading to micro-cracking and eventual short circuits.