Replacing toilet supply line and valve

toiletvalve

I'm trying to replace the supply line and valve for my toilet but am having a hard time removing the coupling nut. I tried grabbing the fill valve and using a plier to remove the coupling nut but the nut kept moving along with the fill valve.

When I went to buy the supplies, I was told that these don't need to be changed unlike what my plumber told me. When I tried to put everything back, the coupling nut part wouldn't stop leaking. At this point, I think it's better if I just replace it. Any suggestion on how I could remove the coupling nut? Thank you!

enter image description here

enter image description here

Best Answer

the nut kept moving along with the fill valve.

Have a helper use your pliers to grab on to the fill valve inside of the tank; you need to prevent the fill valve from turning. Then remove the supply flex nut by unscrewing with a large adjustable wrench, an open-end wrench, or with your other pliers.

I would go ahead and change everything: stop valve, supply flex, and toilet fill valve.