A toilet rough-in sets the drain, the vent and the water supply before the walls and floors are finished. Getting the measurements right at this stage prevents expensive changes later. This guide explains the key dimensions and the steps plumbers follow.
The rough-in is the distance from the finished wall to the center of the drain. The common size is 12 inches. Some older homes use 10 or 14, and the toilet you choose must match.
The key measurements
Measure from the finished wall, not the stud. A wall that will have drywall and tile adds thickness, so account for it. The drain center sits at the rough-in distance from that finished surface.
The flange sits on top of the drain pipe and the toilet bolts to it. It should sit on the finished floor so the toilet seats firmly on the wax ring. If the floor is raised later with tile, the flange needs to be set accordingly.
| Item | Typical dimension |
|---|---|
| Drain center from the finished wall | 12 inches is most common |
| Drain pipe size | 3 or 4 inches |
| Water supply height | About 6 inches above the floor, to one side |
| Clearance from the center to a side wall | At least 15 inches under standard codes |
| Clearance in front of the toilet | At least 21 to 24 inches depending on code |
The numbers above are typical, and the exact figures depend on the code that applies to your project. Your plumber and the inspector confirm them for your plan.
Drain, vent and slope
The toilet drain connects to a branch that runs to the main. The pipe must slope toward the main, and it must have a vent so air can enter behind the water. A poorly vented drain gurgles and drains slowly.
The inspector tests the drain before the walls close. A water test fills the pipe to a set height and holds it. An air test pressurizes it. Either way, the joints must not leak.
Water supply and shutoff
The supply for the toilet is a small line with a shutoff valve, called an angle stop, set to one side of the drain. A shutoff valve here lets you work on the toilet without turning off the house water. In new construction, install a quality valve and place it where you can reach it.
While the wall is open, install the lines for the rest of the bath too. A complete plumbing installation covers drain, vent and supply for every fixture in one plan.
Rough-in steps
- Mark the toilet center and confirm the finished wall thickness.
- Run the drain to the main with the correct slope.
- Install the vent and tie it in within code limits.
- Run and stub out the hot and cold lines for the room.
- Pressure test the water lines and test the drain.
- Call for the rough-in inspection before closing the walls.
Coordinating with other trades
The rough-in sits between the framer, the electrician and the drywall crew. Check the framing before the plumber arrives. A stud in the wrong place can force the drain off center, and fixing that after the wall is closed is expensive.
Tell the plumber which toilet you plan to buy. Some wall-hung and compact models have different rough-in needs, and wall-hung units need a carrier inside the wall. That decision has to be made before the walls close.
Keep the inspection date on the schedule. Covering the pipes before the inspector signs off can force you to open the walls again, and that is a delay nobody wants in the middle of a build.
Special cases
Wall-hung toilets need a carrier set into the wall and a wider wall cavity. Compact and corner toilets use different dimensions. Ask for the manufacturer's rough-in sheet before the plumber sets pipe.
Toilets with a pump or a macerator are another option when gravity will not work. They add cost and need power, so they are a last choice rather than a first one.
Checking the work
Before the walls close, look at the drain and the supply stub with a tape measure. Confirm the center of the drain, the height of the supply and the clearance to the side wall.
Take photos of the pipes inside the wall. Years later, when you remodel, those photos show where every line runs.
Yorba Linda: code references
Yorba Linda Municipal Code 15.24 adopts the 2025 California Plumbing Code, which incorporates and amends the 2024 Uniform Plumbing Code. Section 15.24.030 requires a minimum 1 inch building supply and two 3/4 inch hose bibs for single-family homes, so the water supply is part of the plan.
The City of Yorba Linda Building Division at 4845 Casa Loma Avenue handles inspections through its online portal, and its phone is 714-961-7120. Schedule the rough-in inspection before you cover the pipes.
Sources: City of Yorba Linda Municipal Code 15.24, City of Yorba Linda Building Division.
Mistakes to avoid
Common problems
- Measuring from the stud instead of the finished wall.
- Setting the flange below the finished floor.
- Leaving too little space beside or in front of the toilet.
- Skipping the vent or sizing it incorrectly.
- Covering the rough-in before the inspection.
If you buy the toilet before the rough-in, check the rough-in on the box. A 12 inch toilet will not fit a 10 inch rough-in without work. See toilet repair and installation for the finish steps.
For homes near Placentia, our Placentia page lists the same service.
Frequently asked questions
It is the distance from the finished wall to the center of the drain. Twelve inches is the common size.
The flange is centered at the rough-in distance, usually 12 inches from the finished wall.
New drain and vent work normally does. Ask the Building Division at 714-961-7120, and schedule the rough-in inspection before closing the walls.
The toilet drain is typically 3 or 4 inches. Your plumber and the code decide the size for your project.
Municipal Code 15.24.030 requires a 1 inch minimum building supply and two 3/4 inch hose bibs for single-family homes.
For the full set of drain, vent and supply lines, see plumbing installation.
When the toilet is set, toilet repair and installation covers the finish and testing.
For code questions, plumbing work in Yorba Linda follows the California Plumbing Code, which incorporates the Uniform Plumbing Code (UPC), and the city adopts it in Municipal Code 15.24.
Our home base and main service area is Yorba Linda, described on the Yorba Linda Pro Plumbing home page.

