An infected hydrocele is a condition in which the fluid-filled sac that surrounds the testicle becomes infected. It is usually caused by a bacterial infection and can be very uncomfortable, causing pain and swelling. Infected hydroceles are a painful and uncomfortable condition that can have serious long-term repercussions if left untreated.