Home Improvement

Washing Machine Drain Trap: Standpipe Height, Size and Code

Washing Machine Drain Trap: Standpipe Height, Size and Code

Sewer smell in the laundry room, water bubbling out of the standpipe mid-cycle or a gurgle every time the washer pumps out usually point to the same thing: a washing machine drain trap that is the wrong size, at the wrong height or missing a vent. A modern washer can dump water at well over 10 gallons per minute, and a drain that cannot keep up will overflow or siphon itself dry.

The quick answer: a washer drain needs a 2 inch P-trap, a 2 inch standpipe that rises a code-set distance above that trap (commonly at least 18 inches, with a maximum of roughly 30 to 42 inches depending on which plumbing code your area follows), a proper vent, and a loose fit where the washer hose drops into the standpipe so air can get in. Draining into a laundry sink is also allowed in most places, as long as the sink itself has a trap and enough capacity.

Clogged washer drains and installing a recessed outlet box are separate jobs. Here the focus is on how the trap, standpipe and vent should be laid out, and how to tell whether yours is set up right.

How a Washing Machine Drain Trap Works

A P-trap is a U-shaped bend that holds a few inches of water. That water seal stops sewer gas from entering the room. When the washer pumps out, water flows down the standpipe, through the trap and into the drain line, while the vent lets air in behind the water so the trap does not siphon empty.

Each part has a job:

  • Standpipe: A vertical pipe that receives the washer hose and gives the water a running start. Too short and it overflows; too tall and the washer pump strains or the water siphons back.
  • Trap: Holds the seal. For a washer it should be at least 2 inches in diameter, since a 1.5 inch trap often cannot handle the flow.
  • Vent: Connects to the drain downstream of the trap and runs up to the roof or to an approved vent connection, letting air in and out.

Standpipe Height and Size by Code

Two model plumbing codes are widely used in the US, and they set slightly different rules. Your local code may also amend them, so check with your building department.

  • Standpipe diameter: 2 inches is the standard minimum for a washer drain standpipe.
  • Height above the trap: Commonly at least 18 inches above the trap weir. The maximum is roughly 30 inches in one code family and 42 inches in the other.
  • Trap height above the floor: One code family also specifies that the trap sit roughly 6 to 18 inches above the floor, which puts the top of the standpipe somewhere around 30 to 48 inches off the floor in a typical install.

Washer manufacturers add their own limits. Many specify a minimum drain height (so water does not siphon out mid-wash) and a maximum (often several feet, up to about 96 inches for some models) that the pump can lift. Read your washer manual and make sure your standpipe falls inside both the code range and the machine range.

The trap should not be buried in a wall without access unless your code allows it, and it must be a true P-trap. S-traps, bell traps and drum traps are not allowed on new work because they siphon or trap debris.

The Air Gap at the Hose

The washer drain hose should hook into the standpipe loosely, not be sealed into it with tape or a tight rubber fitting. That open space is an air gap. It keeps dirty drain water from being pulled back into the washer and lets the standpipe breathe so the trap does not siphon.

Push the hose in only as far as the washer manual recommends, usually several inches. Too deep and the end can sit in water, encouraging siphoning. Secure it with the hose guide or a strap so it cannot jump out when the pump kicks on.

Venting the Washer Drain

An unvented or poorly vented washer drain is the most common reason a trap loses its seal. Signs include gurgling in nearby sinks when the washer drains, a sewer smell after a load and slow drainage that overflows the standpipe.

The vent typically ties into the drain within a limited distance of the trap, then rises to the main vent stack or through the roof. Some jurisdictions allow an air admittance valve, a one-way valve that lets air into the drain, but others do not or restrict where it can go. Running new vent pipe through walls and ceilings is a job for a licensed plumber.

Washer Draining Into a Sink

Many laundry rooms send the washer hose into a utility tub instead of a standpipe. A washer draining into sink setup is generally allowed if:

  • The sink has its own trap (a washing machine sink trap is usually 1.5 inches, which works because the tub acts as a buffer).
  • The tub is large enough to hold a surge without overflowing, typically a deep single-bowl laundry tub.
  • The hose is clipped to the rim so it stays put and keeps an air gap above the water.

Add a mesh lint catcher on the hose end. Lint is the main reason tub drains clog, and a clogged tub fills fast when the washer dumps a full load. A washer wall drain box or standpipe remains the cleaner choice if the tub is small or used for other jobs during laundry.

Looking to buy Washing Machine Drain Trap? Compare top-rated options.
Shop on Amazon →Browse Our Shop
As an Amazon Associate we earn from qualifying purchases.

Tools and Materials

  • 2 inch PVC or ABS pipe, 2 inch P-trap, couplings and fittings to match your existing drain
  • Primer and cement for the pipe type, or mechanical couplings where allowed
  • Washing machine outlet box (a recessed box gives a neat drain opening plus hot and cold valves in one unit)
  • Hacksaw or PVC cutter, tape measure, level, deburring tool
  • Hose strap, lint catcher, bucket and towels

Checking and Correcting an Existing Setup

  1. Turn off the washer and shut the hot and cold supply valves. Unplug it before pulling it out, and plug it back directly into its wall receptacle (no extension cords). Laundry outlets near water should have GFCI protection.
  2. Measure the trap size. If the trap is 1.5 inches on a standpipe, it is undersized for a direct washer connection.
  3. Measure the standpipe from the trap weir to the top. Compare with your code range and your washer’s limits.
  4. Check the hose fit. Remove any tape or seal that makes it airtight, and set the insertion depth per the manual.
  5. Look for a vent. Follow the drain line to see whether a vent ties in nearby. Gurgling or smell after loads suggests it does not or the vent is blocked.
  6. Run a test load and watch the standpipe during the drain cycle. Water near the top means the drain is restricted or too slow.

Shortening a standpipe that is too tall, or replacing a trap on an existing properly vented line, is within reach for many DIYers. Shut off the water, relieve pressure by opening a nearby faucet and follow your local plumbing code. Anything involving new drains or vents should go to a professional.

Troubleshooting

  • Standpipe overflows: Partial clog downstream, undersized trap, standpipe too short or a vent problem.
  • Sewer smell: The trap is siphoning dry because the hose is sealed in, the standpipe is too short or there is no vent. A trap that sits unused for weeks can also evaporate; run water into it.
  • Washer will not finish draining or shows a drain error: The standpipe may exceed the pump’s lift height, or the hose is kinked.
  • Water siphons out during fill: The hose end is too low or pushed too deep. Raise the standpipe or shorten insertion.
  • Gurgling in other fixtures: Shared drain without adequate venting.

Cost Ranges

A replacement 2 inch trap and fittings usually cost under $40. A recessed outlet box with valves runs roughly $30 to $100. A plumber correcting a trap or standpipe on an existing drain often charges a few hundred dollars, while adding a new drain line and vent through finished walls can run from several hundred to well over a thousand dollars depending on access.

When to Call a Licensed Professional

Call a licensed plumber when you need a new laundry drain, a new vent, a relocated standpipe or a tie-in to the main line, and when you suspect the vent is missing entirely. Those jobs usually need a permit and inspection. If the outlet box or laundry area needs a new receptacle or circuit, that is a licensed electrician’s job; turn off the breaker and confirm power is off with a non-contact voltage tester before any work near wiring, and never work on powered wires.

Frequently Asked Questions

What size should a washing machine drain trap be?

Use a 2 inch P-trap on a washer standpipe. A 1.5 inch trap often cannot keep up with the pump’s flow.

How tall should a washer drain standpipe be?

Most codes require at least 18 inches above the trap, with a maximum of roughly 30 or 42 inches depending on the code your area uses. Also stay within your washer’s drain height limits.

Can a washer drain into a laundry sink?

Yes, in most areas, if the sink has its own trap, is deep enough to absorb the surge and the hose is clipped with an air gap.

Why does my washer drain smell like sewer?

The trap is losing its water seal, usually from siphoning caused by a sealed hose, a short standpipe or a missing vent.

Should the washer hose be sealed into the standpipe?

No. Leave a loose fit so there is an air gap. Sealing it can siphon the trap and pull drain water back into the washer.