
“Which pipe can I use here?” is the second question on every job, right after “which code am I under?” Copper, PEX and the rigid plastics all look like obvious choices – until the inspector asks why there's Type M underground or DWV pipe on a pressure line.
The material matrix
A quick first choice. Confirm against your code's material tables and local amendments.
Water and heating
| Material | Water distribution (inside) | Water service (buried) | Hydronic heating |
|---|---|---|---|
| Copper Type K | Yes | Yes – a common first choice | Yes |
| Copper Type L | Yes | Yes | Yes |
| Copper Type M | Yes – check local restrictions | Limited – often restricted | Yes |
| Copper DWV | No | No | No |
| PEX | Yes | Yes – continuous runs, listed fittings | Yes – oxygen barrier with ferrous parts |
| CPVC | Yes | Yes | Limited – check temperature limits |
| PP-R | Yes – where listed and allowed | Limited | Yes |
| PVC pressure | No | Yes – cold water only | No |
| PE water tubing | No | Yes – cold water only | No |
| Black steel | No | No | Yes – closed systems |
| Galvanized steel | Limited – rarely used today | Limited – not recommended | No |
Drainage and gas
| Material | DWV above ground | Building drain below ground & sewer | Gas inside | Gas buried outside |
|---|---|---|---|---|
| Cast iron | Yes | Yes | No | No |
| PVC DWV (solid & cellular core) | Yes | Yes | No | No |
| PVC sewer pipe | No | Yes – building sewer, outside | No | No |
| ABS DWV | Yes – check local restrictions | Yes – check local restrictions | No | No |
| Copper DWV | Yes | Limited – often not underground | No | No |
| Copper K and L | Yes | Limited | Limited – where the utility allows | Limited |
| Black steel | No | No | Yes | Limited – coating & corrosion protection |
| Galvanized steel | Limited | No | Limited – often discouraged | No |
| CSST | No | No | Yes – bonded to grounding | Limited – listed sleeves/systems only |
| PE gas pipe (yellow) | No | No | No | Yes – tracer wire & listed riser |
Copper: K, L, M and DWV
All three water types in a size share the same outside diameter – only the wall changes. Type L for most water lines, Type K for underground and heavy duty, Type M only above ground and only where allowed, DWV never under pressure. Full breakdown with wall thicknesses: Type K vs L vs M copper.
PEX: A, B and C
The letter tells you how the plastic was cross-linked, not how good it is. The real differences are fitting system, flexibility and price – plus limits copper doesn't have: UV, heat sources, contaminated soil and thermal expansion. See PEX-A vs PEX-B vs PEX-C.
CPVC, PVC and ABS
| CPVC | PVC | ABS | |
|---|---|---|---|
| Color | Cream/tan (orange = sprinkler) | White (gray = Sch 80) | Black |
| Hot water | Yes – typically 100 psi at 180 °F | No | Not for pressure |
| Main use | Hot & cold distribution | Cold service, irrigation, DWV, sewer | DWV |
| Joining | CPVC cement (primer per code) | Purple primer + PVC cement | ABS cement, usually no primer |
The most expensive plastic mistake is the right-looking pipe on the wrong job. ABS and PVC don't glue together with normal cement – use a listed mechanical transition. Some firestop products, sealants and spray foams attack CPVC; use only products listed as compatible.
Cast iron and gas piping
Cast iron is quiet, non-combustible and sometimes required in tall buildings. No-hub joints need the right coupling, the manufacturer's torque and a hanger at or near every joint. For gas: black steel, CSST (bonded per the manufacturer), copper where the utility allows, and yellow PE underground outside the building only. Gas is often under a separate fuel gas code – never guess on gas.
Obsolete pipe you'll still find
Galvanized, polybutylene, lead, Orangeburg and Kitec all show up in older homes. Identify them, explain the risk, document your advice – and connect only with listed transitions. Our identification guide shows how.
Guides in this section
Frequently asked questions
What is the best pipe for house water lines?
There's no single best. Type L copper is accepted almost everywhere; PEX is the most common choice in new homes; CPVC is common for hot and cold distribution. The right answer depends on your code's material tables, water chemistry and the installation – see the material matrix in this guide.
Can PVC be used for hot water?
No. Pressure PVC is cold water only and is generally not allowed for water distribution inside buildings. Use CPVC, PEX or copper for hot water.
Is black pipe allowed for water?
No. Black steel is for gas. It rusts from the inside and contaminates drinking water.




