How the bathtub drain actually connects to your sewer line
When you're looking at a rough-in or trying to troubleshoot a slow drain, you need to understand the physical path water takes before it leaves your house. This isn't just about the P-trap under the tub — it's about the entire assembly from the overflow plate down through the wall, into the underground drainage, and eventually to the municipal sewer or septic tank. I've spent more years than I care to admit crawling under houses with a flashlight, tracing drains that were installed wrong, and fixing problems that could have been avoided with a simple diagram.The Ultimate Tub Drain Pipe Diagram Guide Mapping The Path From Bathtub To Sewer
The basic layout starts at the tub body itself. Most standard bathtubs have a drain opening at the bottom and an overflow opening about four to six inches below the rim. These two connections are separate but feed into the same vertical waste line. The overflow is critical — it prevents flooding if someone leaves the water running, and it uses its own pipe that joins the main drain line either at the trap or just below it, depending on your local code. From the tub drain, water travels through the tailpiece, which is the straight section of pipe directly below the strainer basket. This tailpiece drops down to the wye fitting where the overflow line merges in. After that merge point, you hit the P-trap. The P-trap is non-negotiable. It holds a small amount of water that creates a seal, preventing sewer gases from backing up into your bathroom. Without it, you will smell like a sewage plant within days. I once inspected a rental property where the previous tenant had removed the trap "because it clogged" — the odor alone made the place uninhabitable, and the landlord was facing code violations on top of that. Above the P-trap, the pipe turns horizontally and runs through the vanity or floor joists toward the exterior wall. This horizontal run is typically 1.5-inch or 2-inch PVC, depending on local requirements. The key dimension here is slope. Your horizontal drain needs to fall about a quarter inch per foot of run. Too flat, and solids don't move efficiently. Too steep, and the water outruns the solids, leaving them behind to create clogs further down the line. I've seen contractors install drains that looked fine on paper but had less than an eighth-inch fall over a twelve-foot run — basically flat. Those systems drain slowly and are prone to buildup.
Once the pipe exits the bathroom wall, it either drops vertically through the foundation or continues horizontally underground. In most modern homes, you'll find a 3-inch or 4-inch sanitary tee connecting your bathroom branch to the main house drain. This main drain carries waste from every fixture in the house — kitchen, other bathrooms, laundry — and routes it outside to the city connection or septic tank. The transition from 1.5 or 2 inches to 3 or 4 inches is where the diagram gets important. You need a proper reducing wye or sanitary tee, not just a random coupling, because you're dealing with significantly higher flow volumes at this point.
Reading and building the diagram
If you're working from plans or trying to visualize an existing installation, the simplest approach is a vertical cross-section sketch. Draw the bathtub at the top, show the overflow and drain openings, trace the tailpiece down to the trap, then follow the horizontal run through the wall. Mark the pipe sizes at each segment. Mark the slope direction. Mark where the branch connects to the main. This takes about five minutes and reveals problems that are invisible when you're just thinking about it. For new installations, I recommend using a scale diagram tool or even just graph paper. The standard symbols are straightforward: a squiggly line for the P-trap, a T-shape for tees, a Y-shape for wyes, and a circle with a cross for cleanouts. What people miss is labeling the slope. Every horizontal segment should have an arrow pointing toward the main drain with the fall rate noted. If you're running pipe through joist bays, also note whether the pipe is drilling through the side of the joist (preferred) or cutting the bottom edge (not recommended, weakens the joist). I found a house once where someone had notched through the bottom of floor joists along an entire wall to run drain line. That weakened the structure enough that we had to sister new lumber alongside the damaged joists before we could even finish the plumbing work. Here's something most diagrams don't show clearly: the vent system. Every drain needs a vent, and the vent is what allows the P-trap to do its job. Without proper venting, water draining from upstairs fixtures can siphon the water out of your tub trap. You'll know this happened because you'll hear a glug-glug sound from the drain and then notice the sewer smell. The vent pipe typically runs up through the wall, through the attic, and out through the roof. It connects to the drain line either upstream or downstream of the trap depending on the configuration, but the critical point is that the vent must be within the required distance from the trap — usually five feet for a 1.5-inch line and seven feet for a 2-inch line, according to most plumbing codes. If the vent is too far away, the trap can vacuum out during a heavy drain event.
Get the Full Details

Common pitfalls and what to do instead
The most frequent mistake I see is using the wrong type of fitting at the junction between the overflow and the main drain. Some DIYers use a standard tee, which creates a sharp 90-degree turn that catches hair and soap scum. A wye fitting with a 45-degree angle is dramatically better for flow. I had a customer call me out to a bathroom that had constant slow drainage despite being only two years old. The builder had used tees everywhere. Once I replaced those with wyes and added a cleanout access point, the flow improved immediately. The same goes for the connection at the P-trap — make sure you're using a proper trap adapter, not just pushing two pieces of pipe together and hoping for the best. Another issue is the horizontal run length before the vertical drop. Most codes limit the distance you can run horizontally before you need a vent or a cleanout. If your tub is on an exterior wall, the run might be only a few feet. If it's in an interior bathroom with plumbing stacked against another wall, that horizontal run could be twenty feet or more. Long horizontal runs without adequate slope or venting are a recipe for standing water and recurring clogs. The fix is usually to add a cleanout tee at a strategic point or to re-route the pipe with more fall. You also need to think about access. Every drain line should have a cleanout — a cappedtee or straight section with a removable cap — so you can run a snake or inspection camera through it without taking fixtures apart. I always leave a cleanout at the transition from horizontal to vertical, and another one every thirty feet or so on long runs. For a tub drain, this is often right where the pipe exits the wall. A quarter-inch copper cleanout stub with a threaded cap costs about two dollars and can save you three hundred dollars in plumbing callout fees when the line eventually clogs.
Special cases and edge conditions
Older homes with cast iron pipe present a different set of challenges. Cast iron drains develop internal corrosion and buildup over decades, and the smooth interior you get with modern PVC simply doesn't exist. If you're working with an old cast iron stack, the inside diameter might be closer to one inch than the nominal two inches because of scale buildup. This dramatically reduces flow capacity. I worked on a 1920s bungalow where the original cast iron bathtub drain was essentially a narrow tunnel. No amount of snaking cleared it permanently because the buildup was on the pipe walls themselves, not just a clog in one spot. We ended up lining the pipe with a flexible epoxy coating that restored the effective diameter without replacing the entire run. Mobile homes and manufactured housing often have unique drain configurations because the plumbing is designed for compact spaces and transport. The tub drain might route through the floor deck directly, with the P-trap underneath on the skirting side. These installations sometimes use flexible drain assemblies that are easier to route around framing but are more prone to kinking and improper connections. If you're diagnosing a slow drain in a mobile home, check the flexible sections first — they often have internal ridges that catch debris more aggressively than smooth PVC. When the tub is on an upper floor and the drain needs to drop through multiple stories to reach the main line, venting becomes even more critical. Each floor transition is a potential siphon point. I've seen multi-story setups where the vent was tied in too high, above the upper-floor fixture connection, which meant the lower fixtures had no vent protection. The fix was to add a vent stack that extended all the way up and connected below all the fixture branch points. Without that, every time someone flushed a toilet on an upper floor, the tub trap below could get siphoned dry.
Material considerations
PVC is the standard for new installations. It's cheap, easy to cut and glue, and resistant to the chemical degradation that affects metal pipes. ABS is also common in some regions and works similarly but can become brittle in cold temperatures and isn't acceptable everywhere. For repairs to existing metal systems, you'll sometimes need to transition between materials using specific adapters. Don't just try to solvent-weld PVC to cast iron — that won't hold. Use a rubber compression coupling designed for that purpose, or replace the section entirely with PVC if the code allows it in your area. The drain stopper mechanism itself matters more than most people realize. A poorly designed pop-up stopper with a fragile linkage inside the tailpiece is going to fail or create a snag point for hair. I prefer installations where the stopper operates independently of the drain flow path, or where the linkage is enclosed in a smooth sleeve that doesn't catch debris. The trade-off is cost — quality drain assemblies run twenty to forty dollars versus ten dollars for the builder-grade versions. For a bathroom you use daily, the extra investment pays for itself in reduced maintenance calls.

Inspecting an existing installation
If you're trying to figure out how your current drain is plumbed, start with what you can see. Remove the drain cover and look at the strainer basket. Check the overflow plate — is there a hole in it, or is it sealed? A sealed overflow means the overflow pipe isn't connected properly, which is a code violation and a safety issue. Then trace the pipe visually if you have access to the space below the tub, whether that's a basement, crawlspace, or adjacent closet. Look for the P-trap shape, note the pipe sizes, and identify the fittings. If you can't see anything, a small inspection camera on a flexible shaft will let you look through the drain opening from below. These cameras cost around fifty dollars to rent or two hundred to buy, and they reveal everything: wrong fittings, missing traps, illegal combinations of drain and vent, the whole picture. Checking the diagram against what's actually installed is where most problems surface. The plan might show a 2-inch line with a wye connection, but the actual work used a 1.5-inch line with a tee. The plan shows a vent within five feet, but the vent connects twelve feet away. None of this is visible from the bathroom itself. You have to go under the house or cut into a wall to verify. That's why getting the diagram right during installation saves so much trouble later.
When diagrams don't tell the whole story
Even a perfect diagram has limits. It can't show you the condition of the pipe interior, the exact slope of a run that's hidden behind finished walls, or whether a previous renovation rerouted something without updating the plans. I've pulled diagrams from permitting files and followed them literally, only to find that the actual installation diverged significantly because the plumber took a shortcut or didn't understand the intent. Always verify in person. A five-minute visual inspection of the exposed piping will catch issues that a diagram can't reveal. The main drain line itself, after it leaves your house, is a separate concern. Once the pipe exits the foundation and runs to the city sewer tap or septic tank, you're dealing with underground drainage that requires different considerations — frost depth, soil conditions, root intrusion, proper bedding material. But that's outside the scope of the bathtub-to-sewer path inside the walls. For that internal portion, a clear diagram combined with careful installation and accessible cleanouts is about as good as it gets. Anything more is just overthinking a system that fundamentally relies on gravity and a water seal to work reliably.