How to Install a Washing Machine Outlet Box and Standpipe

Why this matters

A washer outlet box looks like a carpentry job with two valves in it. The parts that fail are the ones nobody measures. A standpipe too short overflows onto the floor every time the washer pumps out. A standpipe measured from the floor instead of the trap weir passes the tape measure and fails the inspector. A box with no hammer arrestors bangs the house's pipes every fill cycle for the life of the washer, and the customer blames the new washer.

This card installs a recessed outlet box, its 2 in standpipe and trap, the hot and cold supplies and the arrestors, in new work or an open wall. Servicing an existing standpipe that overflows or gurgles is in Laundry Standpipe and Washer Drain Service.

The one measurement that decides it: standpipe height above the trap weir

The standpipe's height is measured from the trap weir, the level at which water spills from the trap into the trap arm, up to the top of the standpipe where the hose goes in. Not from the floor. The two model codes set different windows:

  • IPC: at least 18 in and not more than 42 in above the trap weir (IPC Section 802.4 in the 2021 edition, as adopted; the IRC carries the same window for houses under it).
  • UPC: at least 18 in and not more than 30 in above the trap (UPC Section 804.1 in the 2021 edition, as adopted).

The 18 in floor is shared. Below it the standpipe fills before the trap can carry the pump's discharge away and overflows at the hose, and a hose end set low enough can start a siphon out of the washer tub. The caps differ by 12 in, so a box set comfortably for an IPC house can be out of range across a county line. The 2 in standpipe and 2 in trap are the size both codes call for on a clothes washer, and the trap arm's length limit for 2 in is in Trap Arm Lengths by Trap Size Under IPC and UPC.

  recessed outlet box, top 44 in AFF
  +---------------------------+
  | (H valve) drain  (C valve)|
  |  left    opening  right   |
  +----------+    +-----------+
             |    | top of standpipe
             |    | 42 in AFF
             |    |
             |    | 2 in standpipe:
             |    | 32 in above weir
             |    |
             |    |
            _|    |_
           |  2 in |----> trap arm to vent tee,
           |  trap |      falls 1/4 in/ft
           |_______|  weir 10 in AFF
  ===== finished floor ==========================

Steps

1. Decide the box height from the trap weir, then from the washer. Pick the trap weir height first (low enough to leave the arm its fall to the vent tee), add the standpipe height the adopted window allows, and set the box so its drain opening lands there. Then check the washer maker's installation instructions, which state their own minimum and sometimes maximum drain height, and which are part of the appliance's listing. Why this order: the code window is measured from the weir, so a box placed first by eye and a trap fitted afterward is the usual route to a standpipe out of range.

2. Set the box. Mount the box between studs on its flanges or on blocking, plumb and with its face flush to the finished wall surface. If the wall is fire-rated (a wall between dwelling units, or a garage separation wall where the adopted code treats a box as a penetration of it), a plastic box needs a rated box or a listed fire-stopping pad or putty around it, as the box maker's listing describes; an unprotected opening is a hole in the rated assembly. Cutting into an existing wall: shut the breaker for any circuit in the cavity and confirm absence of voltage at the nearest outlet with a tester proven on a known live source before and after, per NFPA 70E Article 120 (current edition), before the saw goes in. Restore the breaker once the cut is made, and confirm the outlet you tested is live again.

3. Pipe the trap and standpipe. Run the 2 in standpipe from the box's drain outlet straight down to a 2 in P-trap, and the trap arm falling 1/4 in per foot to a sanitary tee on the vent. The total fall of the arm stays within one pipe diameter, 2 in here, so the vent opening is not below the weir (IPC 909.2 in the 2021 edition, as adopted). Support the standpipe to framing so it cannot sway when the hose jerks during pump-out. Prime and cement with the room ventilated and the can lidded between joints; How to Cut, Prime and Glue a PVC DWV Joint has the joint.

4. Stub the supplies, hot left and cold right. Bring hot and cold to the box's valve inlets with the joining method your shop uses for that pipe (The Joining Method Standard SOP). Hot on the left as you face the box matches the washer's own inlet marking and the habit of every plumber who services it later. Torch work inside a plastic box melts it: sweat any copper adapters before the box goes in, or use press or PEX connections at the box.

5. Add water hammer arrestors. A washer's inlet solenoids slam shut, and the IPC requires water hammer arrestors where quick-closing valves are used (IPC 604.9 in the 2021 edition, as adopted). Use arrestors listed to ASSE 1010, sized per PDI WH-201 (see Water Hammer Arrestor Sizing per PDI WH-201), one on each line, at the box. Many boxes have ports for them. An air chamber made from a capped piece of pipe is not a substitute: it waterlogs within months and stops absorbing anything. Skip the arrestors and the bang shows up later as a loosened strap, a cracked fitting at a tee or a noise complaint.

6. Test, then protect. Test the DWV with the standpipe opening plugged, per How to Water or Air Test a DWV Rough-In, and pressure-test the supplies with the valves closed. Cover the box face with its trim's protective cap until the wall is finished; drywall mud in a standpipe sets like concrete in the trap.

7. Connect the washer with an air break. The drain hose goes loosely into the standpipe, held by the hose's guide or a strap, never sealed into it. The standpipe is an indirect-waste receptor, and the open gap between hose and pipe is what keeps the drain from pushing back into the washer. Insert the hose only as far as the washer maker allows; pushed deep enough to sit below the water in the standpipe, it can siphon the tub.

One house, two codes

A basement laundry, framed 2x4 wall, washer box going in on new framing. The vent tee sits 30 in from the trap along the wall.

The layout as first drawn. Trap weir at 10 in above finished floor. The trap arm runs 30 in to the tee: 30 in at 1/4 in per foot is 30 divided by 12 times 1/4, or 0.63 in, about 5/8 in, so the tee branch lands at about 9-3/8 in. The box top at 44 in puts the drain opening and the top of the standpipe at 42 in. Standpipe height above the weir: 42 minus 10 is 32 in.

Under the IPC, as adopted. 32 in is inside 18 to 42 in, with 10 in below the cap. The arm's 5/8 in fall is under the 2 in one-diameter limit. Built as drawn.

Under the UPC, as adopted. 32 in is over the 30 in cap by 2 in. Two ways to close it, and only one works here:

  • Raise the trap. Moving the weir up 3 in to 13 in gives 42 minus 13, or 29 in above the weir, inside the window. But the tee stays at 9-3/8 in, so the arm would fall 13 minus 9-3/8, which is 3-5/8 in, against a one-diameter limit of 2 in. The vent opening would end up below the weir, the condition IPC 909.2 and its UPC counterpart forbid. Raising the trap only works if the tee comes up with it, which means opening more wall.
  • Lower the box. Dropping the box 3 in puts its top at 41 in and the standpipe top at 39 in: 39 minus 10 is 29 in above the weir, 1 in under the UPC cap. The trap and arm do not move. This was the choice. The washer's instructions on that job allowed a drain height well under 39 in, and the box top at 41 in still cleared the back of the machine.

The lesson in the pair is that the code window and the weir rule push the trap in opposite directions, so the fix for one has to be checked against the other before you cut.

Finish test: it drains a full pump-out without a drip

  • Standpipe height re-measured from the trap weir, not the floor: 29 in on the UPC job, 32 in on the IPC job, each inside its window.
  • Fill the standpipe from a bucket as fast as you can pour: water runs down without rising to the box. A standpipe that backs up under a bucket will overflow under a washer pump.
  • Run the washer through a drain and spin. Watch the box during pump-out: no water at the top of the standpipe, no water in the box's drain pan, and no gurgle loud enough to suggest the trap is being pulled (a gurgle points at the vent; see Laundry Standpipe and Washer Drain Service).
  • Run a fill. The valves and their connections stay dry, and the line does not bang when the washer's valves shut. A bang with arrestors installed points at an undersized or waterlogged arrestor, or at pressure: static at a fixture is not to exceed 80 psi, and above that the fix is a pressure-reducing valve, covered in The Pressure and Temperature Numbers on Every Residential Call.
  • Check the hose is held loosely in the standpipe with an open gap around it.

Leave the valves closed if the washer is not being set the same day, and tag them so the next trade does not open a valve into an empty box.

References

  • IPC 2021 Sections 802.4, 604.9 and 909.2, and UPC 2021 Section 804.1, as adopted; IRC 2021 for houses under it. Check the current edition.
  • ASSE 1010 (water hammer arrestors), as referenced by the adopted code, and PDI WH-201 (sizing); the washer and box makers' installation instructions.
  • NFPA 70E, Article 120, current edition, before cutting into an existing wall.
  • See related: Laundry Standpipe and Washer Drain Service
  • See related: Water Hammer Arrestor Sizing per PDI WH-201