// 01 · Know the code

IPC vs UPC: Which Plumbing Code Applies in Your State?

IPC or UPC? Where each plumbing code is used, the differences that fail inspections, and a 3-step way to find the exact code, edition and amendments for any city.

By Id IsaUpdated December 1, 20263 min readIPC · UPC · IRC

// quick answer

Most of the East, South and Midwest use the International Plumbing Code (IPC), with homes often under the IRC's plumbing chapters. California, Washington, Oregon, Hawaii and much of the West use the Uniform Plumbing Code (UPC). A few states write their own code. The only reliable answer for a specific job is the edition and amendments your local building department enforces.

The question “is this allowed?” has no answer until you know which code you're working under. The United States doesn't have one plumbing code – it has two major model codes, dozens of state versions and thousands of local amendments. Here's how to cut through it.

The two model codes

The International Plumbing Code (IPC) is published by the International Code Council (ICC). The Uniform Plumbing Code (UPC) is published by the International Association of Plumbing and Mechanical Officials (IAPMO). Both are updated every three years. Neither is law until a state or city adopts it.

Region / exampleTypical codeNotes
East, South, Midwest – NY, FL, GA, VA, NCIPCHomes often under the IRC plumbing chapters
West Coast – CA, WA, OR, HIUPCCalifornia adopts it as the California Plumbing Code
MA, IL, WIState-written codeNeither model code word for word
NJNSPCNational Standard Plumbing Code
NV and some othersVaries by county/cityNeighbors can be on different codes
Typical adoption – always confirm the current edition locally.

What both codes agree on

  • S-traps are banned.
  • Trap seals must be between 2 and 4 inches.
  • Drains are sized with drainage fixture units (DFUs).
  • Products must be listed and installed per the manufacturer's instructions.

The differences that fail inspections

Where they disagree, it's in the numbers – and numbers are exactly what an inspector checks.

ItemTypical IPCTypical UPC
Drain slope, 3–6 inch1/8 in per ft minimum1/4 in per ft; 1/8 in may be approved for 4 in and larger
Max trap arm, 1-1/2 in6 ft3 ft 6 in
Max trap arm, 2 in8 ft5 ft
Clothes washer standpipe DFU2Often 3
Shower trap, minimum1-1/2 in2 in
Wet ventingWritten differently in each code – don't carry a layout across
Air admittance valvesRecognized by both, but restricted or banned in some jurisdictions
Typical values from Plumbing Without Guesswork, Appendix A. Check your adopted edition.

The trap arm trap

A 1-1/2 inch trap arm at 5 feet passes easily under the IPC and fails under the UPC. Plumbers who move between states get caught by this more than any other number. Use our trap arm guide.

How to find the exact code for a job – in 3 steps

  1. State level. Search “[state] plumbing code adopted edition” on the state licensing board or building department site. Note code, edition and effective date.
  2. City or county level. Search “[city] plumbing code amendments” or call the building department: “Which plumbing code and edition do you enforce, and do you have local amendments?”
  3. Write it down. One note per area: code, edition, effective date, key amendments, inspector names. This becomes your AHJ card.

Field tip

Free read-only versions of the model codes are available from ICC and IAPMO. Services such as UpCodes collect many adopted codes and local amendments in one place. Bookmark every section you look up – after a few months, your bookmarks are a map of what you actually use.

Why “we've always done it this way” isn't proof

Amendments commonly change exactly the things plumbers do by habit: product bans (AAVs, concealed push-fit), water service materials, frost depth, expansion tank rules and test methods. A city can be stricter than its state. And when the code is ambiguous, the AHJ's reading is the one that counts – so ask, and get unusual answers in writing.

The free Field Kit includes a one-page Code Cheat Sheet and an AHJ Card template – fill them in once per jurisdiction and you'll never guess again.

Frequently asked questions

Which states use the UPC?

The UPC is strongest on the West Coast and in parts of the West – for example California (adopted as the California Plumbing Code), Washington, Oregon and Hawaii. Adoption changes over time, so confirm with the state licensing board or building department.

Is the IRC the same as the IPC?

No. The International Residential Code covers one- and two-family homes and contains its own plumbing chapters, based on the IPC. In many IPC states, house plumbing is inspected under the IRC and commercial work under the IPC.

Can I use a DFU table from the other code?

No. The IPC and UPC use different drainage fixture unit tables and pipe capacities. Always size from the table in the code your AHJ enforces.

How often do plumbing codes change?

Both model codes are published every three years. States adopt new editions on their own schedule, so your area may enforce an older edition.

The Plumber's Field Kit cover

// free field kit · 27 pages

Grab the kit. Pass the inspection.

Quick tables, job checklists, a code cheat sheet, AHJ card, corrosion chart and customer handover form. Print it, laminate it, keep it in the truck.

Free. One email with the kit, then occasional field tips and code updates. Unsubscribe anytime.