Plumbing Picks is reader-supported. As an Amazon Associate, we earn from qualifying purchases at no extra cost to you.
Quick answer from a licensed plumber: The washer’s standpipe must rise at least 18 inches above the trap weir — both major code families agree on that floor. The ceiling is where they split: IRC-family code allows up to 42 inches, while UPC-family code caps it at 30 inches, and the UPC also pins the trap itself at 6 to 18 inches above the floor. Too short is why suds surge back out of the pipe; too tall makes the washer’s pump fight the column. Measure from the trap weir, not the floor.
At a Glance
| Dimension | IRC-family code | UPC-family code |
|---|---|---|
| Standpipe height above trap weir — minimum | 18″ | 18″ |
| Standpipe height above trap weir — maximum | 42″ | 30″ |
| Trap height above floor | Not stated in the standpipe section | 6″ to 18″ |
| Trap below floor? | — | ⛔ Prohibited |
The two code families genuinely disagree — here is each one, verbatim
Most articles on this topic quote one number range as if it were universal. There are two, and which one governs your laundry room depends on which model code your state adopted.
IRC family (section P2706.1.2 as adopted): “Standpipes shall extend not less than 18 inches (457 mm) and not greater than 42 inches (1067 mm) above the trap weir.”
UPC family (section 804.1 as adopted): “No standpipe receptor for a clothes washer shall extend more than 30 inches (762 mm), or not less than 18 inches (457 mm) above its trap weir,” and — the rule the IRC’s standpipe section does not carry — “No trap for a clothes washer standpipe receptor shall be installed below the floor, but shall be roughed in not less than 6 inches (152 mm) and not more than 18 inches (457 mm) above the floor.”
So a 36-inch standpipe is legal in an IRC state and a violation in a UPC state. If you are building new or moving the laundry, that difference is worth a two-minute call to your building department. A standpipe between 18 and 30 inches above the weir satisfies both families — which is why that is the range to aim for when you have the choice.
📌 Honest note on the citation: both passages above were read on the published code pages as adopted (an IRC-family residential code and a UPC-family plumbing code respectively). Editions renumber and states amend — confirm your local adoption before rough-in.
“Above the trap weir” — the measurement everyone gets wrong
The heights are measured from the trap weir — the crest of the trap’s internal dam, where water spills over on its way out — up to the top of the open standpipe. Not from the floor. Not from the laundry box. Not from where the pipe exits the wall.
Measure from the floor instead and you can be off by up to 18 inches, because the trap itself sits somewhere between the floor and knee height. This is the same weir-not-floor confusion that trips people on trap arm length, and it is why two installers can both say “mine is 24 inches” and be describing completely different installations.
Most of the confusion here comes from two code families disagreeing. If you want the occasional straight note when I publish one of these, leave your email — no spam, no course funnel.
Why too short backs up — and why too tall is also wrong
Too short: a modern washer’s drain pump discharges hard — far harder than a sink empties. The standpipe’s height is the buffer column that gives that surge somewhere to stand while the drain swallows it. Cut the column short and the surge tops the pipe: water and suds heave back out of the standpipe mid-cycle, usually at the drain phase of the first rinse. If your floor gets wet only on drain cycles, height and blockage are the two suspects, in that order.
Too tall: the instinct is “taller = more buffer = safer,” and the codes cap it anyway. Two reasons. The washer’s pump has to lift against that column, and more decisively, an over-tall standpipe puts the open top far above the trap — lengthening the column of sudsy water that stands over the trap after every drain and encouraging siphoning and slow gurgling re-seals. The cap is not bureaucratic caution; it is where the arrangement stops working well.
And the hose matters too: the drain hose should hook into the standpipe loosely — never sealed or taped in. The air gap around the hose is what breaks siphons. Shove the hose a foot down the pipe and seal it and you have built a siphon that can quietly drain the machine as it fills. (Same principle as the dishwasher’s — see air gap vs high loop.)
The trap rules underneath it
The standpipe stands on a P-trap, and the UPC pins that trap between 6 and 18 inches above the floor, explicitly never below the floor. A below-floor trap turns the whole standpipe into an over-tall column above its weir and puts the trap where it can never be serviced.
Two practical notes at the trap:
- Size: laundry standpipes are 2-inch territory. An old 1½-inch line that served a 1980s top-loader will genuinely struggle with a modern high-efficiency washer’s discharge rate — that is the machine out-running the pipe, and no amount of snaking fixes a diameter problem. Symptoms overlap with an ordinary slow drain, so rule out the clog first.
- It still needs a vent: the trap needs air behind it like any other — the distance rules in how far a trap can be from its vent apply to the laundry the same as to a sink.
Checking yours in five minutes
- Find the weir height: the weir sits roughly at the top of the trap’s curve. If the trap is buried in the wall behind a laundry outlet box, assume it sits just below the box.
- Measure weir to standpipe rim. Under 18″: that is your backup explanation. 18–30″: compliant everywhere. 30–42″: fine in IRC states, over the line in UPC states.
- Check the hose: hooked in loosely, entering no more than a few inches, never sealed.
- If it overflows anyway at legal height: suspect a partial blockage or an undersized line before blaming the geometry — lint is the laundry drain’s signature clog.
While you are back there, look at the supply side too — the fill hoses are the component that floods laundry rooms, and braided stainless replacements are the cheapest insurance in the room.
FAQ
How tall should a washing machine standpipe be?
At least 18 inches above the trap weir under both major code families. The maximum differs: IRC-family code allows up to 42 inches (“not less than 18 inches… and not greater than 42 inches above the trap weir”), while UPC-family code caps it at 30. A standpipe in the 18–30 inch band satisfies both. Measure from the trap weir, not the floor.
Why does water come back out of my washer’s standpipe?
Most often the standpipe is too short for the washer’s discharge surge, the line is partially blocked with lint, or an old 1½-inch line is being out-run by a modern high-efficiency washer. If the floor only gets wet during drain cycles, check height first, then blockage, then pipe size.
Where is the standpipe height measured from?
From the trap weir — the crest of the trap’s internal dam — to the top of the open pipe. Not from the floor: the trap itself sits somewhere between 6 and 18 inches above the floor (that band is an explicit UPC requirement), so floor-measuring can put you off by more than a foot.
Can the washer trap go below the floor?
Not under UPC-family code, which states the trap “shall not be installed below the floor” and must be roughed in 6 to 18 inches above it. A below-floor trap also makes the standpipe column over-tall above its weir and leaves the trap unserviceable.
Should the drain hose be sealed into the standpipe?
No — it hooks in loosely, entering only a few inches. The air gap around the hose is what prevents the machine siphoning itself: seal or tape the hose in and the washer can quietly drain while it fills, which shows up as endless fill cycles and cold washes.
Sources
- UpCodes — Waste Receptors (IRC family), P2706.1.2 as adopted: “Standpipes shall extend not less than 18 inches (457 mm) and not greater than 42 inches (1067 mm) above the trap weir.”
- UpCodes — Standpipe Receptors (UPC family), 804.1 as adopted: “No standpipe receptor for a clothes washer shall extend more than 30 inches (762 mm), or not less than 18 inches (457 mm) above its trap weir.” · “No trap for a clothes washer standpipe receptor shall be installed below the floor, but shall be roughed in not less than 6 inches (152 mm) and not more than 18 inches (457 mm) above the floor.”
Note on jurisdiction: the two model code families genuinely disagree on the maximum, and states amend both. Confirm your local adoption before rough-in.
Fix the 12 Most Common Plumbing Problems Yourself — Free Plumber’s Handbook — including the clog fixes that save a $200 drain call
Step-by-step fixes for the 12 most common problems — and exactly when to call a pro. Free and instant, from a licensed plumber. Save hundreds on calls you didn’t need.
