Hydrocele Surgery. A hydrocele surgery is a surgical form of treatment for hydrocele which causes excess watery fluid to accumulate around one, or both testicles. This causes the scrotum and the groin area to swell in size and results in discomfort and, sometimes, pain.