What to Know About Washing Machine Drain Code Requirements

Stay ahead of leaks by making sure your washing machine drain is up to code 

washer and dryer unit in laundry room
Photo: Hero Images / Adobe Stock
washer and dryer unit in laundry room
Photo: Hero Images / Adobe Stock
Highlights
  • The standard washing machine drain size is 2 inches, and the minimum requirement is 1 1/2 inches.

  • Modern washers typically require a larger drain, and you may need a larger drain if it’s connected to your kitchen sink. 

  • Standpipes should be between 18 and 30 inches from the floor.

  • Some standpipes require ventilation, while others don’t.  

Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon

Ensure the drainage system is in working order to get the most out of your washer and avoid a troublesome leak. This guide will help you determine whether your washing machine drain is the correct size and up to code, check the height of your standpipes, and know when to call in a pro. 

What Is the Standard Washing Machine Drain Size?

According to the Universal Plumbing Code, the standard drain size for a washing machine is 2 inches. The absolute minimum should be about 1 1/2 inches. However, keep in mind that wash load capacities can vary by up to 400% or more depending on the model. You may want a larger drain to ensure your machine can handle larger, multiple loads and avoid drainage problems.

Common Washing Machine Drain Code Errors

Washing machines pump water into the drum and constantly cycle water in and out to clean your clothes. The more powerful the machine, the more water it’s pumping. With most newer models, you need a drainpipe that’s wide enough to handle these loads. 

If your washing machine connects to your kitchen sink, you’ll need a 3-inch hose drain. However, if your washer and kitchen sink are separate units, you’ll only need to use 1 1⁄2 inches of pipe and a 2-3⁄4-inch trap to dispose of used water.

“Most jurisdictions require the installation of an overflow drain pan for washing machines on the second floor or higher,” says Bob Tschudi, Expert Review Board member and Raleigh, NC-based general contractor. “Regardless of the washing machine location, we always install a drain pan, as the potential water damage far outweighs the cost of putting in the pan and drainage system.”

How High Should Standpipes Be From the Floor?

Different states may have different rules and regulations on how high a standpipe must be from the floor. Generally, it should be between 18 and 30 inches from the floor. The water volume could pull the trap dry if it's any higher than that.

The standpipe connects the drain hose to the sewer line. It keeps the water level in the washing chamber below the drain to control the flow of water. The P trap should be 6 to 18 inches from the floor.

How to Attach the Trap and Standpipe

Glue traps are a good option, particularly threaded ones that swivel. You’ll attach the glue trap to the pipe coming out of the wall by following the steps below. 

  1. Check your local code to ensure your standpipe fits the height requirements.

  2. Prime both the outside of the pipe (applying around the end of the pipe, about 1 inch wide) and the inside of the fitting for the trap. Make sure you’re using enough primer, and follow the manufacturer’s instructions.

  3. Apply glue to the inside of the fitting and the outside of the pipe (over the area you primed). 

  4. Attach the fitting to the pipe while using a level to make sure it’s a level connection.

  5. Prime and glue the standpipe to your trap, and then attach the other end of the trap to the fitting you installed on the wall. 

  6. Use the level to check that the standpipe is straight (lining up the level vertically and parallel to the standpipe).

Should Standpipes Be Vented?

Some professionals will suggest that standpipes within washing machine drains require ventilation, which allows air to enter, limits odor buildup, and discourages insects from getting into your home. 

“There are alternatives to fully venting,” says Tschudi. “In many instances, we use an ‘air admittance valve’ or ‘studor vent,’ which prevent sewer gasses from coming out but don’t require outside ventilation.”

Most homeowners don’t need to vent standpipes in their drains because water rarely sits still within these pipes. Check your local codes, and consider scheduling annual checkups with a local plumber or drain cleaning service in your area

When in Doubt, Contact a Pro

 plumber connecting pipe to washing machine
Photo: Parilov / Adobe Stock

If you’re concerned that your washing machine drain is not up to code, or you just suspect that your washing machine needs repair, contact a washing machine repair pro near you to come out and take a look. They can advise you on the next steps and provide you with a quote for doing the work. Most washing machine repairs cost $125 to $450.

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to appliance repairs
From average costs to expert advice, get all the answers you need to get your job done.
vent with white shutters on the background of gray concrete under the leaves of the palm
Sep 27, 2024
Sep 27, 2024
Several factors impact dryer vent installation cost. Use this guide to learn what affects the cost, and how much you should budget for this project.
Father and daughter arranging utensils in dishwasher
May 21, 2024
May 21, 2024
An appliance repair takes parts, expertise and time. Use this guide to help you budget for your appliance repair cost.
Woman programming microwave
Sep 30, 2024
Sep 30, 2024
Microwave replacements are relatively affordable compared to other appliances. Use this guide to learn how much they cost based on factors like type and labor.
A woman cleaning a garbage disposal
Oct 21, 2024
Oct 21, 2024
When a garbage disposal stops working, you’ll need to call in a pro for help. Find the right person for the job with this guide to who fixes garbage disposals.
Grandfather and granddaughter cleaning dishwasher
Jun 6, 2024
Jun 6, 2024
Is your dishwasher not cleaning properly? This may happen for a few reasons, including a dirty filter or broken inlet valve. Learn how to troubleshoot your dishwasher cleaning problems.
Man opening up refrigerator door
Dec 6, 2023
Dec 6, 2023
When shopping for a new fridge, you’ll have the choice between a counter-depth refrigerator vs. a standard one, and our guide can help you pick.
Share project details to get started.