If your bathroom’s fixtures are dated, your pipes are corroding, or leaks keep returning like clockwork, it might be time for a full plumbing refresh. This comprehensive guide shows you how to rework a bathroom’s supply and drain systems the smart way—from planning and permits to step-by-step installation and leak testing. You’ll get a clear pathway to upgrade performance, increase reliability, and future-proof your space with modern materials, all while keeping home safety and building codes front and center.
Why Rework a Bathroom’s Plumbing?
Bathroom plumbing lives a hard life. Hot and cold cycles, mineral buildup, soap scum, and high daily use add up. Over time, older galvanized lines clog with scale, copper can pit and pinhole, rubber washers fail, and poorly-vented drains gurgle. Beyond function, the right upgrade can support water-saving fixtures, improve pressure balance in showers, and protect your home from costly hidden leaks. Whether you’re renovating for aesthetics, dry-rot prevention, or resale value, a thoughtful plumbing overhaul can dramatically improve everyday comfort.
Key Outcomes You Can Expect
- Cleaner water and steadier pressure thanks to new supply lines and shut-off valves.
- Faster, quieter draining via a properly sized and vented DWV (drain-waste-vent) network.
- Lower risk of leaks using modern fittings (compression, push-to-connect) or well-soldered copper, plus correct supports.
- Code compliance for venting, slope, and fixture rough-ins, reducing inspection issues.
- Future serviceability with access panels, manifold layouts, and labeled valves.
Understand the System: Supply vs. DWV
Your bathroom has two distinct networks:
- Supply lines deliver potable water under pressure to the sink, shower/bath, and toilet. Common materials include PEX, copper, and CPVC. Key components: main shut-off, branch shut-offs, angle stops, mixing valves, and flexible supply connectors.
- DWV carries wastewater and air. Pipes rely on gravity, slope, and venting, typically using PVC or ABS. Key components: traps, trap arms, sanitary tees, wyes, cleanouts, and a vent stack.
Knowing these systems and how they interact is essential before you start. A supply leak is pressurized and can flood quickly; a DWV error can smell, gurgle, or backflow. Design, material choice, and workmanship all matter.
Permits, Codes, and Inspections
Before any demolition, check with your local building department about permits and inspections. Many jurisdictions require a permit for rerouting pipes, moving fixtures, or replacing a shower mixing valve. Inspections commonly include rough-in (before walls close) and final. Key code themes:
- Venting: Every trap needs venting within prescribed distances (trap arm length limits vary by pipe size and code).
- Drain slope: Typical slope is 1/4 in. per foot (2%) for 2 in. and smaller lines; confirm local rules.
- Pipe sizing: Shower drains commonly 2 in., lavatory drains often 1-1/4 or 1-1/2 in., and water lines sized for demand.
- Fixture clearances and heights: Rough-ins for toilet, lav, and tub/shower valves must meet code and manufacturer specs.
- Materials and transitions: Approved transition fittings (e.g., dielectric unions for copper-to-steel) are often required.
Tip: Build an inspection checklist and photograph each phase. It helps with approvals, warranties, and future troubleshooting.
Safety Essentials
- Shut off water at the main and open a lower-level faucet to relieve pressure before cutting any line.
- Cap live lines and verify no pressure before working. A simple pressure gauge on a hose bibb helps confirm.
- Electrical and flame safety: If soldering, protect studs with heat shields, keep a fire extinguisher nearby, and verify no wires or insulation are exposed to flame.
- PPE: Eye protection, gloves, and hearing protection when drilling through studs or cutting pipe.
- Ventilation: If gluing PVC with solvent cement, ensure good airflow.
Planning Your Layout
Successful re-plumbing starts on paper. Map your existing lines, measure the space, and decide whether fixtures move or stay. Moving a toilet, for instance, can mean reworking the closet bend, branch drain, and vent tie-in.
- Keep it compact: Shorter runs cut costs and leak risk.
- Center the vanity drain and supplies for neat, symmetrical connections.
- Leverage existing vents if possible to minimize roof work.
- Plan access panels behind tub/shower valves and in tight chase spaces.
Draft a scale diagram marking stud bays, joists, existing drains and vents, and where new pipes will pass through. Note the following rough-in targets (always verify with local code and manufacturer instructions):
- Lavatory (sink): Drain center about 18 in. above finished floor (AFF), hot/cold stub-outs about 21–24 in. AFF, 4–6 in. left/right of centerline.
- Toilet: Closet flange centered 12 in. from finished wall to center of flange (standard 12 in. rough), 15 in. minimum side clearance from centerline.
- Shower valve: 38–48 in. AFF for controls; shower head roughly 78–84 in. AFF; tub spout 4–6 in. above tub rim.
Choosing Materials and Fittings
Supply Lines: PEX, Copper, or CPVC?
Each material has trade-offs. Select based on skillset, budget, local code acceptance, and water chemistry.
- PEX (cross-linked polyethylene): Flexible, fewer fittings, fast to install, freeze-tolerant. Use crimp, clamp, or expansion systems per manufacturer. Great for manifolds and retrofits. Shield from UV and protect against nails with plates.
- Copper (Type L or M): Long lifespan, excellent at heat dissipation, but requires proper soldering (“sweating”) technique. Sensitive to aggressive water chemistry; consider dielectric unions for transitions.
- CPVC: Affordable, solvent-welded, less flexible than PEX. Follow temperature/pressure ratings precisely and use the correct cement.
Fittings to consider: angle stops, ball valves, tees, elbows, drop-ear ells, and push-to-connect connectors for tight repairs. Compression fittings are common at fixture shut-offs; push-to-connect can be handy for temporary caps during pressure testing.
DWV: PVC or ABS
Both are common and code-approved in many regions. Stick with one type or use an approved transition coupling when necessary. For solvent welding:
- PVC: Typically requires purple primer and appropriate solvent cement.
- ABS: One-step cement (no primer) in many jurisdictions; verify locally.
DWV best practices include using long-sweep fittings for horizontal drains, proper vent placement, and accessible cleanouts. Always maintain slope and support pipes at code-mandated intervals.
Tools and Supplies Checklist
- General: Tape measure, level, stud finder, marker, drill/driver, hole saws, reciprocating saw with pipe blades, oscillating tool, utility knife.
- PEX: Crimp/clamp/expansion tool set, appropriate rings, PEX cutter, manifold (optional).
- Copper: Tubing cutter, emery cloth, flux, lead-free solder, torch, heat shield, fire extinguisher.
- CPVC/PVC/ABS: Pipe cutter, primer (as required), solvent cement, deburring tool.
- Valves and fittings: Ball valves, angle stops, drop-ear ells, tees, elbows, couplings, dielectric unions.
- Fixtures and connections: Flexible supply lines, toilet flange, closet bolts, wax ring or waxless seal, trap kit, escutcheons.
- Testing and finishing: Pressure gauge, test plugs, inflatable test balls, PTFE tape, pipe dope (as needed), pipe straps, nail plates, firestop.
How to replace bathroom plumbing: A Step-by-Step Overview
Every home is different, but the process generally follows a repeatable rhythm. Here’s the big picture, with deeper dives in the sections that follow.
- Shut down and prep: Turn off the main, drain lines, protect floors, and open walls.
- Document: Photograph existing routes and label lines before removal.
- Remove fixtures and old piping: Detach supply connectors, traps, and sections you’re replacing.
- Rough-in new supply: Run hot/cold branches, secure, and cap for testing.
- Rough-in DWV: Set traps, drains, vents, and cleanouts with correct slope and fittings.
- Test: Pressure test supplies; water or air test DWV as permitted.
- Insulate and close: Add soundproofing/insulation, install nail plates, firestop, and close walls after inspection.
- Set fixtures and final connections: Install valves, trim, traps, and perform a final leak check.
Demolition and Site Prep
Good prep prevents damage and dust from taking over the house:
- Shut off water at the main; open a lower faucet to relieve pressure; then close.
- Cap lines you detach so accidental bumps don’t spray water if the main is turned on for another part of the house.
- Protect finishes: Use drop cloths and cardboard over tile or tub surfaces.
- Open walls thoughtfully: Cut clean rectangles between studs so drywall repair is simpler. Photograph everything.
Remove the vanity, toilet, and any shower trim. For a tub/shower, remove the escutcheons and shower arm to expose the mixing valve and riser. Detach old traps and supply connectors at angle stops. If angle stops are crusted or stuck, you may replace the entire stop at the stub-out or cut back to clean pipe and rebuild.
Removing Old Supply Lines
With water safely off and lines depressurized:
- Disconnect flexible connectors from angle stops at the sink and toilet.
- Cut or unsweat copper as needed, being careful near studs and insulation.
- Remove corroded valves and replace with new quarter-turn ball valves for reliability.
- Label hot and cold routes as you go so rough-in is intuitive later.
If reusing some copper, clean cut ends with a tubing cutter and deburr. For PEX transitions, consider a push-to-connect or threaded adapter with PTFE tape where appropriate. Where copper meets steel, use dielectric unions.
Removing and Rethinking the DWV
DWV changes tend to be more structural. Confirm vent locations before cutting anything:
- Identify trap arms and vent ties to avoid orphaning a fixture without a vent.
- Cut carefully to preserve reusable sections and reference points.
- Plan new cleanouts at accessible spots, especially for the shower and main branch.
- Verify slope opportunities given joist direction. Consider notching and boring limits per structural code.
Replace brittle or undersized piping. In many remodels, upgrading a 1-1/2 in. shower drain to 2 in. improves flow and compliance with current codes and modern shower heads or linear drains.
Rough-In: Supply
Layout and Support
Run hot lines on the left, cold on the right. Keep lines 1–1.5 in. from stud faces; add nail plates where lines pass near drywall screw zones. Avoid tight bends in PEX; use elbows where radius limits are exceeded. Strap pipes per code (e.g., every 32–48 in. for PEX with inserts; closer for copper).
Valves and Manifolds
Consider a home-run manifold for each bathroom: one dedicated line per fixture from a central manifold. It simplifies shut-offs and helps balance pressure. Otherwise, tee off a main trunk. Use full-port ball valves for branch shut-offs so you can service a faucet without killing the house water.
Mixing Valve and Drop-Ear Ells
For a shower/tub, install the mixing valve per manufacturer’s depth gauge with a blocking board behind it for stability. Set a drop-ear 90 at the shower arm height and at the tub spout if applicable. Ensure straight, plumb runs to avoid crooked trim later.
Stubbing Out
At the vanity, set hot/cold stub-outs and a centered drain. For toilets, cap the 3/8 in. or 1/2 in. supply line emerging from the wall or floor. Keep stub-outs long enough to trim clean after tile. Install temporary caps and label everything for testing.
Rough-In: DWV
Traps and Trap Arms
Each fixture needs a P-trap (no S-traps). Keep the trap arm within allowed distance to the vent—this prevents siphoning and gurgling. For lavatories, 1-1/4 or 1-1/2 in. is common; showers and tubs typically 2 in. traps for better flow and code compliance.
Fittings and Flow
- Use wyes and 45s for directional changes in drains; sanitary tees are for vertical-to-horizontal transitions (not horizontal-to-horizontal).
- Long-sweep 90s help maintain velocity on horizontal runs.
- Vent connections should rise vertically or at least at 45 degrees above the horizontal centerline.
Dry-fit your DWV runs first. Mark pipe and fitting alignment with a marker so solvent welding is precise. Clean, prime (for PVC), cement, twist 1/4 turn, and hold for a few seconds so the joint doesn’t push apart.
Cleanouts and Access
Place cleanouts at direction changes or as required by code, and make sure they are accessible after the walls and finishes are installed. A lavatory often doubles as a cleanout if properly configured, but adding a dedicated cleanout in concealed runs is good practice.
Leak Testing and Verification
Pressure Test: Supply
With all supply lines capped, pressurize to the test level allowed by your jurisdiction (often 60–100 psi) and monitor with a gauge for at least 15–30 minutes, longer if practical. Look for any drop in pressure. Only pass if the needle doesn’t move.
DWV Test
Follow your jurisdiction: some allow a water test (stack filled to a designated level), others allow air tests at low pressure (e.g., 5 psi). Use approved test balls or plugs, and observe safety—compressed air can be dangerous if misused. Check all joints for weeping or drips under a water test.
Insulation, Sound, and Firestopping
Bathroom walls benefit from sound attenuation. Insulate around drains and between studs to reduce pipe noise. Where pipes penetrate framing between fire-rated assemblies, apply proper firestop sealant or collars as required. Add nail plates at stud faces in front of pipes.
Closing Walls and Surface Prep
After you pass rough-in inspections, close the walls with moisture-resistant backer where tile will be installed. For showers, follow a robust waterproofing system: sheet membranes or liquid-applied barriers over cement board (not over standard drywall in wet zones). Keep penetrations minimal and well-sealed.
Setting Fixtures and Final Connections
Toilet
- Flange height: The toilet flange should sit on top of finished floor, with the flange ring flush to tile surface.
- Seal: Use a wax ring or a waxless seal, align bolts, and compress evenly. Avoid rocking; shim if necessary.
- Supply: Connect the angle stop to the fill valve with a braided line; snug but don’t overtighten.
Vanity and Lavatory
- Faucet first: Mount the faucet and drain assembly to the sink before setting it in place when possible.
- Trap: Install the P-trap, align to the wall stub, and hand-tighten slip nuts, then snug a little more.
- Supplies: Attach hot/cold braided lines from angle stops to the faucet; verify no kinks.
Tub/Shower
- Trim and alignment: Install the shower arm, escutcheons, and valve trim per spec; ensure the mixing valve rotates smoothly and the hot side is on the left.
- Tub spout: Use the manufacturer’s specified length from valve to spout to avoid shower head “crossover” flow when filling the tub.
- Drain test: Fill the tub and let it drain; watch for leaks at the waste-and-overflow and trap.
Commissioning: Final Leak Checks and Balancing
Turn on the main slowly. Purge air by opening the highest faucet first and working down. Check each new valve, connector, and joint with a dry paper towel to spot any weeping. Test hot/cold balance at the shower; adjust the scald guard limit per the valve’s instructions. Flush the toilet and run water at the vanity while the shower drains to check for cross-influences and proper venting (no gurgles).
Cost, Timeline, and DIY vs. Pro
Budgets vary widely with scope and finishes, but here are ballpark ranges for a bathroom plumbing rework:
- Materials: $300–$1,500 (PEX or CPVC is often cheaper than copper; add cost for valves, trim, and specialty fittings).
- Fixtures: $400–$3,000+ depending on quality and design.
- Labor (if hiring): $1,500–$7,000+ depending on region, complexity, and inspection requirements.
Timeline for a dedicated DIYer: 3–7 days for rough-in (including demo, layout, and testing) plus inspection time; another 2–5 days for finishes and fixture set, depending on tile and waterproofing. If your scope involves moving a toilet or slab penetrations, build in extra time and cost.
Common Mistakes to Avoid
- Skipping permits and inspections: Can lead to costly rework or insurance issues.
- Improper venting: Causes slow drains and odors. Always verify trap arm limits and vent tie-in rules.
- Incorrect slope: Too little causes standing water; too much can leave solids behind.
- Overtightening connectors: Can crack valves or deform washers. Snug plus a small turn is usually enough.
- Mixing dissimilar metals without proper transition fittings, leading to galvanic corrosion.
- Burying push-to-connect fittings inside walls where they’re not allowed; check code and manufacturer guidance.
Upgrades Worth Considering
- Low-flow fixtures and WaterSense toilets to cut bills and improve sustainability.
- Recirculating pump for near-instant hot water, with timers or smart controls to save energy.
- Manifold systems with labeled shut-offs for every fixture.
- Hammer arrestors near quick-closing valves (dishwashers, if adjacent) to reduce water hammer.
- Access panels behind shower valves for easy future service.
Troubleshooting After the Remodel
- Gurgling drains: Likely venting issue or partial blockage. Check vent tie-ins and cleanouts.
- Slow sink drain: Verify trap alignment and ensure no construction debris remains in the trap arm.
- Temperature swings in shower: Recalibrate the mixing valve anti-scald limit or consider a pressure-balancing/thermostatic valve.
- Low pressure at a single fixture: Check the angle stop, aerator, or debris in flexible connectors.
- Intermittent toilet fill: Inspect the fill valve, flapper seal, and supply connector for leaks or kinks.
Skill Notes: Soldering, Compression, and Push-to-Connect
Soldering Copper
Cut square, deburr, and clean mating surfaces with emery cloth. Apply flux lightly, assemble, then heat the fitting (not the solder) until the solder wicks in. Remove heat and wipe excess. Practice on scraps first, and use a heat shield to protect studs and finishes.
Compression Fittings
Great at angle stops and under-sink connections. Slide the nut and ferrule on, seat the pipe fully, then tighten the nut. Avoid over-torquing—snug plus a quarter-turn is often enough. Check for leaks and retighten gently if needed.
Push-to-Connect
Fast and DIY-friendly for repairs or temporary caps. Cut square, deburr, mark insertion depth, and push firmly until seated. Confirm code allowances for concealed locations; some require access panels or disallow them behind walls.
Shut-Off Strategy and Labeling
Install dependable quarter-turn ball valves at key points. Label valves at the manifold or branch so family members know how to isolate a leak. In multi-bath homes, consider labeling by room and fixture for quick emergency response.
Water Quality and Longevity
Hard water and aggressive chemistry can shorten component life. Consider a whole-house filter or softener (if appropriate), and replace aerators and rubber components periodically. Choose lead-free, high-quality valves and connectors for better performance and safety.
Disposal and Environmental Considerations
Recycle copper and brass scraps; keep solvent cements and primers capped and dispose of according to local hazardous waste rules. Select low-VOC primers and cements where available and ensure good ventilation during use.
Putting It All Together
Learning how to replace bathroom plumbing is less about memorizing every fitting and more about grasping core principles: pressure vs. gravity, slope and venting, code clearances, and careful sequencing. Plan the work, mock up critical connections, and test diligently. If you’re unsure about a complex reroute or a venting question, consult your local code officials or a licensed plumber for a quick sanity check.
Step-by-Step Example: Vanity, Toilet, and Shower
1) Vanity
- Supply: Run 1/2 in. hot and cold to drop-ear ells or stub-outs at 21–24 in. AFF, centered on the vanity. Cap for pressure test.
- Drain: Install a 1-1/2 in. trap and trap arm into a sanitary tee on the vertical drain with a vent rising above. Keep the trap close to the sink tailpiece.
- Final: After tile, cut stub-outs square, install angle stops (compression), connect braided lines, and set the P-trap.
2) Toilet
- DWV: Set a 3 or 4 in. closet bend with the proper slope to the branch drain; vent per code.
- Flange: After flooring, anchor the toilet flange on top of the finished surface.
- Supply: Bring a 3/8 or 1/2 in. cold supply at the left or right of the toilet per plan; add an angle stop.
3) Shower/Tub
- Drain: Use a 2 in. trap; set the drain body and keep a clean, plumb riser to your chosen strainer or linear drain.
- Valve: Install the mixing valve at the correct depth and height; run riser to a drop-ear 90 for the shower arm and a straight, correctly sized tub spout drop if present.
- Venting: Confirm vent proximity to the trap arm, and tie-in at approved heights.
Maintenance After Replacement
- Annual checks: Inspect under-sink valves, toilet supply, and shower trim for weeps. Replace washers and cartridges as needed.
- Aerators and traps: Clean aerators quarterly; remove hair and soap buildup from traps and strainers.
- Water heater settings: Keep at safe temperatures (typically around 120°F/49°C) to protect cartridges and reduce scald risk.
Final Word
When you approach a bathroom re-plumb with a professional mindset—clear plans, code knowledge, material savvy, and thorough testing—you’ll end up with a quieter, cleaner, more reliable room. If your goal was to figure out how to replace bathroom plumbing without the headaches, the steps above give you a roadmap: shut down safely, remove methodically, rough-in cleanly, test rigorously, and finish with care. With patience and attention to detail, you’ll refresh the flow and enjoy the results every day.
FAQ: Quick Hits
- Do I need a permit? Often yes if you reroute, move fixtures, or replace valves behind walls. Call your building department.
- PEX vs. copper? PEX is flexible and fast; copper is time-tested and robust. Both can be excellent if installed correctly and allowed by code.
- How long does it take? A focused weekend for a small refresh; a week or more for full gut-and-replumb with inspections.
- Can I reuse old traps or valves? Better to replace while walls are open. New valves and traps are inexpensive insurance.
- What about leaks later? Keep access where feasible, label shut-offs, and perform annual spot checks.
Keyword Integration Note
Throughout this guide, we naturally addressed “how to replace bathroom plumbing,” including supply lines, DWV venting, rough-in dimensions, mixing valves, shut-off strategies, soldering vs. push-to-connect fittings, and inspection-readiness—so you have a complete, homeowner-friendly plan to execute with confidence.