
How to Fix a Toilet That Will Not Flush
PlumbingWhen a toilet will not flush at all, the cause is almost never the bowl itself. It is one of a short…
Read the guideA clear breakdown of International Plumbing Code and Uniform Plumbing Code requirements for toilets, drains, venting, water supply, and roughed-in fixtures -- so you can plan a remodel or new build with confidence.
Research updated June 2026.
Both the IPC and UPC require toilets to use no more than 1.6 GPF, maintain a minimum 15-inch side clearance, connect to a properly sized drain (3-inch minimum for water closets), and vent through an approved stack. EPA WaterSense certification (1.28 GPF or less) satisfies both codes and earns rebates in most states.
Bathroom plumbing codes exist for one practical reason: they prevent health hazards, structural failures, and wasted water at scale. Whether you are roughing in a toilet for a new addition, swapping a dated fixture in a remodel, or trying to understand why an inspector flagged your project, the two codes you will encounter most often in the United States are the International Plumbing Code (IPC) -- published by the International Code Council -- and the Uniform Plumbing Code (UPC), published by the International Association of Plumbing and Mechanical Officials (IAPMO).
The two codes cover the same ground but differ on key details: trap sizing, venting methods, and approval processes for alternative materials. Local jurisdictions adopt one or the other -- sometimes with amendments -- and those local amendments are legally binding even when they contradict the base code. This guide focuses on the federal minimums and the most widely adopted state interpretations, covering toilets, drains, venting, water supply, and fixture clearances. For compliance on any specific project, always verify the adopted edition and local amendments with your authority having jurisdiction (AHJ).
Choosing a toilet that meets code is also inseparable from choosing one that performs well. Our best flushing toilets guide covers the top-rated models by MaP score, GPF, and owner satisfaction.
The IPC (International Plumbing Code) is adopted by most states east of the Rockies and by many municipalities nationwide, while the UPC is dominant in California, Arizona, Oregon, Washington, and several other western states. Both cover the same scope -- water supply, drainage, venting, and fixture installation -- but they differ in venting methods (the IPC permits air admittance valves more broadly than the UPC), trap sizing rules, and material approval pathways. Local jurisdictions may adopt either code with additional amendments, so both codes represent a floor, not a ceiling.
From a practical standpoint, the differences rarely affect toilet selection. Both codes share the same federal water-efficiency floor of 1.6 gallons per flush (GPF), mandated by the Energy Policy Act of 1992. Both require a 3-inch minimum drain line for water closets and mandate that every fixture trap be protected by a vent. Where the codes diverge most is in their venting chapters, the specific sizing tables for drain pipes, and the processes for approving new materials or technologies.
The IPC is updated every three years and most states are currently on the 2021 or 2024 edition. The UPC follows a similar cycle. When your inspector references "code," they mean the locally adopted edition plus any state or city amendments layered on top.
Plumbing inspectors look at the adopted code edition, not the base document. A 2021 IPC jurisdiction and a 2024 IPC jurisdiction can have meaningfully different venting rules even in the same state. Always pull the locally adopted code before designing a rough-in layout.
Federal law under the Energy Policy Act of 1992 caps toilet flush volume at 1.6 gallons per flush (GPF) for all new installations nationwide. Both the IPC and UPC incorporate this federal ceiling, so no compliant toilet sold or installed since 1994 should exceed 1.6 GPF. EPA WaterSense-labeled toilets flush at 1.28 GPF or less and must achieve a minimum MaP score of 350 grams to earn certification, meaning they remove at least 350 grams of simulated waste per flush while using 20 percent less water than the legal maximum.
The 1.6 GPF ceiling is a federal maximum; there is no federal minimum. Several states and cities have adopted stricter requirements. California's Title 20 regulations require 1.28 GPF for all new water closets installed in new construction or full bathroom remodels. Some water districts in Colorado, Texas, and the Pacific Northwest go further, requiring WaterSense certification as a condition of permit issuance.
| Tier | GPF Maximum | Key States / Regions | WaterSense Required? |
|---|---|---|---|
| Federal baseline | 1.6 GPF | All 50 states (minimum standard) | No (encouraged, not mandated) |
| State-level high-efficiency mandate | 1.28 GPF | California, some TX water districts | Yes (California Title 20) |
| Utility rebate threshold | 1.28 GPF or less | Most major metro water utilities | Yes (rebate programs) |
| Ultra-low and dual-flush | 0.8/1.28 GPF (dual) | LEED projects, green building programs | WaterSense-eligible dual-flush |
Popular WaterSense-certified models that satisfy all tier requirements include the TOTO Drake II (1.28 GPF, MaP score of 1,000 grams), the TOTO UltraMax II (1.28 GPF, 1,000 grams), the Kohler Cimarron (1.28 GPF), the American Standard Cadet 3 (1.28 GPF), and the Woodbridge T-0001 dual-flush (0.8/1.6 GPF). The TOTO Drake and the American Standard Champion 4 are 1.6 GPF models that remain fully compliant under federal and most state rules.
MaP testing -- conducted by an independent laboratory -- is the most reliable way to verify that a 1.28 GPF toilet will perform as claimed. Toilets with a MaP score below 350 grams are unlikely to flush adequately with a single pass, which drives repeated flushing and erases any water savings. See our guide on understanding toilet GPF ratings for a deeper comparison.
Both the IPC (Table 709.1) and UPC (Table 703.2) require a minimum 3-inch diameter drain for a water closet (toilet). A 3-inch line can serve a single toilet; a 4-inch line is standard for the building drain where multiple fixtures connect. The horizontal drain must slope at a minimum of 1/4 inch per foot (2 percent grade) toward the stack or main drain to maintain self-scouring velocity and prevent solids from settling.
Getting drain sizing right matters for two reasons: under-sized lines clog more frequently, and over-sized lines can cause solids to settle because the water moves too fast over too large a cross-section. A 4-inch line serving a single toilet can actually perform worse than a properly sloped 3-inch line in some configurations because the reduced water depth at 1.6 GPF or 1.28 GPF may not achieve adequate scouring velocity.
| Fixture / Segment | IPC Minimum Diameter | UPC Minimum Diameter | Minimum Slope |
|---|---|---|---|
| Water closet (toilet) branch | 3 inches | 3 inches | 1/4 in./ft |
| Lavatory (sink) branch | 1-1/4 inches | 1-1/4 inches | 1/4 in./ft |
| Bathtub / shower branch | 1-1/2 inches | 1-1/2 inches | 1/4 in./ft |
| Building drain (shared) | 3 inches min, 4 inches typical | 3 inches min, 4 inches typical | 1/8 in./ft (4-in.) or 1/4 in./ft (3-in.) |
| Horizontal wet vent | 2 inches (IPC 912) | 3 inches (UPC 908) | 1/4 in./ft |
One detail that trips up DIY installers: the IPC allows a 3-inch building drain to serve up to 20 drainage fixture units (DFU), while a 4-inch line can serve up to 160 DFU. A standard toilet contributes 4 DFU under both codes. A full bathroom (toilet + lavatory + bathtub) contributes 6 DFU total. In a typical single-family home, a 3-inch building drain is theoretically adequate for up to five toilets plus several lavatories, but 4-inch is strongly preferred by inspectors and standard practice in new construction.
A 3-inch drain is code-compliant for a single toilet, but if you are roughing in a new bathroom during a remodel, running 4-inch from the toilet to the stack costs almost nothing extra in materials and makes future troubleshooting and cleanout access far easier. Inspectors rarely push back on oversized drain lines.
The IPC (Section 405.3) and UPC (Section 407.5) both require a minimum 15 inches of clearance from the toilet centerline to any side wall, partition, or obstruction. They also require at least 21 inches of clear space in front of the toilet (IPC) or 24 inches in some UPC jurisdictions. ADA-compliant accessible bathrooms, governed by the ADA Standards for Accessible Design, require a minimum 60-inch clear floor space at the side transfer position.
Clearances are one of the most common code violations found during rough-in inspections, especially in renovation projects where walls shift or a toilet is relocated. Here is a breakdown of the key dimensions:
The rough-in measurement is not a code requirement per se -- it is a manufacturing standard. However, buying a toilet with the wrong rough-in dimension will prevent correct installation, so it functions as a practical constraint. The TOTO Drake II, Kohler Highline, and American Standard Cadet 3 are all available in 12-inch rough-in as the standard option, with 10-inch and 14-inch variants sold separately. See our toilet rough-in measurement guide for full instructions on measuring your existing drain location.
The 15-inch side clearance minimum makes for a cramped bathroom. Designers and contractors routinely target 18 inches from centerline as the practical standard. ADA compliance requires 60 inches of clear floor space from the transfer side wall -- a requirement that frequently dictates the entire bathroom layout in accessible remodels.
Venting prevents siphoning of trap seals and allows drainage to flow at the correct velocity. Both the IPC and UPC require every fixture trap to be vented; they differ on which venting methods are approved. The IPC permits air admittance valves (AAVs) for individual and branch venting in most cases, while the UPC restricts AAV use to specific situations and many UPC jurisdictions prohibit them entirely. A toilet's 3-inch drain must connect to an individual or common vent of at least 2 inches (IPC) or 3 inches (UPC) in diameter.
Venting is where the IPC and UPC diverge most substantially. Understanding both systems matters for remodels where you may not want to run a vent stack through walls or a roof:
For most residential bathroom additions, the most practical approach under IPC jurisdictions is a combination wet vent and individual vent. Under UPC, individual venting to an existing stack is the safest approach. If the stack cannot be accessed, consult your AHJ before specifying any alternative method. Our article on air admittance valves and toilets covers AAV-specific rules in depth.
In UPC states like California, Arizona, and Oregon, do not count on an air admittance valve passing inspection. The UPC restricts AAVs to locations where conventional venting is physically impossible, and many local inspectors interpret that standard strictly. If your project is in a UPC jurisdiction, plan for a conventional vent from the start and avoid costly rework.
Both the IPC (Section 604) and UPC (Section 608) establish minimum and maximum static water pressure requirements for fixtures. The minimum pressure at a water closet supply is typically 8 psi static for gravity-feed tank toilets. Pressure-assisted toilets (such as the American Standard Champion 4 and some Gerber models) require between 20 and 80 psi at the supply to operate the pressure vessel correctly; most manufacturers specify a minimum of 25 psi for reliable operation.
Maximum static pressure at any fixture under both codes is 80 psi. Residential water service arriving above 80 psi must be reduced with a pressure-reducing valve (PRV) before distribution to fixtures. High pressure above 80 psi damages fill valves, flapper seals, and supply lines and is a common cause of premature toilet part failure reported in aggregated owner reviews.
The stub-out (rough-in supply valve) for a toilet is typically 3/8-inch OD compression fitting, connected to a 1/2-inch NPS supply branch in the wall. Both codes require the supply shutoff valve to be accessible without removing the toilet and located within reach of the fixture it serves. This requirement is routinely overlooked in low-cost remodels where the shutoff valve is buried behind drywall.
Supply lines themselves are not strictly regulated by the IPC or UPC beyond material approval (braided stainless steel, CPVC, copper). The most common point of failure in owner reviews of all brands -- TOTO, Kohler, American Standard, Woodbridge, Swiss Madison, Gerber -- is the supply line or fill valve, not the porcelain or trapway. Always install a braided stainless steel supply line of 12 to 20 inches with a 3/8-inch compression fitting at both ends.
A toilet has an integral trap built into the porcelain -- the curved channel visible when you look at the side profile of the bowl. The IPC and UPC both exempt integral toilet traps from the trap sizing tables that apply to other fixtures, because the trap is part of the approved fixture assembly. However, both codes prohibit the installation of an additional (external) trap downstream of a toilet, known as a double trap. Double traps create air pockets that prevent proper drainage and are a code violation.
For other bathroom fixtures:
Trap seal depth (the water depth in the trap) must be between 2 and 4 inches for all fixture traps under both codes. Toilet traps, being integral, are designed to maintain this seal by default. Partial flush mechanisms that do not refill the bowl sufficiently can compromise the trap seal over time, allowing sewer gas to enter. This is one reason MaP testing evaluates bowl washdown completeness alongside solids removal.
Permit requirements vary by jurisdiction but follow a general pattern under both IPC and UPC frameworks:
Never assume a like-for-like replacement is permit-free. Permit requirements for simple toilet swaps have tightened in several states since 2020. A five-minute call to your local building department is the only way to be certain. Unpermitted plumbing work discovered during a home sale or insurance claim can result in forced removal and reinstallation at your expense.
For accessible bathroom remodels governed by ADA requirements, all work requires permits regardless of scope, and inspections will check fixture clearances, grab bar blocking, and accessible route dimensions. See our ADA-compliant toilet guide for the specific accessible design requirements.
EPA WaterSense is a voluntary federal labeling program, not a plumbing code. However, it interacts with codes in three meaningful ways:
Gerber's Avalanche, the Swiss Madison Sublime, and the American Standard H2Option are additional WaterSense-certified models with strong MaP scores that satisfy both code minimums and utility rebate requirements. The H2Option is a dual-flush design (0.92/1.28 GPF) that qualifies for the highest rebate tier in most districts.
IPC stands for International Plumbing Code. It is published by the International Code Council (ICC) and is updated every three years. The 2021 and 2024 editions are currently the most widely adopted. Most states east of the Rocky Mountains use the IPC as the basis for their state plumbing code, sometimes with local amendments.
UPC stands for Uniform Plumbing Code. It is published by IAPMO (International Association of Plumbing and Mechanical Officials) and is the predominant code in California, Arizona, Oregon, Washington, and several other western states. The UPC tends to be more restrictive on venting methods than the IPC.
Yes. A 1.28 GPF WaterSense-certified toilet is legal in all 50 states under federal and state codes. You are installing a more water-efficient fixture within the same drain and supply connection -- no permit is typically required in jurisdictions where like-for-like replacements are exempt. Check with your local building department to confirm your jurisdiction's specific exemption rules.
The IPC requires 21 inches of clear space in front of the toilet (from the front of the seat to the nearest obstruction). Many UPC jurisdictions and California's Green Building Standards Code require 24 inches. ADA-compliant accessible bathrooms require a 60-inch clear floor space measured from the side transfer wall.
No. Both the IPC and UPC require a minimum 3-inch drain for a water closet. A 2-inch drain is not acceptable under either code for a toilet, regardless of the toilet's flush volume. Attempting to use a 2-inch line will also result in chronic clogging due to insufficient pipe volume for solids transport.
Not necessarily its own dedicated vent, but every toilet trap must be vented. A common vent, wet vent, or circuit vent can all serve a toilet drain as long as the vent diameter and distance meet code requirements. The specific venting method allowed depends on whether your jurisdiction uses the IPC or UPC and any local amendments.
Under the IPC, AAVs are generally permitted for individual and branch venting, including for toilet branches, subject to local jurisdiction approval. Under the UPC, AAVs are restricted to situations where conventional venting is physically impossible. In most UPC states -- California, Oregon, Washington, Arizona -- AAVs are not an approved method for toilet venting. Always verify with your local AHJ before specifying an AAV.
The rough-in dimension is the distance from the finished wall to the center of the toilet drain (closet flange). It is a manufacturing standard, not a code requirement. Standard rough-in is 12 inches. Some older homes use 10-inch or 14-inch rough-in. You must match the toilet's rough-in to your existing drain location; buying the wrong rough-in dimension will prevent correct installation even though no code rule is violated.
Pressure-assist toilets require a minimum of 20 to 25 psi at the supply valve to pressurize the internal vessel. Most manufacturers specify 25 to 80 psi for reliable operation. If your home's water pressure is below 25 psi -- common in rural areas or upper floors of multi-story buildings -- a gravity-feed toilet is the correct choice. Pressure above 80 psi requires a pressure-reducing valve (PRV) by code.
The closet flange (also called a toilet flange) is the fitting that connects the toilet's outlet horn to the drain pipe. Both the IPC and UPC require the flange to be secured to the floor and set at the correct height -- the top of the flange should be at finished floor level, not above or below it. A flange set too low requires an extender ring; a flange set too high creates rocking and seal failure. Both conditions are code deficiencies.
Yes. Both the IPC and UPC require the water closet to be secured to the floor using closet bolts (johnny bolts) through the toilet base into the closet flange. The toilet must not rock or shift in use. A wax ring seal compressed between the toilet horn and the flange provides the drain seal; it does not provide structural anchoring on its own. The bolts provide the required mechanical connection.
Yes. Wall-hung toilets are code-compliant in residential installations under both the IPC and UPC as long as the carrier frame is rated for the load (typically 500 to 880 pounds), the in-wall drain connects to a properly sized and vented drain system, and the required clearances (15-inch side, 21 or 24-inch front) are maintained. The structural carrier must be approved by the manufacturer and installed per their instructions. TOTO's Aquia IV is a popular wall-hung model available for residential use.
No. Both codes require a watertight seal between the toilet outlet and the drain, but the specific sealing method is not mandated. Wax rings are the most common method. Wax-free foam gaskets (such as the Fernco Wax Free Seal) are an accepted alternative and may be preferred when the closet flange is slightly above or below finished floor level. What the code requires is a seal -- not the specific material used to create it.
A dual-flush toilet provides two flush options: a reduced flush (typically 0.8 to 1.0 GPF) for liquid waste and a full flush (1.28 to 1.6 GPF) for solid waste. Dual-flush toilets meet both IPC and UPC requirements as long as the full flush volume does not exceed 1.6 GPF and the fixture is listed to an approved standard (ASME A112.19.2 or ANSI Z124.4). EPA WaterSense certifies dual-flush toilets based on an effective flush volume calculation.
ASME A112.19.2/CSA B45.1 is the primary standard for vitreous china plumbing fixtures, which includes most porcelain toilets. This standard covers performance, dimensions, and material requirements. Both the IPC and UPC require fixtures to comply with listed standards; ASME A112.19.2 is the listing standard for vitreous china toilets sold and installed in the United States and Canada.
A toilet installed without a required permit is classified as unpermitted work. Depending on jurisdiction, this can result in fines, required removal and reinstallation after a permit is pulled and inspected, and complications during home sales (buyers' lenders and home inspectors flag unpermitted plumbing). Homeowner's insurance may deny water damage claims if the damage originates from unpermitted plumbing.
MaP (Maximum Performance) testing measures how many grams of simulated solid waste a toilet clears per flush. It is conducted by an independent laboratory and the results are published publicly at map-testing.com. MaP testing is not part of the IPC or UPC, but EPA WaterSense requires a minimum 350-gram MaP score for certification. High MaP scores (800 to 1,000 grams) reduce double-flushing, which is the primary way a low-GPF toilet can end up using more water per use than a compliant 1.6 GPF model with a lower MaP score.
Yes, flushometer (tankless) toilets are code-compliant in residential applications, but they require a minimum supply pressure of 25 psi and a 1-inch supply pipe (rather than the 1/2-inch supply used for tank toilets) in most installations. They are most commonly specified in commercial applications. Some TOTO and Kohler residential lines include flushometer-valve models, but the supply pipe sizing requirement must be confirmed against the locally adopted code before installation.
Under the IPC, the maximum distance from the toilet's trap outlet to the vent is determined by the drain size. For a 3-inch drain serving a toilet, the maximum trap-to-vent distance (trap arm length) is typically 6 feet. The UPC uses a similar table but the limits may be more restrictive -- some UPC jurisdictions limit the trap arm to 3 feet for a 3-inch line. Exceeding the maximum trap arm length causes siphoning of the trap seal and allows sewer gas to enter the room.
Mechanical exhaust ventilation for bathrooms (exhaust fans) is governed by the International Mechanical Code (IMC), not the IPC or UPC. The IMC requires a minimum 50 CFM for bathrooms containing a water closet. Exhaust must terminate outside the building -- not into an attic, wall cavity, or ceiling space. Some jurisdictions have adopted the IRC (International Residential Code) mechanical chapters, which have equivalent requirements.
Both the IPC and UPC establish a clear baseline for bathroom toilet installations: 1.6 GPF maximum flush volume (1.28 GPF in California and several water districts), a 3-inch minimum drain with 1/4-inch-per-foot slope, at least 15 inches of clearance from centerline to side walls, and proper venting for every trap. EPA WaterSense certification at 1.28 GPF with a minimum 350-gram MaP score is the most practical way to satisfy every tier of these requirements while qualifying for utility rebates. TOTO (Drake II, UltraMax II, Aquia IV), Kohler (Cimarron, Highline), and American Standard (Cadet 3, H2Option) all offer strong WaterSense-certified models that perform well within these code constraints.
How we rank & our data sources
We do not run physical lab tests. Rankings are built from published, verifiable data and real owner feedback, never paid placement.
Researched by Derek Whitman · Last updated June 19, 2026 · Our review method

When a toilet will not flush at all, the cause is almost never the bowl itself. It is one of a short…
Read the guideEverything you need to know about drain pitch requirements, horizontal drain sizing, code compliance, and how poor slope causes slow drains and…
Read the guideEverything you need to know about choosing the right closet bolts, understanding the correct dimensions, picking the right material, and installing them…
Read the guide