This part is sometimes known as aballcock, so named after a design that was once the standard.
The toilet fill valve opens and closes every time the toilet flushes.
Over time, the valve simply wears out and must be replaced.
The Spruce / Kevin Norris
You might also consider using this opportunity to alsoreplace the flush valve assembly.
This washer will provide an inner seal that prevents leaking around the base of the fill valve.
Adjust the height of the fill valve, if necessary.
The Spruce / Kevin Norris
Position the valve so the water outlet nipple is facing the overflow tube in the tank.
Tighten the mounting nut so it is hand-tight.
Use channel-punch in pliers to tighten the mounting nut slightly further.
The Spruce / Kevin Norris
confirm not to twist the body of the fill valve inside the tank.
Reconnect the water supply tube to the fill valve.
Once again, hand-tighten first and then use pliers to tighten a little more.
The Spruce / Kevin Norris
Tip
You may need to cut the rubber tubing with scissors if it’s too long.
It should make a smooth bend (with no kinks) when connected to the overflow tube.
Inspect the fittings on the bottom of the tailpiece and shutoff valve to ensure there are no leaks.
The Spruce / Kevin Norris
You may need to tighten them slightly more if there is any seepage.
The Spruce / Kevin Norris