How High a Washing Machine Standpipe Has to Be — and What It Is Measured From
By Seamless Home Team, Home services operations · September 24, 2026
Quick answer
Under International Residential Code Section P2706.1.2, a standpipe shall extend not less than 18 inches and not greater than 42 inches above the trap weir. The datum is the trap weir — the top of the trap's water seal, low in the trap body — and not the floor, so a standpipe measured from the slab is being measured against the wrong reference and will usually read taller than the code figure. Where a laundry tray waste line connects into the same standpipe serving an automatic clothes washer, Section P2706.1.2.1 raises the minimum: the standpipe shall extend not less than 30 inches above the standpipe trap weir and above the flood level rim of the laundry tray, and the tray outlet shall be not more than 30 inches horizontally from the standpipe trap. Table P3201.7 sets the minimum trap size for a clothes washer standpipe at 2 inches, which is larger than the 1½-inch trap serving a kitchen sink or a laundry tub. And because the trap arm is a fixture drain like any other, Table P3105.1 limits the developed length from the trap weir to the vent fitting to 8 feet for a 2-inch trap at a quarter-inch-per-foot slope. Adopted editions and local amendments differ, so confirm against what your jurisdiction has enacted.
A washing machine standpipe is the simplest-looking thing in the house: a vertical pipe with a trap at the bottom and a hose stuffed into the top.
It also has four separate dimensional requirements, two of which change the moment a laundry tub is involved, and the one number everybody knows is measured from a point most people never find.
The window: 18 to 42 inches, and both ends are real
IRC Section P2706.1.2 reads:
Standpipes shall extend not less than 18 inches and not greater than 42 inches above the trap weir.
Two limits, two entirely different failure modes, and it is worth being clear about which is which because they get treated as a single "standard height" in practice.
The minimum is about volume. A washer pump empties the drum faster than a 2-inch drain carries water away. For the length of the drain cycle the standpipe holds a column of water — the pipe is acting as a small surge vessel, not just a conduit. Too short and it overflows at the top, on the floor, once per load, only during the drain cycle, which is why the puddle is often blamed on the machine.
The maximum is about the trap. A tall column of water released down a pipe carries momentum. When the discharge stops, that moving column can pull the trap seal out behind it, leaving the trap dry. A dry trap is an open pipe into the drainage system, and the laundry room starts to smell of it some days later — long enough after the fact that nobody connects the two.
So a standpipe outside the window does not fail gracefully at one end and merely look unusual at the other. Each end has its own way of going wrong.
The measurement that is almost always taken from the wrong place
The datum is the trap weir.
The weir is the top of the trap's water seal — the level over which water spills as it leaves the trap and heads for the drain. It is low in the trap body, and the trap body is below the standpipe.
A tape run from the laundry room floor to the top of the standpipe therefore measures the code dimension plus the height of the trap plus whatever the rough-in put beneath it. It reads taller than the figure the section is asking for, always, by an amount that varies with the installation.
That has two practical consequences that point in opposite directions:
- A standpipe that measures 44 inches from the slab is not automatically over the 42-inch maximum. Measured from the weir it may be well inside it.
- A standpipe that measures a comfortable 24 inches from the slab may be under the 18-inch minimum once the trap height is taken out.
This is the same datum error that turns up in the 18-inch rule for appliances in a garage, where the measurement runs to the ignition source rather than to the platform, and a rule of thumb built on the wrong reference survives for years because it happens to land close to the right answer on the common case.
Add a laundry tub and the number changes
This is the part that is easiest to get wrong, because the tub feels like an addition to the room rather than a change to the drain.
Section P2706.1.2.1 governs it. Where a laundry tray waste line connects into a standpipe serving an automatic clothes washer:
- the standpipe shall extend not less than 30 inches above the standpipe trap weir — the minimum moves from 18 to 30;
- the standpipe shall extend above the flood level rim of the laundry tray — a second condition that is not a fixed dimension at all, but a level set by the tub you happen to have installed;
- the laundry tray outlet shall be not more than 30 inches horizontally from the standpipe trap.
The reason for the second condition is drainage direction. If the top of the standpipe sits below the rim of the tub, the washer's discharge has an easier path into the basin than up the pipe, and a load of grey wash water arrives in the sink. The code is not asking for a margin here; it is asking that the two levels be the right way round.
A standpipe built to a perfectly good 20 inches, with a utility sink plumbed into it afterwards during a basement finish, is now short by 10 inches and nothing about the room changed.
Size: 2 inches, not 1½
Table P3201.7 sets minimum trap sizes by fixture. The clothes washer standpipe is one of the larger entries in a table of small ones:
| Fixture | Minimum trap size |
|---|---|
| Clothes washer standpipe | 2 in |
| Floor drain | 2 in |
| Kitchen sink (with or without dishwasher and disposer) | 1½ in |
| Laundry tub | 1½ in |
| Bathtub | 1½ in |
| Dishwasher (on a separate trap) | 1½ in |
| Lavatory | 1¼ in |
The washer is asking for more pipe than the sink next to it, and the reason is rate rather than volume. A washer discharges its drum in a short burst at a flow a sink never produces, and the standpipe only works as a surge vessel if the trap and drain beneath it can take that rate.
A 1½-inch standpipe assembled from sink fittings is a common older installation and a common DIY one, because the parts are cheaper and more available. It is also the second explanation when a standpipe of apparently legal height still overflows: the height was never the constraint.
The trap has a vent distance too
The last requirement is the one that is invisible after the wall closes, and it is not in the fixtures chapter at all.
The trap arm serving the standpipe is a fixture drain like any other, and Table P3105.1 caps the developed length from the trap weir to the vent fitting:
| Trap size | Slope | Maximum distance to vent |
|---|---|---|
| 1¼ in | ¼ in/ft | 5 ft |
| 1½ in | ¼ in/ft | 6 ft |
| 2 in | ¼ in/ft | 8 ft |
| 3 in | ⅛ in/ft | 12 ft |
| 4 in | ⅛ in/ft | 16 ft |
So the 2-inch trap under a standpipe has 8 feet to reach its vent. Run it further and the drain can flow full, and a full drain siphons the trap — arriving at exactly the same dry trap the 42-inch height limit was written to prevent, by a different route.
Two neighbouring provisions apply at the same time and are worth knowing because they are the usual findings when someone tries to solve a long run by improvising:
- P3105.2 — the total fall in a fixture drain from pipe slope shall not exceed one pipe diameter, and the vent connection shall not be below the weir of the trap. Pitching the arm harder to make the distance work is not a fix; it is a second defect.
- P3105.3 — a vent shall not be installed within two pipe diameters of the trap weir. A vent taken off immediately above the trap, which looks like the safest possible answer, is specifically prohibited.
Why the standpipe is left open at the top
The washer's hose is inserted into the standpipe. It is not clamped, glued or threaded to it, and that is deliberate.
The connection is indirect. The break between the hose and the pipe means that a backup in the drainage system spills visibly at the top of the standpipe rather than travelling back into the machine. It is the same principle that governs a water softener's regeneration drain and a condensate line from an air handler — the appliance and the drainage system are deliberately not joined.
Which is why the two things that go wrong with the hose both matter:
- A hose that is not secured backs out under the recoil when the pump starts, and puts the discharge on the floor.
- A hose pushed too far down the pipe can reach the water in the trap, at which point the drain can siphon the machine.
Secured, and in a few inches — not clamped, and not driven to the bottom.
What to check on an existing laundry
Five things, in the order that makes them easiest to establish:
- Find the trap before measuring anything. Everything in P2706.1.2 is referenced to its weir.
- Measure the standpipe from the weir, and compare against 18 to 42 inches — or 30 to 42 if a laundry tub drains into the same pipe.
- If there is a tub, check the top of the standpipe against the tub's rim, not just against the 30-inch figure.
- Check the pipe size. 2 inches is the minimum for the trap; sink-sized parts are a real and common substitution.
- Establish where the vent is. For a 2-inch trap, 8 feet of developed length is the limit, and a long horizontal run to reach a stack is the usual reason a trap will not hold its seal.
The washing machine standpipe checker walks all five and reports each one separately, because they have different remedies — a height problem is a different job from a vent distance problem, and a single pass or fail hides which one you have.
The bottom line
The standpipe has a window, not a target: 18 to 42 inches, measured from the trap weir and not from the floor. Connect a laundry tub into it and the minimum becomes 30 inches and above the tub's rim. The trap is 2 inches, larger than the sink beside it. And the trap arm has 8 feet to find a vent, which is the requirement most likely to have been compromised and the only one you cannot see.
A laundry room that has worked for years tells you the standpipe is tall enough for the machine that is in it. It does not tell you the trap is holding its seal, and it does not survive a new machine with a faster pump or a utility sink added during a basement finish.
If you are planning laundry, basement or kitchen work and want the drainage questions settled before the wall closes rather than at inspection, talk to us.
Frequently asked questions
How tall does a washing machine standpipe have to be?
IRC Section P2706.1.2 requires that standpipes extend not less than 18 inches and not greater than 42 inches above the trap weir. Both ends of that range are requirements. The minimum exists because the washer's pump discharges faster than the drain can carry away, so the standpipe has to hold a column of water briefly without it reaching the top; a short standpipe overflows onto the floor during the drain cycle and nowhere else in the wash. The maximum exists because the same column of water, released down a tall pipe, can pull the trap seal out behind it and leave the trap dry and the room open to the drainage system. The window is narrow for a reason, and a standpipe outside it fails in one direction or the other rather than being merely non-standard.
Is the standpipe height measured from the floor?
No, and this is the error that makes most field measurements disagree with the code. The datum in Section P2706.1.2 is the trap weir, which is the top of the water seal inside the trap — the level over which water spills as it leaves the trap toward the drain. It sits low in the trap body, and the trap itself sits somewhere below the standpipe. A measurement taken from the finished floor therefore includes the height of the trap and whatever rough-in distance sits beneath it, and reads taller than the dimension the code is asking for. A 46-inch pipe measured from a laundry room slab can be a compliant 40 inches measured properly, and a 44-inch pipe measured from the slab can be a compliant 38. The only way to know is to find the trap.
Does a laundry tub change the standpipe requirement?
Substantially, and it is a separate section. Where a laundry tray waste line connects into a standpipe serving an automatic clothes washer, IRC Section P2706.1.2.1 requires that the standpipe extend not less than 30 inches above the standpipe trap weir, and that it also extend above the flood level rim of the laundry tray. The minimum moves from 18 inches to 30, and it acquires a second condition that is not a fixed dimension at all — the rim of the tub becomes a governing level in its own right. The same section limits the laundry tray outlet to not more than 30 inches horizontally from the standpipe trap. The reason is drainage direction: if the standpipe is lower than the tub rim, the washer's discharge has an easy path up into the tub, and a load of wash water arrives in the sink.
What size does a washing machine drain have to be?
Table P3201.7 of the IRC sets the minimum trap size for a clothes washer standpipe at 2 inches. That is a step up from most of the fixtures around it — a kitchen sink, a laundry tub and a bathtub are each 1½ inches in the same table, and a lavatory is 1¼. The reason is the discharge rate rather than the volume: a modern washer pump empties the tub far faster than a sink drains, and the trap and drain have to accept that rate without the standpipe filling to the top. A 1½-inch standpipe assembled from sink parts because they were on the shelf is a common older installation, and it is the other half of the explanation when a standpipe of apparently legal height still overflows.
How far can the trap be from the vent?
The trap arm serving a standpipe is a fixture drain like any other, and it is governed by Table P3105.1. For a 2-inch trap at a slope of a quarter inch per foot, the developed length from the trap weir to the vent fitting may not exceed 8 feet. Beyond that distance the drain can run full and siphon the trap seal, which is the same failure the 42-inch height limit guards against, arriving by a different route. Two related provisions apply at the same time: Section P3105.2 requires that the total fall in a fixture drain from pipe slope not exceed one pipe diameter, and that the vent connection not be below the weir of the trap; and Section P3105.3 prohibits a crown vent, meaning a vent shall not be installed within two pipe diameters of the trap weir.
Does the washer hose have to be secured in the standpipe?
It has to be, though the reason is practical rather than a single dimension. The washer's discharge hose is inserted into the standpipe rather than connected to it — the arrangement is an indirect connection, which is what allows the drain to be open to the room at the top. An unsecured hose backs out of the pipe under the recoil of the pump starting, which puts the discharge on the floor, and a hose pushed too far down can reach the water in the trap and siphon. The reason the connection has to stay indirect at all is the same principle behind the rule for a softener drain and a condensate line: a direct connection gives a backup in the drainage system a path into the appliance.
Can a washing machine drain into a laundry sink instead of a standpipe?
The IRC contemplates it. Section P2706.2 states that plumbing fixtures used for washing or bathing shall not be used to receive the discharge of indirect waste piping, and then provides exceptions — among them a laundry tray receiving a clothes washer, and a kitchen sink trap receiving a dishwasher. So a washer discharging into a laundry tub is an arrangement the code allows rather than tolerates. What it does not do is remove the other requirements: the tub's own trap, its size, and its trap-to-vent distance all still apply, and the tub has to be able to accept the washer's discharge rate without overflowing, which is a question about the drain below it rather than about the size of the basin.