Does a Dishwasher Need an Air Gap? Three Codes, Three Different Answers
By Seamless Home Team, Home services operations · September 24, 2026
Quick answer
It depends on which plumbing code your jurisdiction has adopted, and the three common answers genuinely differ. Under the International Residential Code, Section P2717.2 requires that the dishwasher discharge rise to the underside of the counter and be securely fastened there before it connects to the food waste disposer or to a wye fitting on the sink tailpiece — that is the high loop, and no countertop air gap fitting is required. Under the International Plumbing Code, Section 802.1.6 permits the discharge to go indirectly through an air gap or air break into a waste receptor, or into a wye on the tailpiece or the disposer connection, and where it takes the tailpiece or disposer route it must connect to a deck-mounted air gap or else rise and be fastened to the underside of the sink rim or counter — an either/or. Under the Uniform Plumbing Code as adopted in California, Section 807.3 permits neither substitute: no domestic dishwashing machine may be directly connected to a drainage system or food waste disposer without an approved dishwasher air gap fitting on the discharge side, installed with its flood-level marking at or above the flood level of the sink or drainboard, whichever is higher. Separately, and confusingly, IRC Section P2717.1 uses the phrase air gap to describe a backflow device on the machine's water supply, built into the appliance — a different device, on the other side of the dishwasher, from the fitting on the countertop.
Ask three competent people whether a dishwasher needs an air gap and you can get three different answers, all delivered with confidence and all correct. They are reading different codes.
This is not a case of one source being wrong. The requirement genuinely differs between the model codes, it differs again where a state has amended one, and the residential code adds a complication of its own by using the words air gap in the dishwasher section to describe a device that has nothing to do with the drain.
Start with the thing nobody means: the supply air gap
The International Residential Code has two provisions for dishwashers, and the first one is about water going in.
Section P2717.1, Protection of water supply, requires that the water supply to a dishwasher be protected against backflow by an air gap complying with ASME A112.1.3 or A112.1.2 installed integrally within the machine, or by a backflow preventer in accordance with Section P2902.
That device lives inside the appliance. It is a manufacturing requirement, satisfied by the machine being what it is, and no homeowner has ever inspected one. It is not the chrome cylinder on the countertop, it is not on the drain, and it is not what anyone asking the question means.
It is, however, what a search for air gap in the residential dishwasher section frequently returns. If you have ever been told that the IRC requires a dishwasher air gap and found the citation slightly off-target, this is usually why.
The drain is the next section.
What the IRC actually requires on the drain
Section P2717.2, Sink and dishwasher, does two things.
First, it sizes the trap: the combined discharge from a dishwasher and a one- or two-compartment sink, with or without a food waste disposer, shall be served by a trap of not less than 1½ inches in outside diameter. That is a permission as much as a requirement — it is the code saying the dishwasher, the sink and the disposer may share one trap.
Second, it routes the hose. The dishwasher discharge pipe must rise to the underside of the counter and be secured there before it connects to the food waste disposer or to the wye fitting on the sink tailpiece.
That second sentence is the high loop, and it is a requirement, not a suggestion. Note the verb that is doing the work: secured. A hose looped up by hand and left resting on the back of the cabinet is not secured, and it will not stay where it was put — it sags under its own weight over a few years, and the loop that satisfied the inspector on the day is a shallow curve by the time anyone looks again.
No countertop air gap fitting appears anywhere in the IRC's dishwasher provisions.
What the IPC requires, and why it reads like a compromise
The International Plumbing Code handles dishwashers in Section 802.1.6, in the chapter on indirect and special waste. Its text is wider:
Domestic dishwashing machines shall discharge indirectly through an air gap or air break into a waste receptor in accordance with Section 802.2, or discharge into a wye branch fitting on the tailpiece of the kitchen sink or the dishwasher connection of a food waste disposer.
Then the qualifying sentence: the waste line of a domestic dishwashing machine discharging into a kitchen sink tailpiece or food waste disposer shall connect to a deck-mounted air gap or the waste line shall rise and be securely fastened to the underside of the sink rim or counter.
So the IPC offers the air gap fitting and the high loop as alternatives, explicitly. Under this code a house with a chrome fitting on the counter and a house with a properly fastened loop are both compliant, and an inspector citing one against the other is applying a preference rather than the section.
The IPC's air gap and air break are defined elsewhere in the same chapter, and they are not synonyms — the air gap is measured to the flood level rim of the receptor, the air break is a lesser arrangement terminating below it. That distinction is worked through in more detail in where a water softener is allowed to discharge, which is governed by the neighbouring section.
What the UPC requires, and why California is the answer people have heard
The Uniform Plumbing Code, as adopted in California, is the strictest of the three and the source of most of the confident yes.
Section 807.3 states that no domestic dishwashing machine shall be directly connected to a drainage system or food waste disposer without the use of an approved dishwasher air gap fitting on the discharge side of the machine.
There is no high-loop alternative in that sentence. The fitting is the requirement.
It also sets where the fitting goes, and the reference point is worth noticing: listed dishwasher
air gap fittings shall be installed with the flood-level marking at or above the flood level of
the sink or drainboard, whichever is higher. The marking is stamped on the device itself — CL
or c/l for critical level on ASSE 1021 fittings, FL or F/L on IAPMO PS 23 fittings.
The datum is the sink, not the floor and not the countertop. Fit an air gap through a countertop beside a deep apron-front sink and the flood level it has to clear has moved, which is the kind of detail that survives a renovation unexamined because the fitting was already there.
The three answers, side by side
| Countertop air gap fitting | Secured high loop | |
|---|---|---|
| IRC (P2717.2) | not required, not prohibited | required |
| IPC (802.1.6) | permitted | permitted — either one |
| UPC / California (807.3) | required | not a substitute |
Three codes, three positions, and all three are current. This is the same pattern as which code edition applies to a project on the electrical side: the question what does the code say has no answer until you know which document is in force where the work is happening.
The kitchen sink trap is one of only two places the residential code lets a fixture used for washing receive an indirect discharge at all. The other is the laundry tray taking a clothes washer, which has a whole set of dimensions of its own — how high a washing machine standpipe has to be covers the window, the datum and the trap size.
The failure that no code section covers
There is one dishwasher installation defect more common than any of the above, and it is mechanical rather than regulatory.
A new food waste disposer arrives with its dishwasher inlet closed by a moulded knockout plug. The inlet looks open. It is not. The plug has to be driven out with a screwdriver and a tap, and then — the part that gets skipped — the loose disc has to be fished out of the disposer body, because it will otherwise sit in the grinding chamber.
Connect the dishwasher hose to an unpunched inlet and the machine will fill, wash, and then fail to drain. Nothing leaks. Nothing looks wrong. The dishwasher is usually blamed first, and often replaced.
What a homeowner can check without tools
Open the cabinet under the sink and look at where the corrugated hose from the dishwasher ends up.
- Does it rise to the underside of the counter before it comes back down, or does it run straight across at the level of the disposer inlet?
- Is it fastened at the top of that rise — a clip, a strap, a screw — or is it just resting there?
- If there is a chrome fitting on the countertop or sink deck, is its flood-level marking at or above the rim of the sink bowl?
- Is the hose clamped at both ends, and is the connection at the disposer a wye or the dedicated dishwasher inlet rather than a tee improvised into the tailpiece?
None of these requires a meter or a licence. All of them are what an inspector looks at.
The bottom line
The question does a dishwasher need an air gap cannot be answered without naming the code. The IRC requires a secured high loop and no fitting. The IPC accepts either. California's UPC requires the fitting and accepts no substitute. And the phrase air gap inside the IRC's own dishwasher section refers to a backflow device on the water supply, built into the machine, which is a different device on the other side of the appliance.
The practical consequence is that a kitchen remodel specified from a general answer — or from how the last house was done — can be finished, tiled and trimmed before anyone discovers the jurisdiction's own rule. If you want the code questions on a kitchen or bathroom project settled before the cabinets go in rather than at inspection, talk to us.
Frequently asked questions
Is a dishwasher air gap required by code?
Only under some codes. The Uniform Plumbing Code as adopted in California requires it: Section 807.3 states that no domestic dishwashing machine shall be directly connected to a drainage system or food waste disposer without the use of an approved dishwasher air gap fitting on the discharge side of the machine. The International Residential Code does not require it. IRC Section P2717.2 requires instead that the dishwasher discharge pipe rise to the underside of the counter and be secured there before connecting to the food waste disposer or to the wye fitting on the sink tailpiece, which is the arrangement usually called a high loop. The International Plumbing Code sits between the two, permitting either a deck-mounted air gap or the secured high loop where the discharge connects to a tailpiece or disposer. So the honest answer to the question is another question: which code has your jurisdiction adopted, and has it amended this section?
What is the difference between an air gap and a high loop?
An air gap is a fitting, usually the small chrome cylinder mounted through the countertop or the sink deck beside the faucet. The dishwasher drain hose runs up to it, the flow passes through open air inside the fitting, and a second hose carries it back down to the disposer or the sink tailpiece. Because the flow crosses open atmosphere at a point above the sink's flood level, nothing downstream can be siphoned or pushed back into the machine. A high loop is not a fitting at all — it is a routing decision. The drain hose is run up under the countertop, fastened there, and then back down. It raises the hose above the point where backflow could reach the machine, but it does so with an unbroken hose rather than a break in the flow path. That difference is why one code accepts the loop and another does not.
Why does the IRC mention an air gap for dishwashers if it does not require one on the drain?
Because it is describing a different device. IRC Section P2717.1 is headed protection of water supply, and it requires that the water supply to a dishwasher be protected against backflow by an air gap complying with ASME A112.1.3 or A112.1.2 installed integrally within the machine, or by a backflow preventer in accordance with Section P2902. That device is inside the appliance, on the incoming water line, and a homeowner never sees it. The drain requirement is the separate provision in Section P2717.2. Two requirements, two sides of the same appliance, and the same two words for both. A search that returns the phrase air gap from the residential dishwasher section has very often returned the supply provision to someone asking about the countertop fitting.
Can a dishwasher drain into a garbage disposal?
Yes under every code discussed here, provided the connection is made correctly. IRC Section P2717.2 names the dishwasher connection of a food waste disposer as a permitted destination, as does IPC Section 802.1.6. The condition is what happens to the hose on the way there: under the IRC it must rise to the underside of the counter and be fastened, and under the UPC it must pass through an approved air gap fitting first. There is also a mechanical step that has nothing to do with the code and stops more dishwashers than any code provision does. A new disposer ships with the dishwasher inlet closed by a moulded knockout plug, and it has to be driven out and the loose plug retrieved from inside the disposer before the hose is attached. Fit the hose to an unpunched inlet and the dishwasher will fill, wash and then fail to drain, with no leak and nothing visibly wrong.
What size trap does a kitchen sink with a dishwasher need?
Not less than one and a half inches. IRC Section P2717.2 states that the combined discharge from a dishwasher and a one- or two-compartment sink, with or without a food waste disposer, shall be served by a trap of not less than one and a half inches in outside diameter. The point of the provision is that the dishwasher, the sink and the disposer are all permitted to share a single trap — the dishwasher does not need its own. Where a dishwasher is trapped separately, Table P3201.7 gives it a minimum trap size of one and a half inches in its own right.
Does the air gap fitting have to be at a particular height?
Where one is required, yes, and the height is defined by the sink rather than by a measurement from the floor. California Plumbing Code Section 807.3 requires that listed dishwasher air gap fittings be installed with the flood-level marking at or above the flood level of the sink or drainboard, whichever is higher. The marking is on the device: ASSE 1021 fittings carry CL or c/l for critical level, IAPMO PS 23 fittings carry FL or F/L for flood level. That is why an air gap fitting mounted in the countertop rather than in the sink deck, or fitted to a deep apron sink, is worth checking rather than assuming — the reference point moved when the sink did.
My dishwasher drains fine without an air gap. Is that a problem?
It is not a performance question, which is exactly why it goes unnoticed. Both the air gap and the high loop are there for a condition that occurs rarely: a blockage or a backup downstream of the connection, at the moment when the machine is not running. Without either, wastewater has an unbroken downhill path into the bottom of a machine that will hold it until the next cycle. A dishwasher that drains normally tells you nothing about whether that path is broken. Where it does tend to surface is at a property transfer, because a home inspector will look at the connection and report it, and the jurisdiction's own rule is what the report will be written against.