Our experienced pediatric urologists and urologic surgeons offer compassionate care for children with inguinal hernias and hydroceles.
Medically reviewed by Yvonne Chan, M.D. on April 19, 2026.
At UC Davis, your child’s care is in the capable hands of our highly skilled pediatric urology experts. We have deep expertise in performing all types of urologic surgeries. You can trust us with your child’s care.
Inguinal hernias and hydroceles are closely related conditions in babies and children. They happen before a baby is born when their inguinal canal doesn’t close as it should. Your baby has an inguinal canal on each side of their body. The canals run from the wall of the lower belly to the genitals.
Inguinal hernias are also known as indirect inguinal hernias. They happen when part of your baby’s small intestine or other tissue pushes through an opening in their inguinal canal, causing a bulge. Boys and girls can have inguinal hernias.
Hydroceles only affect boys. There are two types:
Your baby needs surgery to treat an inguinal hernia to reduce risk of the intestine being trapped in the hernia. Hydroceles that don’t go away within a baby’s first 18 months may also require treatment.
Hydroceles don’t cause pain or other symptoms. An inguinal hernia with intestine or abdominal contents caught in it may be painful. Signs of a hernia may be noticeable at birth or become more apparent when your baby is a few weeks old.
Signs of an inguinal hernia include:
In rare instances, part of the intestine can get trapped in the hernia sac (incarcerated hernia). Without prompt medical care, blood can stop flowing to the intestine, causing life-threatening tissue damage (strangulated hernia). These conditions are medical emergencies. Symptoms include:
Inguinal hernias and hydroceles are congenital abnormalities (birth defects) that are present at birth. Something happens while a baby is in the womb that stops the inguinal canal from closing as it should. Medical experts aren’t sure why this happens.
Some risk factors for inguinal hernias and hydroceles include:
Inguinal hernias are more common in boys. Hydroceles only affect boys.
A baby is more likely to have an inguinal hernia if a sibling or close family member had one.
Babies who weigh less than 5 pounds 4 ounces at birth are more at risk for hernias and hydroceles.
The conditions are more common in preterm babies born before the 37th week of pregnancy. These babies also tend to have low birth weights.
Health care providers typically diagnose hydroceles and inguinal hernias during a physical exam. In rare cases, your baby may get additional tests.
An ultrasound can help your baby’s provider diagnose a hydrocele, hernia or mass.
Children with inguinal hernias need surgery to close the canal opening. If your child has a hydrocele that doesn’t go away by their first birthday, we will treat both conditions in one surgery. Your child receives general anesthesia and sleeps through this outpatient procedure.
A surgeon makes a small cut in the groin area. After putting the intestine or contents of the hernia sac back into place, they use stitches to close the hernia opening.
A surgeon drains fluid from the hydrocele sac and removes the sac.
1 in 10Have hydroceles
1 in 100Babies have inguinal hernias
Source: Urology Care Foundation: What are hydroceles and inguinal hernias?
As Sacramento's No. 1 hospital, you'll benefit from unique advantages in primary care and specialty care. This includes prevention, diagnosis and treatment options from experts in 150 specialties.
To refer a patient, submit an electronic referral form or call.
Call to make an appointment.
A U.S. News & World Report best hospital in cardiology, heart & vascular surgery, diabetes & endocrinology, ENT, geriatrics, neurology & neurosurgery, and pulmonology & lung surgery.
U.S. News & World Report ranked UC Davis Children’s Hospital among the best in pediatric nephrology, orthopedics*, and pulmonology & lung surgery. (*Together with Shriners Children’s Northern California)
Ranked Sacramento’s #1 hospital by U.S. News, and high-performing in aortic valve surgery, back surgery (spinal fusion), COPD, colon cancer surgery, diabetes, gynecological cancer surgery, heart arrhythmia, heart failure, kidney failure, leukemia, lymphoma & myeloma, lung cancer surgery, pacemaker implantation, pneumonia, prostate cancer surgery, stroke, TAVR, cancer, orthopedics, gastroenterology & GI surgery, and urology.
UC Davis Medical Center has received Magnet® recognition, the nation’s highest honor for nursing excellence.
One of ~59 U.S. cancer centers designated “comprehensive” by the National Cancer Institute.
For the 13th consecutive year, UC Davis Medical Center has been recognized as an LGBTQ+ Healthcare Equality Leader by the educational arm of America’s largest civil rights organization.