
Uniform Plumbing Code (UPC): Structure, Enforcement, and Chapter Guide
The Uniform Plumbing Code (UPC) is the plumbing code a jurisdiction adopts to set minimum requirements for designing, installing, inspecting and testing plumbing systems, including potable water, drainage, venting, fuel gas piping, water heaters and medical gas. It is enforced locally by the Authority Having Jurisdiction (AHJ), and its chapters are arranged so you can go straight from administration to definitions, general rules and each trade system.
The Uniform Plumbing Code applies once a jurisdiction adopts it. From then on it governs installing, altering, repairing, relocating, replacing, adding to, using and maintaining plumbing systems within that jurisdiction. This guide follows the 2021 UPC, published by IAPMO. If your jurisdiction still enforces the 2018 Uniform Plumbing Code, check requirements in that edition, because this guide quotes only the 2021 text. It covers how the book is laid out, who enforces it, and where to look when a question comes up on site or on an exam. People sometimes search for it as the universal plumbing code, but Section 101.1 fixes its title as the Uniform Plumbing Code.
Why the code exists and where it applies
Section 101.3 describes the UPC plumbing code as an ordinance that sets minimum standards for public health, safety and welfare. Because every adopting jurisdiction works from the same book, the same material and installation rules follow you from job to job.
Those rules start with the materials you use. Pipe, fittings, traps, fixtures and devices must be listed by an accredited listing agency against the standards the code references. The manufacturer must mark them, and field markings are not accepted.
Above all, the code guards the drinking water. Potable piping must never be installed so that used or contaminated water can be drawn back into it by backsiphonage, suction or any other cause.
Where requirements collide, Section 102.1 settles it:
- The plumbing code prevails over the mechanical code.
- Between the code, an applicable standard and the manufacturer's instructions, the most stringent wins.
- A specific requirement beats a general one.
Chapter 1: how the Authority Having Jurisdiction enforces the code
The AHJ is the authority appointed to enforce the code, and Section 103.1 gives it the powers of a law enforcement officer. It can interpret the code and adopt supplemental rules to clarify how provisions apply, provided they stay within the code's intent. Following the prescribed procedures and with the approval of the appointing authority, it can also appoint as many inspectors as are authorized, and it can deputize them.
The AHJ may ask for plans, specifications and drawings before work starts and at any point while it is underway. A permit never authorizes a violation. Even after issuing one, the AHJ can demand that errors in the documents be corrected, halt work that breaks the code, and revoke a certificate of approval issued in error. Approved plans may not be changed without AHJ authorization. Table 104.5 lists the permit fee items, such as each fixture on a trap, each water heater or vent, and each gas piping system. The amounts themselves are left for the jurisdiction to set.
Required inspections and witnessed tests
Section 105.2 requires the AHJ to make these inspections, along with any others it finds necessary:
- Underground inspection: after trenches are dug and bedded and the piping is in, before any backfill.
- Rough-in inspection: before wall or ceiling membranes go on.
- Final inspection: once the installation is complete.
Scheduling is your responsibility as the permittee or their agent. The AHJ may require the request at least 1 working day ahead, in writing or by phone, and you must give the inspector access to the work. One exception covers plumbing that replaces existing equipment or fixtures serving an occupied part of a building. That work may operate if an inspection request is filed within 72 hours of finishing and before anything is concealed.
Tests are run with the AHJ or its appointed representative present, and every joint must hold gastight and watertight at the test pressure. Work that fails is corrected and resubmitted. Work that passes earns a certificate of approval, issued to the permittee on demand. Nothing connects to the water supply, the fuel supply or the sewer until the AHJ authorizes it, although the AHJ may allow a temporary fuel connection to test equipment.
Watch out
Never cover, conceal or put into use any part of a system before it has been tested, inspected and approved. If you do, the AHJ can issue a notice to uncover it. Neither the AHJ nor the jurisdiction pays for removing or replacing the material.
Violations, stop orders and appeals
Notices of correction or violation are written by the AHJ. They may be posted at the site or mailed or delivered to the permittee. Failing to comply within 10 days of receipt is itself a violation. Violating the code is a misdemeanor, punishable under local law by a fine, imprisonment or both, and every day the violation continues counts as a separate offense.
Where work goes against the code, the AHJ can serve a written stop order. Everyone doing the work must stop at once and wait for authorization to resume. Plumbing that has become hazardous or insanitary can be condemned by written order, which sets a time limit to remove it or make it safe. In an emergency the AHJ can disconnect a system without notice to remove an immediate danger to life or property.
Disputes over the AHJ's orders and interpretations go to the Board of Appeals in Section 107. Its members are qualified in plumbing and are not employees of the jurisdiction. The AHJ serves as secretary and has no vote. The board cannot interpret the administrative provisions or waive any requirement.
Finding rough-in and finish requirements by chapter
Past administration, the UPC code book is organized by discipline. Chapter 2 holds the definitions, so check it whenever a term decides the answer. Chapter 3, General Regulations, sets the rules that apply everywhere. Pipe ends must be reamed to full bore with the chips removed. Cracks or holes may not be hidden with solder, paint, wax or sealants. Every installation must follow the code, the applicable standards and the manufacturer's instructions.
A UPC faucet or UPC toilet question usually starts in Chapter 4, Plumbing Fixtures and Fixture Fittings. Fixtures are installed to the manufacturer's instructions, and the surface a fixture fitting mounts on must not defeat its backflow protection. A concealed slip joint needs an access panel or utility space at least 12 inches in its least dimension, kept clear so the joint can be inspected and repaired. Fixtures planned for the future count when sizing the drain and water piping, and their rough-in ends in plugged fittings. Chapter 6 adds that water closets and urinals must be flushed by an approved flush tank or flushometer valve.
Chapter 6, Water Supply and Distribution, covers water piping materials, design and installation, including backflow prevention. Flexible corrugated metal connectors are limited to 30 inches for fixtures, 72 inches for washing machines, and 120 inches for dishwashers and icemakers. You can test the finished system with water at no less than its working pressure, or with air at a minimum of 50 psi. Either way it must hold for at least 15 minutes without leaking. Do not air test plastic pipe, except PEX, PP or PE-RT tube where its manufacturer permits.
Chapter 7, Sanitary Drainage, governs drainage systems and building sewers. Drainage fittings must have a smooth interior waterway and be made to allow a grade of 1/4 inch per foot. Section 712 tests the drainage and vent piping together. The water test needs at least a 10 foot head held for 15 minutes. The air test needs a uniform 5 psi held for 15 minutes without adding air, and it is never used on plastic pipe. Once fixtures are set and their traps are filled, the system gets a final test. For the purpose of venting, look up the Chapter 2 definition: a plumbing vent protects trap seals from siphonage and backpressure.
Match the task to its UPC chapter
Tap each one.
-
Access panel for a concealed slip joint under a lavatory
Chapter 4: an access panel or utility space at least 12 inches in its least dimension, unobstructed.
-
Air test on a copper water distribution line
Chapter 6: minimum 50 psi, held at least 15 minutes with no leakage.
-
Water test on a drainage and vent stack
Chapter 7, Section 712: at least a 10 foot head of water, held 15 minutes before inspection starts.
-
Booking the rough-in inspection
Chapter 1: the permittee schedules it, before wall or ceiling membranes go on.
-
Whether a fitting can be marked in the field
Chapter 3: no. Markings must be applied by the manufacturer.
-
What a plumbing vent is for
Chapter 2: protecting trap seals from siphonage and backpressure.
Knowing which chapter governs a task saves time with the book open on site or in the exam.
Fuel gas and water heater venting inside the UPC code book
Gas work does not send you to a separate book under the UPC. Its definition of a plumbing system includes liquid and fuel gas piping, water heaters and their vents. Table 104.5 likewise lists fees for gas piping systems of one to five outlets and for each additional outlet.
Chapter 5, Water Heaters, carries the appliance venting rules, many of them extracted from NFPA 54 and marked with that reference. Plastic pipe used to vent an appliance follows the appliance manufacturer's instructions. Plastic venting listed and labeled to UL 1738 follows the vent manufacturer's instructions, and any required primer must be a contrasting color. Special gas vents must also be listed and labeled to UL 1738. Before a water heater is fired, remember the Chapter 1 rule: no connection to a fuel source until the AHJ approves it.
Medical gas, firestopping and nonpotable water
Chapter 13 covers health care facilities and medical gas and medical vacuum systems, drawing on NFPA 99. Systems are designed to one of four risk categories, which run from Category 1 down to Category 4. Category 1 is where a failure is likely to cause major injury or death, and Category 4 is where a failure would have no impact on patient care. The facility's governing body assigns the categories through a documented risk assessment, and the AHJ may require a copy. No documented assessment is needed where Category 1 is selected.
For pipe passing through fire-rated assemblies, Chapter 2 defines a penetration firestop system. It is a tested assembly or device that keeps the assembly's fire-resistance rating once installed on the pipe. Its F rating is the time it limits fire spread, tested to ASTM E814 or UL 1479.
Nonpotable systems must be clearly identified wherever they share a building with potable water:
- Potable water: green background with white lettering.
- Other nonpotable water: yellow background with black lettering.
- Alternate water sources (gray water, reclaimed water, on-site treated water and rainwater): purple (Pantone 512, 522C or equivalent), each with its own caution wording.
The marking must appear every 20 feet and at least once per room, visible from the floor. Gray water and reclaimed water systems also carry their own permit fees, including annual cross-connection testing of reclaimed water systems.
Check yourself
An inspector posts a written notice of correction at your job site. Under the 2021 UPC, how long do you have to comply before failing to do so becomes a violation?
- 72 hours
- 1 working day
- 10 days
- 20 days
How the UPC is organized differently from the IPC
If you work across jurisdictions or prepare for both exams, the structure matters. The 2021 Uniform Plumbing Code names the Authority Having Jurisdiction as its enforcer. The International Plumbing Code gives enforcement to a code official appointed by the authority having jurisdiction. The two codes also place fuel gas differently. The UPC covers it within the code itself, not in a separate volume, because its definition of a plumbing system includes liquid and fuel gas piping. In the ICC family, fuel gas piping, appliances and venting fall under the separate International Fuel Gas Code. Appeals sit in different places. The UPC creates its Board of Appeals in Section 107 of Chapter 1, with members who are not employees of the jurisdiction and the AHJ as non-voting secretary. The IPC creates its board of appeals in Chapter 1 (Section 113, members in Section 114), and its Appendix F, where adopted, adds that an appeal is filed on a form obtained from the code official within 20 days after the notice was served. Neither code's board may waive requirements.
2021 UPC vs 2021 IPC: structure at a glance
| 2021 UPC | 2021 IPC | |
|---|---|---|
| Who enforces | Authority Having Jurisdiction, with the powers of a law enforcement officer | Code official appointed by the authority having jurisdiction |
| Fuel gas | Inside the code: the plumbing system includes fuel gas piping, and Chapter 5 covers appliance venting | Covered by the separate International Fuel Gas Code |
| Appeals | Board of Appeals in Section 107 of Chapter 1. The UPC passages used here give no filing deadline | Board of Appeals in Chapter 1 (Section 113); where Appendix F is adopted, appeals filed within 20 days of the notice |
| Board limits | Board cannot interpret the administrative provisions or waive requirements | Board cannot waive requirements or interpret the code's administration |
| Nonpotable water | Identification rules in Chapter 6, plus fee items for gray water and reclaimed water | Chapter 13, Nonpotable Water Systems |
| Medical gas | Chapter 13, Health Care Facilities and Medical Gas and Medical Vacuum Systems | IPC Chapter 12 (1202.1) sends medical gas and vacuum piping to NFPA 99 |
The difference
Before you open either book, confirm which code your jurisdiction adopted. The enforcer's title, where fuel gas lives and the appeal route all depend on it.
Frequently asked questions
Are the UPC appendices enforceable?
Only if your jurisdiction formally adopts them. Section 102.8 says the appendices supplement the code but are not part of it unless adopted. Check your local adoption ordinance before treating an appendix as a requirement.
Does adding a fixture mean bringing the whole existing system up to code?
No. New additions, alterations and repairs must meet the requirements for a new system, but the existing system does not have to be upgraded to match. The new work must not leave the existing system unsafe, insanitary or overloaded, and any deviation from new-construction rules needs AHJ approval first.
Can I install a material or method the code does not list?
Yes, if it is equal or superior in quality, strength, fire resistance, effectiveness, durability and safety. You must submit technical documentation to the AHJ before installing it, and the AHJ may require tests at your expense. An approval applies only within that AHJ's boundaries.
Who decides plumbing licensing under the UPC?
The AHJ. Section 103.3.1 leaves licensing provisions to the Authority Having Jurisdiction, so requirements vary between jurisdictions. Confirm the rules with the local authority where you plan to work or test.
Can a plumbing inspector enter a building to inspect?
Yes, at reasonable times, when an inspection is needed or there is reasonable cause to suspect an unsafe or insanitary condition. In an occupied building the inspector must show credentials and request entry. For an unoccupied building they must first try to locate the owner. If entry is refused, the AHJ can pursue any remedy the law provides.
Disclaimer: The information provided in this educational content has been prepared with care to reflect current regulatory requirements for continuing education. However, licensing rules and regulations can vary by state and are subject to change. While we strive for accuracy, ExpertCE cannot guarantee that all details are complete or up to date at the time of reading. For the most current and authoritative information, always refer directly to your state’s official licensing board or regulatory agency.


