Skip to content

Plumbing Codes: Who Writes Them and Which One Applies

10 min read Training Guide

Find out which plumbing code governs your job, who enforces it, and how permits and inspections work.

Table of contents

A plumbing code is a set of rules that protects people from bad water, sewer gas, and flooded buildings. There is no single national plumbing code in the United States. Private groups write model codes, and then states and cities turn them into law, often with their own changes. Before you can follow the code, you have to know which code you are under. Plumbers who skip this step can do a clean, careful job that still fails inspection.

What You Will Be Able to Do

  • Name the main plumbing codes and who publishes them
  • Explain the difference between a model code, an adopted code, and an amendment
  • Find the code and edition that apply to your job
  • Describe how permits and inspections work
  • Know who to ask when the code is unclear

Who Writes the Codes

Two model codes cover most of the country.

Code Published by Where it is common
International Plumbing Code (IPC) International Code Council (ICC) Much of the East, South, and Midwest
Uniform Plumbing Code (UPC) International Association of Plumbing and Mechanical Officials (IAPMO) Much of the West, including California, Washington, and Oregon

The two differ on real details, including trap and vent rules, fixture unit tables, and which materials are allowed. They agree on the basic ideas: keep drinking water clean, keep sewer gas out, and move waste away.

Other codes you may run into include:

  • International Residential Code (IRC): Many areas use its plumbing chapters for one- and two-family homes, so a house and a commercial building in the same town may fall under different books.
  • State-written codes: A few states, such as Massachusetts, write their own.
  • International Fuel Gas Code and National Fuel Gas Code: Gas piping is often covered in a separate book.

Model codes are updated about every three years. A city may be using an edition from several years ago, so a section number you find online may not match the book in your area.

Model, Adopted, and Amended

A model code is only a suggestion until a government adopts it. Think of it in layers, from the bottom up:

  1. Model code: The published book, such as the 2024 IPC.
  2. State adoption: A state makes a chosen edition law and often changes parts of it.
  3. Local amendment: A city or county adds its own changes where the state allows it.

The top layer that applies is the rule on your job. If a city amendment requires something the model code does not, you follow the city. Some states do not allow local changes, and some leave plumbing rules to cities entirely. That is why "the code says" is not a full answer. You need to know which code, which edition, and which amendments.

Who Enforces It

The authority having jurisdiction, or AHJ, is the person or office with legal power to enforce the code on your job. It is usually a city or county building department, and the person you meet is usually the plumbing inspector. Some areas also have a state plumbing board that handles licenses, and a health department that oversees water wells and septic systems.

Inspectors interpret the code. When the text is unclear, the inspector's reading stands unless you formally appeal. A polite question before you start is much better than an argument after a failure.

How to Find Your Code

  1. Find who has authority. Look up the building department for the city or county where the job is. If the property is outside city limits, it may fall under the county.
  2. Ask which code and edition are in force. Most departments list this on their website. If not, call and ask.
  3. Get the amendments. Ask for state and local changes. They are usually published separately from the model code.
  4. Get access to the text. ICC and IAPMO both offer free read-only versions of many codes online. Many plumbers keep a printed book with tabs at the tables they use most.
  5. Write it down. Keep the code, edition, and inspector's number for each jurisdiction you work in.

Permits and Inspections

A permit is permission from the AHJ to do the work. It tells the department that an inspection needs to happen. New construction and most work that moves or adds pipe need a permit. Rules for small repairs vary, so ask.

Permits are often pulled by a licensed contractor or master plumber, not an apprentice. Your company should know what is needed.

A typical sequence looks like this:

Step What happens
Permit application Company applies, sometimes with plans, and pays the fee
Underground inspection Before pipe is buried or concrete is poured
Rough inspection Before walls and ceilings are closed, usually with a test on the system
Final inspection After fixtures are in and working

If an inspector finds a problem, the job gets a correction notice, sometimes called a red tag. Fix the problem and call for a new inspection. Covering work before it passes can mean tearing it open again.

Keep the permit on site, make sure the work is ready before calling, and be there to answer questions if you can.

How Licensing Fits In

Codes tell you how to do the work. Licensing laws tell you who is allowed to do it. Many states license plumbers at the state level. In others, cities handle it. Either way, only a licensed person can do some kinds of work. An apprentice works under that person's supervision.

Common Mistakes

Mistake What it costs
Relying on what you learned in another state Work that does not meet local rules
Looking up a rule in the wrong edition A correct-looking answer that fails inspection
Not checking amendments Missing a local requirement
Skipping a permit on a small job Fines, and work that may have to be redone
Covering work before it is inspected Opening walls or digging it back up
Arguing with the inspector on site Losing goodwill you need on the next job

Check Your Understanding

1. You move from Ohio to California for a new job. Can you trust the numbers you memorized?

Not without checking. You are likely moving from an IPC-based code to a UPC-based code, so trap arm limits, fixture units, and materials can change. Find the adopted code and amendments.

2. The state code does not require something, but the city's amendment does. Which do you follow?

The city amendment, as long as it applies to your job. Local amendments govern over the model code.

3. You found a section number online that does not match the book your inspector has. What is the likely reason?

You are probably looking at another edition, or at the wrong code. Find the edition your AHJ enforces.

4. An inspector reads a section differently than you do. What should you do?

Ask the inspector to walk you through it. Their reading stands on your job unless it is formally appealed. Your supervisor can decide whether to take it further.

Key Takeaways

  • Model codes are written by private groups, and governments turn them into law.
  • The two main plumbing codes are the IPC and the UPC.
  • Always find out the code, the edition, and the amendments that apply.
  • Local amendments govern on your job.
  • The AHJ enforces the code, and the inspector's reading stands unless appealed.
  • Get the permit and pass each inspection before you cover anything.