How to Plumb a Bathroom Yourself and Save Money on a Plumber

Get your new bathroom up and running

Father showing son how to brush his teeth in the bathroom
Photo: Thomas Barwick / DigitalVision / Getty Images
Father showing son how to brush his teeth in the bathroom
Photo: Thomas Barwick / DigitalVision / Getty Images
Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon

Whether you’re building a new home or remodeling an old one, you may find yourself needing to plumb (or replumb) a bathroom. While you can hire a plumber to handle the job, you can save money by taking on this job yourself. Plumbing a bathroom isn’t for the faint of heart, though. You’ll need to know all of the ins and outs of water supply lines, drain lines, fixture installations, and more. This guide will walk you through the process of how to plumb a bathroom so that you feel confident in your ability to plumb your home yourself.

Before You Start Plumbing a Bathroom 

Plumbing a bathroom involves installing the water lines and drains for each fixture and the fixtures themselves. To complete this project, you’ll begin with “rough-in” plumbing.

This process involves installing the following:

  • Hot and cold water lines for the sink and bath

  • A cold water line for the toilet

  • Connecting sink, bath, and water lines to the main water lines that run through the house 

  • Fitting drain and vent lines for each fixture that connect to the main drain (or main stack), which run from the basement or crawl space to the roof. 

Once you’ve finished roughing in the plumbing, you’ll complete the project by installing bathroom fixtures, which include the tub or shower, toilet, and sink. 

Since the rough-in process requires you to make precise measurements and drill holes into the wall studs and floor, it’s best left to a professional plumber. But whether you choose to go with a pro or do it yourself, it’s important to understand how the rough-in process works. 

How Much Does It Cost to Plumb a Bathroom?

The average cost for rough-in plumbing is around $6,500 depending on the material and the size of your project. This typically applies to a new home install. If you’re looking to replace existing pipes with new ones, the cost to repipe a house is slightly higher with an average of $7,500. Because plumbing is integral to the overall functioning of a home, it’s worth hiring a professional plumber to ensure a job done well. 

How to Prep to Plumb a Bathroom

To correctly plumb your bathroom, start by checking the local plumbing codes, as they may limit where you can install pipes and fixtures and the type of materials you can use. You might also need a permit. Since plumbing a bathroom involves working around sewage lines that emit noxious gas, this job has the potential to be dangerous. As such, some jurisdictions may require you to hire a licensed plumber to plumb the bathroom. 

If your state or city requires a permit, you’ll need to include a plan with diagrams up to local codes. The plans should be on grid paper and show the location of all fixtures and pipes. When making your plan, allow for adequate clearance between the tub, sink, and shower (about 15 inches is adequate, though code requirements may call for something different). 

You should also list the type of material you plan to use and show how to vent the sink, toilet, and shower in your bathroom. If you don’t feel comfortable producing plans yourself, you can hire a plumber to do it for you.

How to Plumb a Bathroom 

You plumb your bathroom in two phases. First, you’ll rough in the water supply lines and drain lines, then you’ll complete the work by installing the bath, toilet, and sink. 

For this project, you may use some or all these tools and supplies:

  • PEX crimping tool

  • PEX cutter 

  • Tape measure

  • 4 1/2-inch hole saw

  • Cordless drill

  • Reciprocating saw

  • Plumber’s wrench

  • 1/2-inch water supply lines 

  • 1 1/2-inch PVC drainpipe

  • PVC cement

  • Tub drain assembly 

  • Tub P trap

  • 1 1/2-inch plastic sink J trap

  • 3-inch toilet flange

  • Toilet seal

  • Plumber’s tape

1. Shut Off the Water Lines

Plumber turning of water supply valve in the basement
Photo: fotoduets / Adobe Stock

The first step is to shut off the water lines to the entire home. If you have city water, you’ll find the shut-off valve somewhere inside the house near where water enters the home. Check the garage, basement, and closets along the exterior wall near the meter. 

If you live in a warmer climate, you may find the shutoff on the exterior of the house near the water meter. If you live on well water, you’ll find the shutoff valve on the main pipe that runs from the pressure tank into your home. 

2. Rough in the Plumbing

Plumber measuring supply line for the new toilet
Photo: Pixel-Shot / Adobe Stock

To rough in the bathroom plumbing, you’ll install the supply lines and drain lines for the toilet, sink, and tub to transfer water from your home’s main hot and cold water lines to all the fixtures in the bathroom. You’ll need to run five supply lines: hot and cold water supply lines for both the tub and sink and a single cold supply line for the toilet. 

Depending on where the hot and cold main water lines are in relation to the bathroom, you can run the supply lines up through the bathroom floor or wall studs. 

You have options when choosing what material to use for supply lines, including copper, steel, polyvinyl chloride (PVC), and cross-linked polyethylene (PEX). PEX is the best option for DIYers as it doesn’t require you to solder or glue pieces together. You will need to purchase a PEX crimping tool and cutter if you choose this material. 

Drain lines send wastewater from the sink, bath, and toilet to the home’s main stack, which serves as the central hub where all of your home’s plumbing fixtures send wastewater. During the roughing-in process, you’ll connect each fixture's drain line to the main stack. Drainpipes for the toilet and bath are usually located in the floor, while sink drains typically run through the wall or floor. PVC is the standard material to use for drain lines. 

If you have to run drain lines horizontally to reach the main stack, they must have a minimum fall of 1/8 of an inch per foot to ensure the wastewater doesn’t back up. Check your local codes as they may have different minimum fall requirements. 

With all of these factors in mind, below is a breakdown of how to rough-in plumbing for toilets, sinks, and baths.

Toilet

Plumber installing new toilet drain line
Photo: Ladanifer / Adobe Stock

Start by choosing a location for the toilet in the bathroom. Make sure it has a buffer of at least 15 inches between it and any walls or other bathroom fixtures and a minimum of 21 inches of clearance in front of the bowl. 

To rough-in the toilet, locate and cut the toilet drain on the floor of the bathroom. The center of the toilet’s drain hole should measure 12 1/2 inches from the bare wall studs (12 inches if you’re measuring from drywall), so the tank fits flush against the wall. While 12 1/2 inches is the standard measurement for most toilets, you’ll want to double-check the rough-in measurement for the toilet you’ve selected before measuring and cutting. You’ll find this information in the toilet specs. 

Use a tape measure to mark the location of the drain hole on the bathroom subflooring, then use a 4 1/2-inch hole saw and a cordless drill to make the toilet drain hole in the subfloor. Next, install the toilet supply line, which is responsible for filling the tank after each flush. The line should enter the bathroom 8 1/4 inches above the floor and 6 inches to the side of the toilet’s centerline (the line that runs from the wall to the middle of the toilet drain).

Sink

Plumber installing water supply lines under the sink
Photo: Vladdeep / iStock / Getty Images Plus / Getty Images

How you rough-in the sink will vary depending on the home’s plumbing. Generally speaking, the drain for the sink should enter the room 16 to 20 inches above the floor. However, there are some cases where it may make sense to have the sink drainpipe come up through the floor. Choose the drain installation that best works with the sink style and allows you to connect to the main stack. 

You’ll need water supply lines for both the hot water and cold water lines. These lines should enter the bathroom 4 inches to the right and 4 inches to the left of the center of the sink drain, at least 2 to 3 inches above the drain line. As with the drain, it may make more sense to run these supply lines through the floor in some cases. Run the lines in a manner that makes sense for the style of the sink and the location of the home’s main hot and cold water lines. 

Bath

drainpipe connected to the bathtub
Photo: Vadym / Adobe Stock

To rough-in a bath, start by locating and cutting the tub drain. The hole for the tub drainpipe should be 10 to 14 inches from the wall framing on-center with the tub drain. Check the tub manufacturer’s instructions for specific measurements, then use a reciprocating saw to cut an access hole in the floor at the drain location. This hole will allow for the installation of the drain line and trap once the tub is in place.

As for the supply line, the two faucet holes should be 20 to 22 inches off the floor and 4 inches off-center (the tub drain) to the left and right. The tub spout should be on-center 4 inches above the rim of the tub, and the showerhead supply should be 80 inches from the floor on-center. 

3. Install the Fixtures

Bright new bathroom with double sink vanity
Photo: Gayrat Tolibov / iStock / Getty Images Plus / Getty Images

Before moving on to the finish plumbing phase, which involves installing the fixtures, you’ll need to have the rough-in approved by a building inspector to make sure it adheres to code. While roughing in the plumbing is usually a job for a plumber, installing the fixtures is something you can handle. 

Depending on the style of fixtures you choose, it may make sense to install drywall before putting in the fixtures. 

Toilet

Plumber installing new toilet in the bathroom
Photo: Ladanifer / Adobe Stock

Begin by installing a 3-inch toilet flange over the hole (if the plumber hasn’t already done this). Next, install the toilet. Lay the toilet on its side and press a new toilet seal over the drain. Put the toilet seal over the flange and bolts and secure it in place using the supplied bolts and a crescent wrench. With the bowl secured, install the tank to the bowl. Attach the tank to the bowl, then connect it to the flexible hose that comes with the toilet. 

Sink

Handyman installing bathroom wall-mount sink
Photo: AndreyPopov / iStock / Getty Images Plus / Getty Images

How you install a bathroom sink will depend on whether it's a pedestal, vanity, or wall-mount style. Follow the manufacturer's instructions to install the sink. Once in place, attach the cold and hot water supply lines to the appropriate connections to the sink faucets. Attach the sink to the drainpipe using a 1 1/2-inch plastic sink J trap. 

Bathtub and Shower 

Man installing bathtub supply lines
Photo: Kurhan / Adobe Stock

Install the bathtub or shower pan over the drain. If you’re installing a bathtub, you’ll need help as these fixtures are typically very heavy. Anchor the tub or drain pan in place using fasteners and a cordless drill per the manufacturer's instructions. Once the tub or drain pan is in place, complete the drain assembly.

Finish up by installing the bathtub or shower surround over the connections for the faucet and spout, then install the new fixtures. 

Tips for Plumbing a Bathroom

When it comes to plumbing a bathroom, the more you know, the better. So, use the following tricks of the trade to make the process of plumbing your bathroom a little bit easier (and safer!).

  • Use flexible drainpipe: Part of what makes rough-in plumbing such a challenge is getting all the pipes to line up so they fit together properly. Consider using flexible pipe, which gives you some wiggle room when fitting your drainpipes.

  • Preassemble your pipe: You won’t have much room to work when installing plumbing inside a wall. Assembling your fittings as much as you can before putting them inside a wall cavity or between joists makes the process easier.

  • Don’t be stingy with tape: Nothing’s worse than springing a leak after roughing in your plumbing or lacking good insulation to keep your pipes from freezing. Use an adequate amount of plumber’s tape when wrapping the threaded ends of a pipe to insulate your pipes and ensure you don’t end up with a leak behind the wall.

  • Wear eye protection: Plumbing a bathroom involves a lot of overhead work and can involve using liquid metal (solder) and plumbing cement that can be a hazard to your eyes. Don’t take unnecessary risks—wear safety glasses when plumbing a bathroom. 

DIY vs. Hiring a Pro 

While it‘s possible to plumb an entire bathroom yourself, at least part of this job really should be left to the pros. Rough-in bathroom plumbing is not easy DIY work. If you don’t properly install the water lines or drainpipes, you could end up with a leak inside your walls, resulting in significant damage. In this case, the risk outweighs the benefits. 

Consider hiring a plumber near you to rough-in plumbing to avoid common plumbing problems, then install the fixtures (a much easier project) yourself to save some money.

Frequently Asked Questions

Pipes are connected in a bathroom by a 3/4-inch to 1-inch line running from your water meter into your home. The line then splits, with the hot water line going to your water heater and the cold water line running into your home. The cold water line leads to the 1/2-inch water supply lines for your home’s toilet, tub, and sink. The hot water line runs from the water heater to all sinks and baths.

It will take between three and five days to complete this project. Plumbing a bathroom is not an easy job. The process of roughing in the plumbing and installing all the fixtures takes a fair amount of time. Take your time and make sure you do the job right or you could end up with costly leaks.

You’ll need two sizes of pipe to plumb a bathroom. You’ll use a 1/2-inch pressure pipe for your supply lines that run from the fixture to the larger 3/4-inch supply lines that run through the house. For drain lines, you’ll need a 3-inch PVC pipe for your toilet, a 2-inch PVC pipe for stand-alone showers, and a 1 1/2-inch pipe for a shower/tub combo and the bathroom sink. Each fixture’s drain will run to the 3-inch main drain that runs through the house.

Yes, and no. Your shower, toilet, and sink all connect to the same main drain, but the secondary drains going from each fixture to the main drain are usually separate. This isn’t always the case—especially in older homes—but since toilets contain black water and showers, tubs, and sinks have grey water, toilets are more regulated and come at a greater risk of contamination. It’s best to keep these drains separate using individual waste collection for this reason.

Yes, you can use the same vent for a toilet and a sink—and even your shower. However, your toilet should always be downstream of all other fixtures. Though sharing a vent is a common installation method, your home might not have enough space for this to happen, so always check with a pro or the building and plumbing codes in your area to avoid finding out after all of your hard work.

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.
Door opened into bathroom with toilet and sink in view
Aug 21, 2024
Aug 21, 2024
Everyone can relate to having toilet issues—we’ve all been there. There are several reasons why your toilet might need repairs, and the cost varies based on the damage.
Man repairing under sink.
Aug 21, 2024
Aug 21, 2024
Plumbing inspection costs depend on the issue you’re looking into and the size of your home. Learn what you can expect to pay.
Plumber fixing bathroom sink pipe
Aug 21, 2024
Aug 21, 2024
From leaky sinks and drippy faucets to water seeping from the bottom of your toilet, this guide will help you budget for bathroom leak repair costs.
Cabin in the forest covered with snow
Sep 30, 2024
Sep 30, 2024
Follow these seven tips to keep your vacation home’s plumbing fully winterized so you can enjoy running water and avoid burst pipes during your next family trip.
running water kitchen sink
Aug 30, 2024
Aug 30, 2024
Clogs can keep drains backed up and build up odors in kitchens and bathrooms. Learn how to use a plumbing snake, a simple solution to clearing clogs.
cozy modern kitchen faucet
Sep 30, 2024
Sep 30, 2024
You can learn how to tell if pipes are frozen by looking for the right clues to tip you off. Here's what you need to know to spot frozen pipes quickly.
Share project details to get started.