Last Updated on September 22, 2026 by Umar Farooq
A washing machine standpipe is the vertical pipe the drain hose discharges into. It needs a trap below it, a height inside the range your local code sets, and an air gap at the top where the hose goes in. Under the UPC the pipe runs 18 to 30 inches above the trap weir, and the trap itself sits 6 to 18 inches above the floor and never below it.
If you have already read three pages on this and come away with four different height figures, there is a reason, and it is not that anyone is wrong.
Why none of the published heights agree
They are measured from different places. Plumbing codes measure from the trap weir — the water line inside the P-trap. Appliance manufacturers measure from the floor. Those are two different datums, and a number from one is meaningless against a number from the other.
Here is what each actually says. The UPC, as adopted in Hawaii’s 2021 plumbing code §804.1, is verbatim: “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.” The same section pins the trap: “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” (standpipe receptors).
Samsung, measuring from the floor, gives 18 to 96 inches on one support page and a 39-inch minimum on another. Both are live, both are Samsung, and this site has recorded that discrepancy before — so take the one in your own manual and ignore the other (washer is spinning poorly).
The practical upshot: use the figure from the code your area has adopted, measured the way that code measures it. If you are checking an existing installation rather than building one, what matters far more is the next section.
A washing machine standpipe needs a trap, and it must not be below the floor
A standpipe without a trap is a hole into the drain system. The trap’s water seal is the only thing stopping sewer gas coming back up into the laundry, and a machine that smells of drains rather than damp usually has a trap problem, not a drum problem.
Two failure modes are common. A trap installed below floor level — which the code above explicitly forbids — is hard to rod and tends to hold debris. And a trap that dries out, in a laundry used a few times a month, loses its seal entirely; the fix is to run water into it, not to clean anything.
If your laundry smells and the machine itself is clean, check the trap before you do another tub clean: washing machine smells like sewage.
Diameter, and the air gap at the top
Two inches is the diameter normally specified for a washer standpipe, with some jurisdictions permitting one and a half. The code section quoted above does not state a diameter, so no figure is presented here as a code requirement — check locally before you cut anything.
What is not optional is the air gap. The drain hose drops into the standpipe and must not seal against it. Samsung: “Make sure the drain hose does not form an airtight connection. An airtight connection creates a vacuum or suction effect that also causes siphoning.” Tape, sealant or a tight push-fit will make the machine empty itself while it is filling, and that presents as a cycle that never finishes rather than as a plumbing fault (washing machine fills then drains).
Insertion depth belongs to the same joint and is brand-specific — Samsung wants 6 to 8 inches, LG no more than 4. Use yours.
Draining into a laundry tub instead
A perfectly normal alternative, and the code treats it as its own case. The IPC family’s section on connecting a laundry tray to a standpipe requires that “the standpipe shall extend not less than 30 inches (762 mm) above the weir of the standpipe trap” and that it clear the flood level rim of the tray (indirect wastes).
Samsung gives a narrower window for hanging the hose over a sink — 24 to 35 inches from the floor. Either way the two risks are the same: a hose that can jump out under pump pressure, and a tub that fills faster than it drains. Clamp the hose, and never leave a plug in the tub on wash day.
What goes wrong, and which symptom points where
| Symptom | Where to look |
|---|---|
| Water backs up out of the standpipe | Pipe too narrow, or a partial blockage below the trap |
| Drain smell in the laundry | Trap dried out, or no trap at all |
| Machine fills and drains at the same time | Airtight joint, or hose inserted too deep |
| Hose jumps out mid-cycle | Not clamped — pump pressure is higher than people expect |
| Slow drain that got worse over months | Build-up in the trap, not the machine |
An overflowing standpipe is the one to act on quickly, because it puts water on the floor every cycle until it is fixed: washing machine drain pipe overflowing.
FAQ
How high should a washing machine standpipe be?
Under the UPC, 18 to 30 inches above the trap weir. Manufacturers quote heights from the floor instead, which is why their figures look different. Use your local code, measured its way.
Does a washing machine standpipe need a trap?
Yes. Without one, sewer gas enters the room. The trap must sit above floor level — the code puts it 6 to 18 inches up.
What size pipe is a washer standpipe?
Two inches is usual and some areas allow one and a half. The code section quoted here does not specify a diameter, so confirm locally.
Can a washing machine drain into a laundry sink?
Yes, and the code covers it. Clamp the hose so it cannot jump out, and keep the tub empty and free-draining during a cycle.
Why does my standpipe overflow?
Either the pipe cannot take the pump’s flow rate, or something below the trap is restricting it. A washer empties faster than most fixtures fill.
Should the drain hose be sealed into the standpipe?
Never. The joint needs an air gap or the machine will siphon itself empty while filling.
Get the trap right and the height argument disappears
Get the trap right and leave the joint loose, and a standpipe is a part you never think about again. Most of the “my standpipe is the wrong height” worry on the internet is two people comparing a floor measurement with a trap-weir measurement and concluding something is broken.

