How to Prepare a Bathroom Subfloor for Toilet Installation
Short answer: A toilet needs a flat, clean, and stable subfloor beneath it. Remove the old toilet and wax ring, scrape away debris and old caulk, then inspect the floor for soft spots or uneven areas. Patch holes and low spots with a suitable patching compound, sand or grind high spots, and vacuum the area thoroughly. Check that the flange is at the correct height relative to the finished floor. Leveling and cleaning the subfloor before you set the new toilet prevents rocking, base leaks, and premature wax ring failure.
Why subfloor preparation matters
A toilet is one of the few fixtures in a home that is held down only by two or more bolts and its own weight. The porcelain base sits directly on the finished floor, which in turn rests on the subfloor. If the subfloor is uneven, soft, or dirty, the toilet base will not sit flat. That gap invites rocking, which loosens the bolts over time and breaks the seal of the wax ring or rubber gasket.
A rocking toilet also puts stress on the closet flange and the drain pipe below. Over months, that stress can crack the flange or deform the pipe, turning a simple repair into a plumbing project. Proper preparation of the subfloor is not an optional extra. It is the step that determines whether the new toilet stays stable for years or starts leaking after a few months.
If you are replacing a toilet in an older home, the subfloor may have been cut, patched, or exposed to moisture from a previous leak. If you are installing a toilet in new construction, the subfloor may have glue, paint drips, or sawdust left by the framers. Both situations call for the same basic treatment: clean, level, patch, and confirm the flange height.
For context on what the finished toilet should look like and how it performs, see our overview of one-piece vs. two-piece toilets or jump straight to the best one-piece toilets and best two-piece toilets buying guides once the floor is ready.
What you need before you start
Before you begin, gather the tools and materials you will need for the prep work. The list is short, but having everything on hand avoids trips to the hardware store halfway through.
You will need: a putty knife or scraper for old wax and caulk, a shop vacuum with a crevice tool, a straightedge or level (at least as long as the toilet base footprint), a pencil for marking low spots, a patching compound or floor leveler suitable for your subfloor type, a trowel for spreading the compound, sandpaper or a sanding block for smoothing high spots, and a rag with a mild cleaner for the final wipe-down.
If the subfloor is plywood or OSB, check for any soft or spongy areas by pressing on the surface with a screwdriver or your foot. A soft spot means the wood has water damage or rot, and no amount of patching will fix it. The affected section needs to be cut out and replaced with new plywood of the same thickness. This is a structural repair, not a cosmetic one. If the subfloor is concrete, look for cracks or spalling. Small cracks can be filled with a concrete patching compound; larger cracks or heaving may require a more involved repair.
For a complete list of what to do after the floor is ready, including how to set the wax ring and tighten the bolts, see how to install a toilet.
Step 1: Remove the old toilet
To prepare the subfloor, you first need access to it. That means removing the old toilet completely. Shut off the water at the shut-off valve, flush to empty the tank, then disconnect the supply line. Remove the caps on the floor bolts, unscrew the nuts, and lift the toilet straight up. Set it aside on a drop cloth.
Once the toilet is out, scrape away the old wax ring, if one was used, and any caulk that sealed the base. The wax will be soft and sticky. A stiff putty knife works well. Be careful not to scratch the subfloor deeper than necessary. You only need to remove the residue, not gouge the wood.
If the toilet was set on a rubber gasket instead of wax, the gasket may come off with the toilet or stay in the flange. Remove it and discard it. Reusing either a wax ring or a rubber gasket after the toilet has been lifted is not recommended. The seal is compromised once the compression is released.
For a detailed walkthrough of lifting the toilet safely and handling the old wax, read how to remove a toilet.
Step 2: Clean and inspect the exposed subfloor
With the toilet out of the way, you now have a clear view of the subfloor around the flange. Use a shop vacuum to remove dust, wood chips, old wax crumbs, and any debris that fell behind the toilet. Then wipe the area with a clean cloth and a mild cleaner to remove grease or soap film.
Inspect the subfloor for water stains, dark spots, or a musty odor. These are signs of a past or ongoing leak. If the wood feels soft or crumbles when you press it with a screwdriver, it needs to be replaced. If the surface is stained but still firm, you can proceed with patching.
Inspect the closet flange while you are there. The flange is the plastic or metal ring that the toilet bolts into. It should sit on top of the finished floor, not recessed below it. If the flange is broken or too low, you may need to repair it or add a flange extender. The flange condition is just as important as the subfloor itself, because the toilet seals against the flange, not the floor. See toilet flange basics for a full explanation.
Step 3: Level and flatten the subfloor
Place a straightedge across the area where the toilet base will sit, which is roughly the footprint of the bowl plus a few inches in every direction. Slide a feeler gauge or just look for gaps under the straightedge. If you see daylight under the middle, the floor has a dip. If the straightedge rocks, the floor has a high spot.
A small dip, less than about a quarter of an inch, can be filled with a patching compound or a self-leveling floor patch. Mix the compound according to the manufacturer's directions, trowel it into the low area, and strike it off with the straightedge so it is flush with the surrounding floor. Let it dry completely, then sand any remaining ridges smooth.
A high spot, such as a raised nail head, a glue bead, or a proud plywood seam, should be sanded down or ground flush. Do not try to plane down a large area; you only need to remove the point of contact. The goal is a surface that the toilet base can sit on without any rocking, not a perfectly flat floor for the whole room.
For a discussion of what can go wrong when the toilet sits uneven, including wobble and base leaks, see how to level a wobbly toilet.
Step 4: Patch holes and repair damage
Old toilets often leave behind extra bolt holes, screw holes, or notches cut for a previous flange. These holes need to be filled before you install the new toilet. If they are left open, water can seep through them and damage the floor below, and the toilet base will have no bearing surface at those points.
For small holes and screw holes, a patching compound or wood filler works well. For larger holes, you may need to cut a patch piece and glue it in place with a construction adhesive, then sand the surface level. On a concrete subfloor, use a concrete patching compound and follow the drying time on the label.
After the patch is dry, sand the area smooth and vacuum again. The subfloor should feel continuous, with no void under the toilet base. If you are working over a concrete slab, also check that the surface is not dusty or flaking. A concrete primer or bonding agent may be needed before applying any patch so the repair sticks.
If the subfloor is in such bad shape that you are considering replacing a section, take the opportunity to confirm the drain pipe alignment. The flange should be centered and at the right height. See toilet rough-in sizes for how the flange position relates to the wall.
Step 5: Confirm the flange height
The closet flange must sit at the right height relative to the finished floor. If you are installing a toilet over the same finished floor, the flange should sit on top of the floor or slightly above it. If you have removed tile or vinyl and are exposing the subfloor, the flange may now be too high or too low.
If the flange sits above the subfloor, you will need to either lower it (a larger job) or build up the floor around it with a patch. If the flange is recessed below the subfloor, a simple flange extender can raise it to the correct level. The toilet seal cannot bridge a gap between the bottom of the toilet and the top of the flange.
The height of the flange directly affects the wax ring or gasket seal. A flange that is at the correct height gives the wax ring the compression it needs to form a watertight seal. A flange that is too high or too low can cause a leak that drips down into the subfloor. For a closer look at how the flange and wax ring interact, see toilet wax ring vs rubber gasket.
What to pick for your situation
The prep work is the same no matter what toilet you choose, but the type of toilet you buy can affect how much floor preparation you need. If the subfloor is in poor shape after years of a leaking old toilet, consider a model that is easier to set and remove in the future. If you are building new, you have more freedom to choose a style that fits the space.
Use the table below to match your floor condition and project type to the right buying guide.
| Situation | What prep to focus on | Buying guide |
|---|---|---|
| Subfloor is flat and solid | Skip the leveling, focus on cleaning and flange height | Best one-piece toilets |
| Subfloor has minor dips and gaps | Patch the low spots and sand high spots before setting | Best 12-inch rough-in toilets |
| Old toilet leaked, subfloor stained but firm | Clean, seal any soft spots, confirm flange height | Best two-piece toilets |
| Concrete slab subfloor with cracks | Fill cracks and repair spalls before setting | Budget toilet guide |
| New construction, untouched subfloor | Vacuum, scrape glue drips, check for nail heads | Best 12-inch rough-in toilets |
| Plan to install a wall-hung toilet | Reinforce the wall, not the floor; floor prep is minimal | Best wall-hung toilets |
What to focus on for your subfloor
| If you | Pick | Buying guide |
|---|---|---|
| The subfloor is flat, solid, and clean | Focus on cleaning and confirming flange height | Best One-Piece Toilets in 2026: 15 Picks Compared on Specs |
| The subfloor is slightly uneven with small dips | Patch the low spots with floor leveler and sand high spots | Best 12-Inch Toilets in 2026: 15 Picks Compared on Specs |
| The old toilet leaked and stained the subfloor | Clean thoroughly, replace any soft wood, and check the flange | Best Two-Piece Toilets in 2026: 15 Picks Compared on Specs |
| You have a concrete slab subfloor | Fill cracks and spalls first, then set the toilet | Best Toilets Under $300 in 2026: 14 Picks by Specs |
| You plan to install a wall-hung toilet | Reinforce the wall framing; subfloor prep is minimal | Best Wall-Hung Toilets in 2026: 15 Picks Compared on Specs |
Questions
Do I need to remove old wax before leveling the subfloor?
Yes. Scrape off all old wax, caulk, and residue from the subfloor before you level or patch. Wax prevents patching compound from bonding to the floor, and it can trap moisture that leads to rot.
Can I use self-leveling compound on a wooden subfloor?
Yes, but only a compound labeled for use on plywood or OSB. Follow the manufacturer's directions for mixing, application thickness, and drying time. Do not pour a thick layer; it should be a thin skim coat to fill shallow dips.
How do I know if my subfloor has water damage?
Press the surface with a screwdriver. If the wood is soft, crumbles, or has dark rings, it is likely rotted and should be replaced. A firm surface with a light stain can be cleaned and coated with a primer before you set the toilet.
What if the flange is too low after I clean the subfloor?
A recessed flange needs a flange extender to bring it up to the level of the finished floor. Do not try to compensate by using a thicker wax ring only, because the toilet base will not sit flat on the floor and may rock.
Is it okay to set a toilet directly on a patched subfloor?
Yes, as long as the patch is fully cured and sanded smooth. Vacuum the dust before setting the toilet. The toilet base will sit on the patch, so it needs to be as hard and flat as the surrounding floor.
Do I need to seal the subfloor before installing a toilet?
Sealing with a primer or waterproofing paint is a good idea if the subfloor was exposed to a previous leak, but it is not required on a dry, sound subfloor. Sealing helps prevent future moisture from soaking into the wood if a minor leak develops later.
Revision notes
- : First published.