Dishwasher Drain Plumbing Code Requirements (2026)

Plumbing code requirements for dishwasher drains depend on which code your jurisdiction adopted and whether your state or county has amended it. Get this wrong during a permitted remodel and the inspector will fail the rough-in. We reviewed the two dominant codes, state-specific amendments, and the specific measurements that show up in inspection checklists.

dishwasher drain hose routed under kitchen sink

This article covers code requirements only. For the physical installation steps, see our Dishwasher Drain Installation: Complete Guide (2026).

Quick answer

Two main plumbing codes govern dishwasher drain installations in the US. The Uniform Plumbing Code (UPC) requires a physical air gap device mounted above the countertop in most states where it is adopted, including California, Washington, Minnesota, and Hawaii. The International Plumbing Code (IPC) and International Residential Code (IRC), used in most other states, typically allow a high loop as an acceptable alternative to an air gap. State amendments override both codes. Wisconsin, for example, adopted Wisconsin SPS 382.33(9)(d), which explicitly bans the high loop and requires an air gap regardless of what the base IRC says. Always verify your local building department’s adopted code before installation.

What causes code violations and how to identify them

Most residential dishwasher drain code violations fall into four categories, all of which inspectors routinely flag:

No backflow device at all. Some older installations (pre-1990s) used a simple direct drain connection to the sink tailpiece with no high loop or air gap. Current codes in every US jurisdiction require one or the other.

High loop in a UPC-required state. In states that adopted the Uniform Plumbing Code, only a physical air gap satisfies the backflow prevention requirement. A high loop is explicitly rejected by inspectors in California, Washington, Minnesota, and Hawaii, among others. The high loop relies on gravity and a small internal check valve; the UPC rejects this because the check valve is a mechanical component that can fail.

Air gap installed below the flood-level rim. By code, an air gap must be mounted above the sink’s flood-level rim. If it is installed inside the cabinet or on the side of the sink below counter level, a sink overflow would push water into the air gap body, defeating its purpose. The Bryco installation reference we reviewed notes this is a common error in DIY jobs.

Hose length violations. Both UPC and IPC set a 10-foot maximum for the total drain hose run. The secondary limit (specific to air gap installations above the counter) is 18 inches from the air gap outlet to the garbage disposal inlet. Exceeding either creates backpressure that strains the drain pump.

For the full step-by-step air gap installation see our Dishwasher Air Gap Installation: Step-by-Step (2026).

Step-by-step: bringing a drain into code compliance (15-30 min)

These steps apply to bringing an existing non-compliant installation into compliance. New installations follow the same logic in reverse order.

  1. Identify your jurisdiction’s adopted code. Call your local building department or check their website. Ask which version of the UPC or IPC is adopted and whether your county has local amendments. This single step determines whether you need an air gap or whether a high loop is sufficient.

  2. Inspect the existing installation. Open the cabinet under the sink. Identify whether an air gap is present (a chrome or stainless cylindrical fitting on the countertop or sink deck), whether the drain hose forms a high loop (rises to countertop height and is secured with a clip), or whether neither is in place.

  3. Check the air gap height (if one exists). Confirm it is mounted above the flood-level rim of the sink. In practice, this means it should be on the countertop or sink deck, not inside the cabinet. The gap between the dishwasher hose inlet and the drain hose outlet inside the air gap body is what makes it fail-safe: wastewater cannot cross that air gap regardless of pressure.

  4. Measure the hose runs. Total hose from dishwasher to drain connection must stay under 10 feet. From the air gap outlet to the disposal inlet must stay under 18 inches (for above-counter air gap installations per the Zuehlke Wisconsin code reference we reviewed, which cites SPS 382.33(9)(d) specifically).

  5. Verify the high loop height (if no air gap). For jurisdictions where high loop is acceptable, the loop must be secured at least 32 inches above the floor. This measurement comes from the Bryco technical reference we reviewed. Use a tape measure on the clip securing the hose to the underside of the countertop.

  6. Address any violations. If the jurisdiction requires an air gap and one is not present, install one. Air gap kits run $15 to $40 at hardware stores. Installation requires a hole in the countertop or sink deck (typically 1-3/8 inch diameter). For high loop compliance, add a hose bracket and raise the loop to the required height.

  7. Document the installation. For permitted work, photograph the final installation before closing walls. Keep the photos with the permit records.

Tools and parts you will need

ItemPurposeCost
Air gap kit (1-3/8” hole)Primary backflow device for UPC states$15-40
Hose clamp (stainless, worm-drive)Securing hose connections$3-8
Hole saw (1-3/8”)Cutting countertop hole for air gap$20-35 if renting
Tape measureVerifying 18” and 32” requirementsOn hand
Flathead screwdriverClamp tighteningOn hand
FlashlightInspecting disposal portsOn hand

When to escalate to a plumber

The compliance steps above are DIY-friendly for most homeowners. Call a licensed plumber when:

  • The installation is part of a permitted remodel and you need an inspection sign-off
  • Your countertop is granite, quartz, or tile (core drilling requires specialized bits and technique; a mistake is expensive)
  • The sink is a single-basin undermount without a pre-drilled air gap hole
  • You are in Wisconsin or another state with strict code enforcement and want documented compliance before selling the home

Licensed plumber rates for this work run $100 to $175 for the service call plus parts. Getting it inspected and signed off the first time is cheaper than correcting a failed inspection.

For high loop code compliance specifics, our Dishwasher High Loop Installation + Code Compliance (2026) covers every jurisdiction type.

Prevention: staying compliant after the fix

Code compliance is not a one-time task. Two situations require re-inspection of the drain setup:

After a disposal replacement. When a new disposal is installed, the drain connection point changes. The installer may re-route the dishwasher hose in a way that drops the high loop height or changes the hose run length. Verify both measurements after any disposal work.

Before selling the home. Home inspectors flag non-compliant dishwasher drain installations in virtually every pre-sale inspection we have reviewed. A non-compliant installation discovered at sale is a negotiation problem. Bringing it into compliance proactively costs $15 to $40 in parts.

Our Dishwasher Air Gap: What It Is + How to Clean It (2026) explains the full air gap maintenance cycle once the device is installed.

For post-installation troubleshooting, the Dishwasher Drain Hose: High Loop + Troubleshooting (2026) page covers every failure mode that shows up after a compliant installation is in place.

Frequently asked questions

Does my dishwasher legally need an air gap?

It depends on your state and local jurisdiction. California, Washington, Minnesota, and Hawaii adopted the Uniform Plumbing Code (UPC), which requires a physical air gap device above the countertop. Most other states use the International Plumbing Code (IPC) or International Residential Code (IRC), which typically allow a high loop as an alternative. Wisconsin uses its own residential code (SPS 382.33(9)(d)), which bans the high loop entirely and requires an air gap. Check with your local building department for the definitive answer.

What is the difference between UPC and IPC for dishwasher drains?

The Uniform Plumbing Code (UPC) is more restrictive: it requires a physical air gap in most circumstances because it treats the built-in check valve in modern dishwashers as insufficient protection against backflow. The International Plumbing Code (IPC) is more permissive: it allows a properly installed high loop as an acceptable backflow prevention method, relying on gravity and the check valve together. Local amendments can override either code in any direction.

How long can a dishwasher drain hose be?

The maximum total drain hose length is 10 feet per both UPC and IPC. For installations using an above-counter air gap, the run from the air gap outlet to the garbage disposal inlet has a separate 18-inch maximum per Wisconsin SPS 382.33(9)(d) and common practice cited in Bryco plumbing technical documentation. Exceeding these limits creates backpressure and strains the drain pump motor.

Can a home inspector fail a house sale over a dishwasher drain code violation?

Yes. Non-compliant dishwasher drain installations are one of the most commonly flagged items in residential pre-sale inspections. Whether the violation becomes a deal-breaker depends on the severity and local market norms, but buyers routinely request repairs or credits when the inspection report calls it out. Bringing the installation into compliance before listing costs $15 to $40 in parts and about 30 minutes of work.

What happens if I have a high loop in a state that requires an air gap?

The installation is non-compliant. For existing homes not undergoing permitted work, enforcement is rare until a sale or renovation triggers an inspection. For new construction or permitted remodels, the inspector will reject the installation. For homeowners in California, Washington, Minnesota, or Hawaii who are doing unpermitted DIY work, the practical risk is that a backflow event occurs and insurance coverage becomes complicated.