An open toilet drain is a 3- or 4-inch hole straight into your sewer line, and within an hour of pulling a toilet it can fill a bathroom with sewer gas. The fix is simple: cap a toilet flange right after the toilet comes off, using a temporary plug for remodel work or a permanent cap if the fixture is gone for good. Temporary options include a snap-in test cap, an inflatable test ball or an expanding mechanical plug. Permanent removal usually means cutting the pipe below the floor and gluing on a solvent-weld cap.
Part of our Bathroom Remodeling & Flooring guide — explore the full guide →
Stuffing a rag in the hole is the most common shortcut, and it works for a few minutes while you move the toilet. It is not a seal, though. Gas passes through fabric, tools and debris fall in, and a forgotten rag can get flushed into the line when the toilet goes back on. A proper cap costs a few dollars and takes seconds to install.
Why You Need to Cap a Toilet Flange
Every other fixture in your home has a water-filled trap that blocks sewer gas. A toilet’s trap is built into the bowl itself, so once the toilet is removed, nothing stands between the room and the sewer. Sewer gas carries hydrogen sulfide and methane. Small amounts smell like rotten eggs and cause headaches, while larger amounts can be hazardous in a closed bathroom. Methane is also flammable.
Capping also protects the drain. Remodel debris like grout, thinset, drywall dust and screws can fall into an open flange and create a clog far down the line. Pests are another concern: in some areas, rodents and insects can travel up an open drain into the house.
Temporary Cap Options for a Remodel
Snap-In or Glue-In Test Caps
A toilet flange test cap is a thin plastic disc molded into many new PVC and ABS flanges, or sold separately to fit inside the drain. Built-in knockout caps stay in place until you are ready to set the toilet, then you knock them out with a hammer and remove the pieces. Separate snap-in caps press into the flange opening and seal reasonably well for a few days to a few weeks.
Inflatable Test Balls
An inflatable plug is a rubber bladder you push into the pipe and inflate with a hand pump. It seals tightly against irregular pipe walls, which makes it handy for older cast iron. Check it every few days, since slow leaks can let it deflate.
Mechanical Expanding Plugs
These rubber plugs expand when you tighten a wing nut, squeezing a gasket against the inside of the pipe. They are reusable, inexpensive, and work well for longer remodels. Choose the size that matches your drain, usually 3 or 4 inches.
Rag Plugs: Only as a Stopgap
A rag stuffed into a plastic bag and pushed into the opening is better than nothing for the few minutes between pulling the toilet and installing a real cap. Never leave a rag alone overnight, and always pull it out before setting the toilet.
Tools and Materials
- Toilet flange test cap, inflatable plug or expanding plug sized to your drain
- Putty knife and scraper to remove old wax
- Rubber gloves, safety glasses and a bucket
- Large sponge and old towels
- Duct tape (as a backup over temporary caps)
- For permanent caps: PVC or ABS cap, matching primer and solvent cement, a pipe saw or oscillating tool, and possibly a coupling
Step-by-Step: Capping a Flange Temporarily
- Shut off the water. Close the supply valve behind the toilet, flush to drain the tank, and sponge out the remaining water from the bowl and tank.
- Disconnect and remove the toilet. Unscrew the supply line, remove the closet bolt nuts and rock the toilet loose. Lift it straight up and set it on cardboard or towels.
- Stuff a stopgap. Push a bagged rag into the opening to block gas while you clean.
- Scrape the wax. Remove the old wax ring from the flange and the floor with a putty knife. Wax left behind prevents caps from seating.
- Remove the rag and install the cap. Press in a snap cap, insert and inflate a test ball, or tighten an expanding plug until snug.
- Check the seal. Sniff for sewer odor. If you smell anything, reseat the plug or add a layer of duct tape across the flange.
- Protect the area. Cover the flange with a piece of plywood or a bucket so workers do not step on or kick the cap.
Step-by-Step: Permanently Capping After a Removal
When a toilet is removed for good, such as when a half bath becomes a closet, the best practice is to cap the drain below the floor so you can install flooring right over it. Simply covering the flange at floor level leaves a weak spot that can eventually leak gas.
- Remove the flange. Unscrew it from the floor. For a glued PVC or ABS flange, you will cut the pipe below it.
- Access the pipe. If there is a ceiling or crawlspace below, work from there. Otherwise, cut the subfloor opening slightly larger to reach the pipe.
- Cut the pipe square. Cut the drain pipe a few inches below the subfloor. Deburr the edge.
- Glue on a cap. Clean the pipe, apply primer and solvent cement per the product label (ABS uses its own cement and no primer), and push the cap on with a slight twist. Hold for 30 seconds.
- Check venting and code. A capped branch should not leave a long dead-end leg that traps waste. Local plumbing code may dictate how close to the main stack the cap must be.
- Patch the subfloor. Fill the opening with plywood matching the subfloor thickness, supported by blocking between joists.
Work with good ventilation when using primer and solvent cement, wear gloves, and keep the fumes away from pilot lights and other ignition sources.
Cast Iron and Older Drains
Older homes often have cast iron flanges caulked into a cast iron or lead closet bend. Snap-in plastic caps rarely fit these well. An inflatable test ball or a mechanical expanding plug works better for temporary capping. For permanent capping, cutting cast iron requires a snap cutter or a reciprocating saw with a carbide blade, and the cast iron must be supported so it does not shift. Many homeowners hire a plumber for this step.
If you find a lead closet bend under an old flange, avoid sanding or cutting it yourself. Wear gloves, wash your hands after handling it, and let a plumber transition it to plastic with the correct fittings.
Troubleshooting
Sewer Smell Even With a Cap
The cap may not be seated against a clean surface, or there could be a dry trap elsewhere in the house. Clean the flange, reseat the cap, and pour water into floor drains and unused sinks to refill their traps.
Cap Will Not Stay In
Old wax, a broken flange or an odd pipe size are the usual culprits. Switch to an inflatable or expanding plug, which adapts to irregular pipes.
Knockout Cap Pieces Fall In
Knock out built-in test caps carefully and fish out every piece. A shop vacuum with a narrow nozzle helps. Pieces left in the line can catch waste and cause clogs.
Costs
Temporary caps are cheap: snap-in caps usually cost under $10, expanding plugs about $5 to $20, and inflatable test balls roughly $20 to $60. A permanent PVC cap and cement cost under $20. Hiring a plumber to permanently cap a drain below the floor typically runs a few hundred dollars, more if cast iron is involved or if drywall in the ceiling below must be opened and patched.
When to Call a Plumber
Call a licensed plumber if you are permanently removing a fixture and are unsure about venting, dead-end leg rules or permits. A plumber is also the right call for cast iron or lead drain lines, cracked flanges below floor level, or any sign of leaking around the drain. Your local building department can tell you whether permanently removing a fixture requires a permit.
Frequently Asked Questions
Can I just put a rag in the toilet drain?
Only for a few minutes. A rag does not stop sewer gas and can fall into the line. Use a test cap or plug for anything longer.
How long can a toilet flange stay capped?
A well-seated test cap or expanding plug can stay in place for weeks during a remodel. Check it every few days and keep it protected from foot traffic.
Can I tile over a capped toilet flange?
Not over the flange itself. For permanent removal, cap the pipe below the subfloor, patch the subfloor, and then install tile or other flooring over the solid patch.
What size cap do I need for a toilet flange?
Most residential toilet drains are 3 or 4 inches. Measure the inside diameter of the pipe or flange opening and buy a cap or plug that matches.
Is sewer gas from an open drain dangerous?
It can cause headaches and nausea, and high concentrations can be hazardous. It also contains flammable methane, so cap the drain promptly and ventilate the room.