Family-owned in Englewood since 1957. Open 24/7.

Lesson 1.2

How Plumbing Codes Work: The Colorado Plumbing Code Explained

Learn what a plumbing code is, how the Colorado Plumbing Code is adopted and enforced, and how to read a code section like a pro.

Reviewed by Marcus Hayutin, Master Plumber Updated

What you’ll learn

By the end of this lesson, you’ll be able to:

  • Explain the difference between a model code and an adopted code
  • Describe how the Colorado Plumbing Code is adopted and how cities can change it
  • Read a code section number and find its chapter
  • Explain how permits and inspections enforce the code
  • Describe why the code matters for licensing and everyday work

This lesson explains what a plumbing code is, how the Colorado plumbing code is adopted and enforced, and how to read a code section. Every rule you learn in this course traces back to the code.

What a plumbing code is

A plumbing code is a set of minimum rules for designing, installing, and testing plumbing. It covers pipe sizes, slope, venting, materials, fixtures, water heaters, and backflow protection.

The most important word in that definition is minimum. The code describes the least a plumber is allowed to do. Good plumbers often do more, but they can never do less.

The code is the floor, not the ceiling. Meeting the code means the job is safe enough to pass. It does not mean the job is the best it could be.

Where plumbing codes came from

For most of history, there was no single set of plumbing rules. Each city made its own, and many had none at all. In the 1920s, a federal committee under then-Commerce Secretary Herbert Hoover published some of the first national plumbing recommendations.

Then, in 1933, visitors to the Chicago World’s Fair got sick from contaminated water at two downtown hotels. Investigators traced the outbreak of amoebic dysentery to plumbing cross-connections, and most accounts put the death toll near 100. The disaster pushed cities across the country to take cross-connections and plumbing codes seriously. You can read more in this history of backflow prevention and plumbing codes.

As you learned in Lesson 1.1, this is why people say the code is “written in blood.” Each rule exists because something went wrong.

Model codes vs. adopted codes

Today, most plumbing rules start as a model code. A model code is written by a standards organization and updated on a regular schedule. The two main model plumbing codes in the United States are:

  • The International Plumbing Code (IPC), published by the International Code Council (ICC) and updated every three years.
  • The Uniform Plumbing Code (UPC), published by IAPMO.

A model code is just a book until a government adopts it. Adoption is the legal step that turns the book into law. When a state or city adopts a model code, it can also make amendments: changes that fit local conditions.

How Colorado adopts its plumbing code

In Colorado, the Colorado State Plumbing Board, part of the Department of Regulatory Agencies (DORA), adopts the statewide code. The current Colorado Plumbing Code is based on the 2021 International Plumbing Code, the International Fuel Gas Code, and the plumbing provisions of the International Residential Code, with state amendments.

Cities and counties can then adopt their own version. Some use a newer edition. For example, Fort Collins adopted the 2024 International Plumbing Code with local amendments. Others keep the 2021 IPC but add their own changes.

When a local rule and the state code disagree, many Colorado jurisdictions apply the more restrictive requirement. The local building department, also called the authority having jurisdiction (AHJ), has the final word on how its rules apply.

Before every job in a new city, ask two questions: Which code edition does this city use? And what local amendments has it added? The answers can change pipe sizes, materials, and inspection steps.

Flow diagram: model code, state adoption, city amendments, and job site inspection
Figure 1. How a plumbing rule reaches the job site: a model code is written, the state adopts it, cities can amend it, and inspectors enforce it.

How the code is organized

The IPC is organized into chapters by topic. Once you know the layout, you can find almost any rule quickly. The main chapters in the 2021 IPC are:

  • Chapter 1: Scope and administration, including permits and inspections
  • Chapter 2: Definitions
  • Chapter 3: General regulations, including testing
  • Chapter 4: Fixtures, faucets, and fixture fittings
  • Chapter 5: Water heaters
  • Chapter 6: Water supply and distribution, including backflow protection
  • Chapter 7: Sanitary drainage
  • Chapter 8: Indirect and special waste
  • Chapter 9: Vents
  • Chapter 10: Traps, interceptors, and separators
  • Chapter 11: Storm drainage
  • Chapters 12–15: Special piping systems, nonpotable water, subsurface irrigation, and referenced standards

Think of the code like a cookbook. Chapter 2 is the glossary, and each chapter after that is a different kind of recipe: one for water, one for drains, one for vents.

How to read a code section number

Code sections use a simple numbering system. Take Section 608.1 as an example:

  • 6 is the chapter: Chapter 6, Water Supply and Distribution.
  • 608 is the section within that chapter.
  • 608.1 is the first subsection of Section 608.
  • 608.1.1 would be a smaller part of that subsection.

Two more reading tips. First, many sections end with an exception, which lists cases where the main rule does not apply. Always read to the end of a section. Second, words in the code have exact meanings. In recent editions, terms defined in Chapter 2 are printed in italics, so check the definition when you see one.

Permits and inspections: how the code is enforced

A code only protects people if someone checks the work. That happens through permits and inspections.

  • Permit: before most plumbing work starts, a licensed contractor pulls a permit from the local building department. For example, in many Colorado cities, water heater replacement requires a permit because of gas, venting, and pressure relief safety rules.
  • Rough-in inspection: the inspector checks the piping before walls, ceilings, or floors are closed up. Drain and water lines are usually tested for leaks at this stage.
  • Final inspection: after fixtures are set, the inspector checks the finished system.

Larger projects, like commercial plumbing and new construction, may have several rounds of inspection as the building goes up. Fuel gas piping has its own rules and tests, which is why gas leak detection and gas line work are handled with extra care.

Never cover plumbing before it passes inspection. If an inspector cannot see the work, they can require you to open the wall or floor back up, and the cost comes out of the job.

Why the code matters for your career

The code is the foundation of your license. Colorado’s plumbing license exams test how well you know and can apply the code. Apprentices who learn to look things up in the code book early have a big advantage at exam time.

On the job, the code is also your best defense. When a customer or contractor asks for a shortcut, “the code doesn’t allow it” is a clear, professional answer. Lesson 1.3 covers the Colorado licensing path in detail.

Lesson summary

  • A plumbing code sets the minimum rules for safe plumbing. It is the floor, not the ceiling.
  • Model codes like the IPC and UPC become law only when a government adopts them.
  • Colorado’s state plumbing code is based on the 2021 IPC, and some cities adopt newer editions or local amendments.
  • Section numbers tell you the chapter: Section 608 is in Chapter 6.
  • Permits and inspections are how the code is enforced, so never cover work before it passes inspection.

Key terms

Model code
A plumbing code written by a standards organization, such as the IPC or UPC. It is not law until a government adopts it.
Adoption
The legal act of a state or city making a model code its official law.
Amendment
A change a state or city makes to a model code when it adopts it.
Code edition
The year version of a code, such as the 2021 IPC. Model codes are updated every three years.
Authority having jurisdiction (AHJ)
The agency that enforces the code in a given location, usually the local building department.
Permit
Written approval from the AHJ to do plumbing work, issued before the work starts.
Rough-in inspection
The inspection of piping before walls, ceilings, or floors are closed up.
Final inspection
The last inspection, after fixtures are set and the system is complete.
Exception
A part of a code section that lists situations where the main rule does not apply.

Code references

This lesson is based on the 2021 Colorado Plumbing Code (based on the 2021 International Plumbing Code). Cities and counties can adopt newer editions or local amendments, so confirm requirements with the local building department.

  • IPC 101.3 Intent of the code: minimum standards for health, safety, and property protection
  • IPC Chapter 1 Scope and administration, including permits and inspections
  • IPC Chapter 2 Definitions of terms used throughout the code
  • IPC 312 Tests and inspections of plumbing systems

Check your learning

Choose an answer for each question. You’ll see right away if it’s correct. If not, try again.

  1. What makes a model code, like the International Plumbing Code, become law?

    Correct. A model code is just a book until a government adopts it. Adoption is what turns it into law.

    Not quite. Reread the question and try another answer.

  2. Colorado's state plumbing code is based on which model code?

    Correct. The Colorado Plumbing Code is based on the 2021 IPC, along with fuel gas and residential provisions, plus state amendments.

    Not quite. Reread the question and try another answer.

  3. A city's local rule is stricter than the state plumbing code. Which rule do you usually follow?

    Correct. Many Colorado jurisdictions state that when requirements conflict, the most restrictive one applies. When in doubt, ask the local inspector.

    Not quite. Reread the question and try another answer.

  4. In code Section 608.1, what does the "6" tell you?

    Correct. The first digit of a three-digit section number is the chapter. Section 608 is in Chapter 6, and 608.1 is the first subsection.

    Not quite. Reread the question and try another answer.

  5. When does a rough-in inspection happen?

    Correct. The inspector has to see the piping before it is covered. Covering work before inspection can mean tearing it back out.

    Not quite. Reread the question and try another answer.

Correct so far: of 5

Common questions

Is the Colorado Plumbing Code the same as the International Plumbing Code?

Not exactly. The Colorado Plumbing Code is based on the 2021 International Plumbing Code, the International Fuel Gas Code, and the plumbing provisions of the International Residential Code, with state amendments added.

Can a Colorado city use a different plumbing code than the state?

Yes. Some cities and counties adopt a newer edition or add their own amendments. For example, Fort Collins adopted the 2024 International Plumbing Code. Always check with the local building department before starting work.

How often is the plumbing code updated?

The International Code Council updates its model codes every three years. States and cities then decide when, and whether, to adopt each new edition, so the code in force can lag behind the newest book.

What is the difference between the IPC and the UPC?

Both are model plumbing codes. The International Plumbing Code is published by the International Code Council, and the Uniform Plumbing Code is published by IAPMO. Colorado's state code is based on the IPC.

Do I need a permit to replace a water heater in Colorado?

In many Colorado cities, yes. Water heater replacement often requires a permit and an inspection because of gas, venting, and pressure relief safety rules. Check with your local building department.

Table of Contents

Lesson 2 of 4 in the course

See all lessons