How to Replace a Toilet Fill Valve
On this page
- Signs the Fill Valve, Not the Flapper, Is Failing
- Draining the Tank Completely
- Removing the Old Fill Valve and Locknut
- Installing and Height-Adjusting the New Valve
- Connecting the Refill Tube and Setting the Fill Line
- Checking the Shank Gasket for Leaks
- Frequently Asked Questions
- Sources
- Related posts:
The fill valve is the tall part on the left side of the tank that brings water back in after a flush, and when it wears out the toilet either runs forever or fills so slowly that the next flush feels weak. Replacing it is a safe project for most homeowners. There is no gas, no electricity, and no pipe cutting, just a shutoff valve, a couple of hand connections, and one part that drops into the tank. The whole job runs about thirty to forty-five minutes, and most of that is draining the tank and waiting to test for leaks.
Two details decide whether the new valve actually works better than the old one: how high you set the valve in the tank, and where you clip the small refill tube. Skip those and you can install a brand new valve that still gives you a weak flush or a toilet that ticks on and off by itself. This guide treats those two steps as the main event, not an afterthought. If you have not yet confirmed the fill valve is the problem rather than the flapper, sort that out first in our guide on why a toilet keeps running (post 009), then come back here for the swap.
Signs the Fill Valve, Not the Flapper, Is Failing
A failing fill valve usually shows one of two opposite behaviors: it will not shut off, so water keeps trickling down the overflow tube long after the tank should be full, or it opens slowly and the tank takes a long time to refill, leaving you with a weak next flush. Either one points to the valve, not the flapper.
The cleanest way to separate the two is to watch where the water is going. A bad flapper leaks water from the tank down into the bowl, which you can confirm with a dye test (covered in our flapper guide, post 010). A bad fill valve does the opposite. It either lets water keep climbing until it spills into the top of the overflow tube and runs straight to the bowl, or it never fully closes and you hear a faint hiss and the occasional self-refill. If the water level sits at or above the top of the overflow tube, the valve is letting in too much or not shutting off, and that is a fill valve job. The full diagnosis tree that splits flapper leaks from fill valve faults lives in post 009.
One more clue worth knowing: a fill valve that runs because the water level is set too high can quietly waste a lot of water. The U.S. Environmental Protection Agency notes that household leaks can waste about 180 gallons a week, and a toilet that keeps topping itself off is a common source. That is part of why setting the level correctly at the end of this job matters as much as the swap itself.
Draining the Tank Completely
Before you touch anything, get the tank empty and dry. You want the inside still and clear so you can see the locknut under the tank and seat the new valve without water in the way.
Turn off the water at the shutoff valve on the wall behind or beside the toilet, turning it clockwise until it stops. If your toilet has no shutoff valve, or the valve is stuck or weeping, stop and handle that first; replacing a toilet shutoff valve and supply line is its own job, covered in post 196. With the water off, flush and hold the handle down so the tank empties as far as it will go. Then use a sponge or a small cup and a rag to remove the last inch or so of water sitting in the bottom of the tank. A fully dry tank is worth the extra two minutes, because any water left behind will dribble onto the floor the moment you loosen the locknut.
Keep an old towel and a shallow pan or bucket nearby. Even a well-drained tank holds a little water in the valve and the supply line, and it has to go somewhere when you disconnect.
Removing the Old Fill Valve and Locknut
With the tank empty, the old valve comes out from below. Two connections hold it in place: the water supply line where it threads onto the bottom of the valve shank, and the locknut that clamps the valve to the tank.
Reach under the tank and unthread the supply line coupling nut from the bottom of the fill valve shank by hand or with a quarter turn from a wrench to break it loose. Let the leftover water drain into your pan. Next, hold the valve body still inside the tank with one hand so it does not spin, and loosen the plastic locknut on the threaded shank underneath the tank with the other. These are usually hand-tight or close to it; if it resists, a pair of slip-joint pliers will break it free. Once the locknut is off, lift the old valve straight up and out of the tank. Before you set it aside, unclip the small refill tube that ran from the old valve to the overflow tube, since the new valve comes with its own.
Take the old valve with you when you buy the replacement, or at least note the brand and the height. Most modern replacements are adjustable float-cup valves that fit a wide range of toilets, but matching the general type and confirming the new valve adjusts tall enough for your tank saves a second trip.
Installing and Height-Adjusting the New Valve
Set the valve height before it ever goes in the tank, because height is what makes the difference between a clean install and a valve that siphons or floods. Most float-cup valves adjust by gripping the top section and twisting it against the lower shank, which threads the body taller or shorter.
Here is the rule that the part instructions and plumbing code agree on. Fluidmaster, a major fill valve maker, specifies that the critical level mark on the valve, printed as the letters CL, must sit at least 1 inch above the top of the overflow tube. The overflow tube is the open vertical pipe in the middle of the tank. That 1-inch gap is the valve’s anti-siphon protection: it is an air gap that, if the house water pressure ever dropped, keeps tank water from being pulled backward into your drinking water supply. Plumbing codes require toilet tanks to use an anti-siphon fill valve set this way (the standard is referenced in the IPC and UPC; local code can vary, so check yours). Hold the new valve next to the overflow tube, find the CL mark, and twist the valve until that mark lands an inch or more above the tube’s open top. It is normal for a correctly set valve to rise above the rim of the tank; the lid still clears it on most toilets.
Once the height is set, drop the valve into the left-side hole, slide the cone-shaped sealing washer onto the threaded shank from underneath with the flat side against the tank, and thread the locknut on by hand. Tighten the locknut hand-tight, then add no more than a slight turn with a wrench. Fluidmaster warns explicitly not to overtighten, because too much force on the plastic nut can crack the valve or the porcelain tank and cause flooding. Hand-snug plus a hair is the target, not muscle.
Connecting the Refill Tube and Setting the Fill Line
The thin refill tube is the step most people rush, and getting it wrong is why a “new valve” sometimes brings phantom refills. The refill tube carries a small stream of water into the overflow tube during the fill cycle to put water back in the bowl after a flush. Its job is to drip into the top of the overflow tube, not down inside it.
Clip the refill tube to the side of the overflow tube using the angle adapter or clip that comes with the valve, and aim the flow so it discharges above the tube opening with a slight arch. The critical rule from Fluidmaster: do not push the refill tube down into the overflow pipe below the water line. If the tube end sits below the water level, it creates a siphon that pulls tank water down the overflow, which makes the fill valve keep cycling on and off as it tries to keep up. A tube that clips to the top and points down into the opening from above is correct; a tube jammed deep inside is the cause of the on-again, off-again ticking many homeowners blame on the valve itself.
Now reconnect the water supply line to the bottom of the valve shank, hand-tight plus a gentle wrench turn, and slowly open the shutoff valve. As the tank fills, set the water level. The target is about 1 inch below the top of the overflow tube. Many overflow tubes have a molded line marked WL or “water line”; if yours does, set the level to that mark. Float-cup valves adjust with a screw or clip on the side that raises or lowers the float: lower the float to bring the water level down, raise it to bring the level up. Flush, let it refill, and check the level against the mark. Adjust until the water stops about an inch below the overflow tube and never reaches the top of it. A level set too high spills into the overflow and runs continuously; a level set too low gives you a weak, short flush. This is the adjustment that decides whether your new valve actually flushes better.
Checking the Shank Gasket for Leaks
The most common leak after a fill valve swap is at the shank gasket, the cone washer under the tank where the valve passes through the porcelain. Once water is back on and the tank has filled, dry the underside of the tank around the shank with a paper towel and watch it for several minutes.
A bead of water forming at the locknut means the seal is not seated or the nut needs a touch more snug. Resist the urge to crank it. Turn the water back off, drain the tank, confirm the cone washer is sitting flat with its tapered side up against the tank and not pinched or cross-threaded, then reassemble and tighten only slightly more. Check the supply line connection at the bottom of the shank the same way; a drip there usually means the coupling nut needs a small turn or the washer inside the connector is misaligned. Leave a dry paper towel under the connections and check again after the toilet has cycled a few times and sat overnight, since a slow weep can take time to show. When the underside stays bone dry through several flushes, the job is done.
Frequently Asked Questions
How do I know if the fill valve is the problem and not the flapper?
A bad flapper leaks tank water into the bowl, confirmed by a dye test. A bad fill valve does the opposite: it either will not shut off, so water keeps running down the overflow tube, or it fills slowly and weakly. If the water level sits at or above the top of the overflow tube, the fill valve is letting in too much or not closing.
How high should the fill valve sit in the tank?
The critical level mark, printed as CL on the valve, must sit at least 1 inch above the top of the overflow tube. That gap is the valve’s anti-siphon air gap and is required by plumbing code. Set the height by twisting the valve taller or shorter before you tighten it down.
Why does my toilet keep running after a new fill valve?
The two usual causes are a water level set too high, so it spills into the overflow tube, or a refill tube pushed too far down into the overflow tube. The refill tube must clip to the top and discharge above the opening, never below the water line, or it siphons and makes the valve cycle on and off.
Where should the water level be in the tank?
About 1 inch below the top of the overflow tube. Many overflow tubes have a molded WL or water line mark to set it to. Too high and water runs into the overflow continuously; too low and the flush is weak.
Do I need to replace the flapper at the same time?
Not always, but if the toilet is old enough that the fill valve failed, the flapper has likely aged too. Replacing both while the tank is open is a common choice, since the flapper is a short, separate swap and the tank is already drained.
Can I install a fill valve myself, or do I need a plumber?
For a standard tank toilet, this is a safe do-it-yourself repair. It involves no gas, no electricity, and no pipe cutting, only a shutoff valve and a couple of hand-tightened connections. If the shutoff valve is broken, the tank is cracked, or water will not stop after you finish, those are reasons to bring in a licensed plumber.
This article is general information about a common toilet repair and is not professional or safety advice. If the shutoff valve is faulty, the tank is cracked, the work touches code-regulated plumbing, or you are not comfortable doing it, consult a licensed plumber.
Sources
- U.S. Environmental Protection Agency, WaterSense, Residential Toilets (household leaks can waste about 180 gallons per week; toilets are often the culprit; worn flappers as a leading cause; WaterSense models reduce toilet water use 20 to 60 percent). https://www.epa.gov/watersense/residential-toilets
- Fluidmaster, Building a Safe Toilet / Prevent Flooding (the critical level mark, marked CL, must be 1 inch above the top of the overflow pipe; anti-siphon design; it is normal for a correctly set valve to rise above the tank rim). https://fluidmaster.com/toilet-problems/building-safe-toilet-prevent-flooding/
- Fluidmaster, 400A Fill Valve Installation Instructions (set CL mark above the overflow tube before installing; place the cone sealing washer on the shank flat side to the tank; hand-tighten the locknut, do not overtighten or it may crack the valve or tank; clip the refill tube to the overflow tube and do not insert it below the water level). https://www.fluidmaster.com/wp-content/uploads/2016/12/400ainstallationinstructions_english.pdf
- International Code Council, 2018 International Plumbing Code, Chapter 6 Water Supply and Distribution (flush tanks require an anti-siphon fill valve; backflow protection of the potable supply; local code can vary). https://codes.iccsafe.org/content/IPC2018/chapter-6-water-supply-and-distribution