Laundry Room Plumbing Code: What You Need to Know

Know the laundry room plumbing code to ensure a squeaky clean inspection

Man with gray hair doing laundry
Photo: Wavebreak Media / Adobe Stock
Man with gray hair doing laundry
Photo: Wavebreak Media / Adobe Stock
Highlights
  • Plumbing codes govern the water supply and drainage for a building.

  • Local plumbing codes may vary depending on circumstances.

  • A washing machine drain hose should be two inches in diameter.

  • Water supply lines must be at least a half-inch in diameter.

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

Establishing a laundry room may seem as simple as setting up a washing machine and a dryer before deciding on your favorite brand of fabric softener. There are, however, plumbing codes that govern the size and location of pipes, vents, and drains for these machines. You will need to understand the particulars of these codes if you want to pass an inspection. 

What Are Plumbing Codes?

Plumbing codes are regulations that provide minimum requirements for the safe design, installation, use, and repair of appliances and fixtures that operate with a water supply in residential and commercial buildings. Those appliances include toilets, sinks, and washing machines, as well as their drainage systems.

Many provisions of these codes can vary by locality; however, the installation of laundry room fixtures mainly falls under the Universal Plumbing Code (UPC) or the National Standard Plumbing Code (NSPC). Because no two laundry rooms are designed the same, compliance with a plumbing code involves familiarity with its various sections and how they apply to your space. 

Local Plumbing Regulations May Vary

While the UPC and NSPC cover a wide range of the minimum requirements for water supplies and drainage in buildings, there may be individual codes that your county, city, or state follows specifically.

If a section of your local plumbing code differs from or supersedes the UPC, you should be fully aware of the differences to avoid running into a roadblock with plumbing inspections. You can find the local code by searching on the website of the appropriate government or regulatory commission for your area. You can also request the information from your building inspector.

Plumbing Code for Draining a Washing Machine

4 laundry room plumbing parts illustrated, including the hot water supply, cold water supply, and washer drain standpipe

The water your washing machine uses has to go somewhere once the load of laundry has finished the wash cycle. Washing machine drain codes dictate how that water drains and where it ends up.

Washing machines feature a drain outlet to attach a flexible hose. This hose must then run upwards to fit over the edges of a vertical pipe called a standpipe. According to the UPC, both the hose and the standpipe must have a diameter of at least two inches, and the top of the standpipe must be higher than the flood rim of the washing machine.

Plumbing codes require that any water passing through a standpipe also go through a P-trap, which is a P-shaped section of pipe designed to prevent noxious sewer gases from backing up into your laundry room. The P-trap should be 18 to 30 inches below the top of the standpipe, and the top of the water level inside the drain arm of the P-trap must be six to 18 inches from the floor.    

Finally, the P-trap connects to a drain line that runs vertically to a feeder line or directly to your building’s drainage network. The minimum diameter of the drain line is two inches, but the size of the drain line can vary based on individual building codes.

Codes for Floor Drains

Having a floor drain in a laundry room can be a good idea. In any area where you are dealing with a water supply, overflow will always be a possibility. If your laundry room is on the ground floor or in the basement of your home, directly connecting it to the building’s drainage system is easier than mopping up large spills.

If you intend to have a floor drain in the laundry room, the pipe attached to it must be at least two inches in diameter to dispose effectively of excess water. The opening to the drain must be covered by a strainer to minimize clogging or debris getting into your sewage system. To facilitate proper draining without leaving standing water, the floor needs to slope toward the drain at a minimum of one quarter-inch per foot.

If your floor drain has a vented trap that connects directly to the sewer and it does not empty into a sump pump, you could attach your washing machine’s outlet to it. It is not necessary to do so, nor are there any codes dictating that you need to drain your machine through the floor. But it could be handy in cases where you do not want to open a wall to install a new washing machine. 

Laundry Room Water Supply

A white laundry room with a sink, white washer and dryer appliances, and a tiled floor
Photo: Joe Hendrickson / Adobe Stock

A washing machine needs water to function, of course. There are fewer plumbing codes governing the water supply to your laundry room, and many of them are closer to guidelines than regulations; however, you should still be familiar with these provisions.

Supply lines that bring hot and cold water must be at least a half-inch in diameter. These water branch lines tend to be made from rigid copper pipes, but PVC or PEX tubing is also acceptable. The washing machine connects to these supply lines via a flexible hose, typically made from braided steel, to allow movement while the machine is running.

Installing a Sink in the Laundry Room

Not every laundry room needs to include a sink, but it can be handy for hand washing delicate clothing or prewashing heavily soiled items before sending them through a laundry cycle. 

There are not many requirements for laundry room sinks due to them being used mainly for utility purposes. According to the National Standard Plumbing Code, a laundry sink should be at least 12 inches deep with a strainer over the drain. The drain outlet connection for the sink should be at least 1.5 inches in diameter.

Turn to Professionals When Necessary

There are a variety of plumbing codes to keep in mind, along with provisions, updates, exceptions, and areas. If you believe that your laundry room may not be up to code, or if you would like plumbing tips to help maintain your washing machine, contact a plumbing pro near you for more information.

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to plumbing services
From average costs to expert advice, get all the answers you need to get your job done.
A woman washing her hands
Jan 27, 2025
Jan 27, 2025
A main water shut-off valve controls water flow for your entire home. Here we break down the cost to replace a main water shut-off valve.
Renovated bathroom with white tile
Jan 27, 2025
Jan 27, 2025
Got temperature issues in your shower? You may need a new shower cartridge. This guide will help you understand shower cartridge replacement costs.
Mom bathing her toddler son
Jan 27, 2025
Jan 27, 2025
Looking to estimate the cost of rough-in plumbing for your new home? We’ve got you covered with a guide that covers the different cost factors for this type of job.
A woman and man stand at sink washing dishes
Jan 15, 2025
Jan 15, 2025
The water main line is essential to your home’s plumbing. Over time, it can develop wear or damage. Find out how much a main water line replacement costs here.
Modern bathroom sink, toilet, and shower
Jan 27, 2025
Jan 27, 2025
Wondering why you have low water in your toilet bowl? Use this quick and easy DIY guide to diagnose and fix the problem in no time at all.
Share project details to get started.