Bathroom Plumbing Layout: Planning Drain, Supply, and Vent Lines

Updated April 2026 · By the PlumbCalcs Team

A well-planned bathroom plumbing layout ensures reliable drainage, adequate water pressure, proper venting, and code compliance. Poor planning leads to slow drains, gurgling toilets, costly rework, and failed inspections. Whether you are building new, remodeling, or adding a bathroom, understanding how drain, supply, and vent lines work together allows you to design a layout that functions flawlessly and meets plumbing codes without expensive revisions during construction.

Drain Waste and Vent System Basics

Every plumbing fixture requires three connections: a supply line bringing clean water, a drain line carrying waste away, and a vent line allowing air to enter the system. The drain and vent lines work as a system called DWV (Drain, Waste, and Vent). Without proper venting, water draining from one fixture creates suction that can siphon the water from nearby traps, allowing sewer gas to enter the home.

Drain lines rely on gravity and must slope downward toward the main drain at 1/4 inch per foot for pipes 3 inches and smaller, and 1/8 inch per foot for 4-inch pipes. Vent lines rise vertically from the drain system and connect to the vent stack that exits through the roof. Each fixture drain must be within a code-specified distance from a vent, known as the critical distance, to function properly.

Pro tip: Plan the bathroom layout with the toilet closest to the main drain stack. The toilet has the largest drain (3 inches minimum) and produces the most waste. Keeping it close to the stack minimizes the chance of drainage problems.

Toilet Rough-In Dimensions

The toilet rough-in is the distance from the finished wall to the center of the toilet drain flange, and it is the most critical measurement in bathroom plumbing layout. The standard rough-in is 12 inches, though 10-inch and 14-inch rough-ins exist in some homes. This measurement must be accurate because toilets are designed for specific rough-in dimensions and cannot be adjusted after installation.

The toilet requires a 3-inch drain line connecting to a 3-inch or 4-inch main drain. Minimum clearance is 15 inches from the center of the toilet to any side wall or fixture, though 18 inches is recommended for comfort. At least 24 inches of clear space should exist in front of the toilet. The supply line typically enters through the wall or floor on the left side of the toilet, 6 inches above the floor.

Pro tip: Measure the rough-in from the finished wall, not the framing. If drywall and tile will add 3/4 inch to the wall, the framing-to-drain distance should be 12-3/4 inches for a standard 12-inch rough-in toilet.

Shower and Bathtub Drain Placement

Shower drains require a minimum 2-inch drain pipe and must include a P-trap below the subfloor. The drain location should be centered in the shower floor for standard square or rectangular showers. Linear drains along one wall are increasingly popular and simplify the floor slope because the entire floor pitches in one direction instead of four.

Bathtub drains connect through a P-trap beneath the tub, typically accessible through an access panel in an adjacent room or closet. The overflow drain connects to the same P-trap assembly. Bathtub and shower combinations use a 1.5-inch drain line as minimum, though 2-inch is preferred and required by some codes. Plan access to the P-trap for future maintenance, as tub traps are the most common source of bathroom drain clogs.

Pro tip: Install a tub or shower drain access panel in the wall behind the fixtures, even if your code does not require one. Accessing a clogged P-trap without an access panel means cutting through the ceiling below, which is far more expensive and disruptive.

Supply Line Sizing and Layout

Bathroom supply lines should be sized to maintain adequate pressure when multiple fixtures operate simultaneously. The main supply to the bathroom should be 3/4-inch pipe, branching to individual fixtures with 1/2-inch lines. This ensures that flushing the toilet does not cause a dramatic pressure drop in the shower, which is the most common complaint in poorly plumbed bathrooms.

Hot and cold supply lines should run parallel, separated by at least 6 inches to prevent heat transfer. In cold climates, supply lines in exterior walls must be insulated or routed through interior walls to prevent freezing. Shut-off valves at each fixture allow individual repairs without turning off water to the entire house. Use quarter-turn ball valves rather than gate valves for reliability.

Pro tip: Run a 3/4-inch supply line directly to the shower mixing valve if possible. Showers are the most flow-sensitive fixture and benefit from the larger supply line, especially in homes where the shower is far from the water heater.

Common Layout Mistakes and Code Violations

The most common bathroom plumbing mistake is inadequate venting. Every fixture trap must be vented within the code-specified critical distance. A toilet must be within 6 feet of a vent for a 3-inch drain. A sink must be within 3.5 feet for a 1.5-inch drain. Exceeding these distances causes the trap to siphon during drainage, allowing sewer gas into the home.

Other frequent mistakes include wrong drain slopes (too steep causes solids to stick as water rushes past, too flat causes slow drainage), S-traps instead of P-traps (S-traps are code violations in most jurisdictions because they self-siphon), and reducing drain size in the direction of flow. Always check your local plumbing code before starting work, as requirements vary between the UPC and IPC adopted in different regions.

Pro tip: Before closing walls, photograph all plumbing with a ruler for reference and save the photos permanently. Knowing the exact location of drain, supply, and vent lines inside walls prevents accidentally drilling or cutting into them during future projects.

Frequently Asked Questions

Can I add a bathroom anywhere in my house?

Technically yes, but practicality depends on access to existing drain, supply, and vent lines. Bathrooms located near existing plumbing stacks are far less expensive to plumb than those on the opposite side of the house. Basement bathrooms may require an ejector pump if the drain is below the main sewer line.

How much does it cost to rough in plumbing for a new bathroom?

Rough-in plumbing for a new bathroom costs $2,000 to $6,000 for a standard layout near existing plumbing, and $4,000 to $12,000 for bathrooms that require running new drain and supply lines significant distances. A half-bath (sink and toilet only) costs less than a full bath with shower or tub.

What size drain pipe does a shower need?

A standard shower requires a minimum 2-inch drain pipe. Some codes allow 1.5-inch for showers with low-flow heads. A shower-tub combination typically uses a 2-inch drain. The 2-inch standard provides better drainage and is less prone to clogging.

Why does my toilet gurgle when the shower drains?

Gurgling indicates a venting problem. When the shower drains, it creates negative pressure in the drain system. Without adequate venting, this pressure pulls air through the toilet trap, causing the gurgling sound. The solution is adding or improving the vent connection for the shower drain.

Can I use PEX for bathroom plumbing?

Yes. PEX is approved for potable water supply lines in all major plumbing codes. It is flexible, resists freezing better than copper, and installs faster with fewer fittings. PEX cannot be used for drain or vent lines. Always use the correct type: PEX-A or PEX-B for supply lines, PVC or ABS for DWV.