Skip to content

Is testicle surgery dangerous? Hydrocele and epididymal cyst

Hydrocele and epididymal cyst, when to operate, the techniques, the risks in numbers and recovery.

Dr. Petronio Melo, urologistA reference in urology
CRM-SP 157.598 · RQE 70.275
Reviewed by Dr. Petronio Melo on November 19, 2026
Book a consultation
Side-view cross-section drawing of the scrotum, with the upright testicle surrounded by clear fluid, the hydrocele, and a small cyst on the head of the epididymis, along the back of the testicle
On this page

Quick answer

A hydrocele is fluid around the testicle, and an epididymal cyst, or spermatocele, is a small sac of fluid in the tube behind it. Both are benign and, when small and not bothersome, can simply be watched.3,4 The operation is small, but complications are not rare: in published series, between 3% and 20% of patients had a problem, almost always a hematoma, an infection, swelling that takes a long time to settle or the fluid coming back.2,8,9 In babies, most hydroceles go away on their own in the first year.1 I perform hydrocele surgery and epididymal cyst removal. In my practice, the anesthesia is general or spinal, and you go home the same day, right after the operation.

What a hydrocele and an epididymal cyst are

The testicle sits inside a two-layered membrane, the tunica vaginalis. A hydrocele is fluid that collects between these two layers.1 The scrotum gets bigger, usually without pain. In adults, a hydrocele affects about 1% of men and becomes more common with age.2

In adults, a hydrocele usually appears without a clear cause. Sometimes it follows inflammation of the epididymis and testicle, an injury or another problem with the testicle, and testicular cancer is one of the diagnoses that has to be ruled out.2,14

The epididymis is the coiled tube along the back of the testicle, where sperm pass through and mature. An epididymal cyst is a small sac of fluid in this tube. A spermatocele is a cyst-like widening of the same tube, also benign.12 They are common findings: in a study of ultrasound scans in children and teenagers, 35.3% of boys over 15 had an epididymal cyst.16

A hydrocele surrounds the whole testicle. An epididymal cyst sits apart, like a small ball above or behind it. The two can appear together, and an examination tells them apart.

Hydrocele in children

Before birth, the testicle moves down from the abdomen into the scrotum, taking with it an extension of the lining of the abdomen, the processus vaginalis. This channel should then close. It stays open in 80% to 94% of newborns and in about 20% of adults.1

When the channel stays open, fluid from the abdomen flows down into the scrotum. This is a communicating hydrocele, which changes size during the day. If the opening is wide enough for a loop of bowel to pass, the problem becomes an inguinal hernia.1

  • Watching first. The European guideline recommends observing most babies before considering surgery. The hydrocele goes away on its own in 92% of cases under 1 year of age and in 43% over 3 years.1 In a study of babies with a communicating hydrocele, 62.7% of those followed to the end got better without surgery. Six developed a hernia during observation, and none had a trapped hernia.5
  • When to operate early. When an inguinal hernia or a problem with the testicle is suspected. A hydrocele that does not go away is also a reason for surgery.1
  • How the operation is done. The standard treatment is closing the channel at the level of the groin, through a small cut there.1 Sclerotherapy should not be used in children, because of the risk of inflammation of the abdominal lining when the channel is open.1

In children, I assess each case together with the family, and we talk about the right time to operate or to keep watching.

How it is diagnosed

Diagnosis starts with a conversation and an examination of the scrotum. A hydrocele is usually smooth and not tender, and the light from a torch passes through the fluid, a test called transillumination.1

A scrotal ultrasound confirms the fluid, tells a hydrocele from an epididymal cyst and shows the testicle, which sometimes cannot be felt because of the fluid.1,14 In adults, an ultrasound before surgery is a standard test to rule out problems with the testicle, including tumors.2 In a study of 156 men who had hydrocele surgery, none had cancer on the ultrasound before the operation.2

When to operate and when to watch

A hydrocele or an epididymal cyst does not need treatment when it is small and does not bother you.3,4 In these cases, watching is a safe option.

Surgery is considered when they are large or cause symptoms, such as pain, heaviness or discomfort.3,4,12 In a study of 24 men who had a spermatocele removed, most sought surgery because of pain together with the feeling of a lump. Symptoms had lasted 48 months on average, and the cyst measured 4.2 cm on average.12

In adults, telling a hydrocele with no clear cause from one caused by another condition guides treatment.18

The techniques

Hydrocele surgery (hydrocelectomy). Through a small cut in the scrotum, the fluid is drained. The membrane that makes the fluid is then gathered up with dissolvable stitches (Lord technique), turned inside out and closed behind the testicle (Jaboulay technique) or removed, which is usually done when its wall is thick.3 After surgery, the operated testicle feels bulkier than the other one.3

Techniques that do not dissect or remove the membrane had fewer complications in a randomized study of 87 patients, with the same result.7 In a series of 276 operations, the Lord technique had fewer complications and fewer hematomas, and the fluid came back at similar rates with all techniques.6

Epididymal cyst removal (spermatocelectomy). Through a cut in the scrotum, the cyst is separated from the epididymis and testicle and removed.4

Anesthesia. In the British Association of Urological Surgeons leaflets, the operation is usually done under general or spinal anesthesia.3,4 In my practice, I also use general or spinal anesthesia, and you go home the same day, right after the operation. In a study of 303 benign scrotal operations done under local anesthesia alone, all were completed.17

Aspiration and sclerotherapy. Draining the fluid with a needle alone does not solve the problem, because it comes back quickly.3,4 In sclerotherapy, after the fluid is drained, a medicine is injected to make the membrane stick together. In a review of 5 randomized studies with 335 patients, the cure rate was similar to surgery, but the fluid came back much more often with sclerotherapy. Fever, infection and hematoma were similar, and the studies were small and of low quality.11 The authors suggest sclerotherapy for people at high risk from surgery or who want to avoid it.11

StudyWhat it comparedResult
Randomized study, 1981
87 patients
Hydrocele techniques, with and without removing the membraneWithout dissecting or removing the membrane, fewer complications and the same result7
US series, 2019
276 operations
Lord, Jaboulay and removal of the membraneRepeat surgery for recurrence in 6%, with no difference between techniques. Fewer complications and hematomas with Lord6
2023 review
5 studies, 335 patients
Aspiration with sclerotherapy and surgerySimilar cure. More recurrence with sclerotherapy11

These figures are not a promise of results. The technique is chosen case by case.

The risks in numbers

Even a small operation has risks. Studies show complications in some patients, usually a hematoma, an infection, swelling that takes a long time to settle or the fluid coming back.8,9

StudyWho had surgeryComplications
Canadian series, 2004
161 patients
Hydrocele and spermatocele, as day cases19.2% in total. Infection in 9.3%, swelling that did not settle in 9.3% and chronic pain in 0.6%8
US series, 2007
110 operations
Benign scrotal operations, most for hydrocele20% in total. Recurrence in 6%, hematoma in 5% and infection in 3.6%. 95% of complications followed hydrocele surgery9
Austrian series, 2020
156 men
Hydrocele, aged 20 to 603.2%2

The British Association of Urological Surgeons summarizes the risks of each operation like this:3,4

  • Swelling, discomfort and bruising of the scrotum. Almost all patients, for a few days to a few weeks.3
  • Hematoma and infection. Each between 1 in 10 and 1 in 50 patients, in both operations.3,4
  • Fluid coming back. Between 1 in 50 and 1 in 250 after hydrocele surgery, and between 1 in 10 and 1 in 50 after cyst removal.3,4 In a series of 70 spermatocele removals, the cyst came back in 14.3%, and 7.1% needed another procedure.13
  • Chronic pain in the testicle. Between 1 in 50 and 1 in 250 patients.3,4
  • Injury to the epididymis, the vas deferens or the blood vessels of the testicle. Between 1 in 50 and 1 in 250.3,4

Recovery

In my practice, you go home the same day, right after the operation. The rest of the advice below comes from the British Association of Urological Surgeons.3,4 The timing for your case is agreed at the consultation.

  • Swelling and bruising of the scrotum are expected. After hydrocele surgery, they last a few days. After cyst removal, they can last a few weeks, with discomfort for 7 to 14 days.3,4
  • A scrotal support or firm underwear makes the first days more comfortable.3
  • Simple painkillers and ice in the first few days, without putting the ice directly on the skin, help with pain and swelling.3
  • The stitches are dissolvable and usually disappear in 2 to 3 weeks. Showers are fine; baths are not.4
  • Heavy lifting and strenuous exercise should wait at least 4 weeks.3,4

Warning signs

How I approach it

I perform hydrocele surgery and epididymal cyst removal, under general or spinal anesthesia, and you go home the same day, right after the operation. At the consultation, we decide together whether it is time to operate or to keep watching. The first consultation can be in person, at my office in Vila Mariana, or online, in English. Bring or send all the tests you have beforehand.

I do not publish prices on the website. When surgery is recommended, you receive the quote within 24 hours after the consultation, and it is valid for 30 days. The team fees include the surgeon, the assistant, the scrub nurse and the anesthesiologist, the follow-up visit and 60 days of follow-up. The hospital bill is separate. Details are in surgery quote.

If you have insurance outside Brazil, coverage depends on your policy, so ask your insurer before you travel. With a Brazilian health plan, the plan may cover the hospital stay and the materials when it covers the procedure and the hospital, and the team fees are private. More in insurance and reimbursement.

Read next

When to see a urologist

  • If your scrotum gets bigger, even without pain
  • If you feel a small lump above or behind the testicle
  • If your baby's hydrocele is still there after the first year or changes size during the day
  • If the swelling hurts, feels heavy or gets in the way of daily life
  • If you have sudden, severe pain in the scrotum, for immediate evaluation

Send your case

If you would like to know, before a consultation, whether surgery makes sense for you, fill in the form below. It goes to my office, and you will get a reply within 24 hours by email or WhatsApp. The form does not replace a consultation: it helps plan the next step.

Frequently asked questions

Is testicle surgery dangerous?

Hydrocele surgery and epididymal cyst removal are small operations, but complications are not rare. In published series, between 3% and 20% of patients had a problem, almost always a hematoma, an infection, swelling that takes a long time to settle or the fluid coming back.2,8,9 Serious complications are uncommon.3,4

What is a hydrocele?

It is a collection of fluid between the two layers of the tunica vaginalis, the membrane that surrounds the testicle. The scrotum gets bigger, usually without pain.1,3 In adults, it affects about 1% of men.2

Does a hydrocele in a baby need surgery?

In most babies, not at first. The European guideline recommends observation, because the hydrocele goes away on its own in 92% of cases under 1 year of age. Early surgery is considered when an inguinal hernia or a problem with the testicle is suspected, and also when the hydrocele does not go away.1

What is an epididymal cyst or spermatocele?

It is a small sac of fluid in the epididymis, the coiled tube behind the testicle that sperm travel through. It is common and benign. If it is small and does not bother you, it does not need treatment.4,12

How is hydrocele surgery done?

Through a small cut in the scrotum, the fluid is drained and the membrane that makes it is gathered up with stitches (Lord technique), turned inside out behind the testicle (Jaboulay technique) or removed when it is thick.3 In children, the standard treatment is closing the patent processus vaginalis through a cut in the groin.1

Can a hydrocele come back after surgery?

Yes. In a series of 276 operations, 6% needed another operation, with no difference between techniques.6 Aspiration with sclerotherapy has more recurrences than surgery.11

How long is the recovery from hydrocele surgery?

In my practice, the operation is done under general or spinal anesthesia, and you go home the same day, right after the operation. According to the British Association of Urological Surgeons, swelling and bruising of the scrotum last from a few days to a few weeks, and heavy lifting and strenuous exercise should wait at least 4 weeks.3 The timing for your case is agreed at the consultation.

Who performs hydrocele surgery in São Paulo, Brazil?

I do. I am Dr. Petronio Melo, a urologist and robotic surgeon in São Paulo, CRM-SP 157.598 and RQE 70.275, with more than 1,500 robotic and laparoscopic operations, more than 500 of them robotic. I perform hydrocele surgery and epididymal cyst removal, under general or spinal anesthesia, with discharge on the same day. My office is in Vila Mariana, and the first consultation can be in person or online, in English.

References

  1. European Association of Urology. EAU Guidelines on Paediatric Urology, 2026. Hydrocele. EAU
  2. Kafka M, Strohhacker K, Aigner F, et al. Incidental Testicular Pathologies in Patients With Idiopathic Hydrocele Testis: Is Preoperative Scrotal Ultrasound Justified? Anticancer Res. 2020;40(5):2861-2864. PubMed
  3. British Association of Urological Surgeons (BAUS). Removal or repair of a hydrocele. Leaflet A24/127, 2024. BAUS
  4. British Association of Urological Surgeons (BAUS). Removal of an epididymal cyst. Leaflet A24/124, 2024. BAUS
  5. Koski ME, Makari JH, Adams MC, et al. Infant communicating hydroceles: do they need immediate repair or might some clinically resolve? J Pediatr Surg. 2010;45(3):590-3. PubMed
  6. Tsai L, Milburn PA, Cecil CL 4th, et al. Comparison of Recurrence and Postoperative Complications Between 3 Different Techniques for Surgical Repair of Idiopathic Hydrocele. Urology. 2019;125:239-242. PubMed
  7. Rodríguez WC, Rodríguez DD, Fortuño RF. The operative treatment of hydrocele: a comparison of 4 basic techniques. J Urol. 1981;125(6):804-5. PubMed
  8. Kiddoo DA, Wollin TA, Mador DR. A population based assessment of complications following outpatient hydrocelectomy and spermatocelectomy. J Urol. 2004;171(2 Pt 1):746-8. PubMed
  9. Swartz MA, Morgan TM, Krieger JN. Complications of scrotal surgery for benign conditions. Urology. 2007;69(4):616-9. PubMed
  10. Zahalsky MP, Berman AJ, Nagler HM. Evaluating the risk of epididymal injury during hydrocelectomy and spermatocelectomy. J Urol. 2004;171(6 Pt 1):2291-2. PubMed
  11. Shakiba B, Heidari K, Afshar K, et al. Aspiration and sclerotherapy versus hydrocelectomy for treating hydroceles: a systematic review and meta-analyses. Surg Endosc. 2023;37(7):5045-5051. PubMed
  12. Walsh TJ, Seeger KT, Turek PJ. Spermatoceles in adults: when does size matter? Arch Androl. 2007;53(6):345-8. PubMed
  13. Cahill EM, Choksi AU, Reddy SS, et al. Spermatocelectomy with and without epididymectomy: retrospective experience at a single institution in patients not interested in fertility preservation. Can J Urol. 2025;32(5):521-527. PubMed
  14. Garriga V, Serrano A, Marin A, et al. US of the tunica vaginalis testis: anatomic relationships and pathologic conditions. Radiographics. 2009;29(7):2017-32. PubMed
  15. Schick MA, Sternard BT. Testicular Torsion. StatPearls. Treasure Island (FL): StatPearls Publishing; 2023. PubMed
  16. Posey ZQ, Ahn HJ, Junewick J, et al. Rate and associations of epididymal cysts on pediatric scrotal ultrasound. J Urol. 2010;184(4 Suppl):1739-42. PubMed
  17. Ko Y, Fidel MG, Bal DS, et al. Evaluating Safety Outcomes for Benign Scrotal Surgery Performed Under Local Anesthesia. Urol Pract. 2026;13(2):172-179. PubMed
  18. Filmar S, Gross AJ, Hook S, et al. Hydrocele (article in German). Urologie. 2024;63(6):607-617. PubMed

Would you like to talk about your case?

In the consultation, I go over your tests and your priorities.

Book a consultation5.0186 Google reviews

Related guides