Hernia repair is surgery that puts tissue bulging through a weak spot in the belly wall back where it belongs and closes or reinforces the gap. It’s one of the most common operations, and most people go home the same day. Surgeons usually place a piece of mesh to strengthen the area, through one open cut or a few small keyhole cuts. Light activity can usually start within a few days.
Key points
- A hernia doesn’t heal on its own. Surgery is the only way to fix it, though some small, painless groin hernias can be watched.
- Repairs are done through an open cut or with keyhole (laparoscopic or robotic) surgery.
- Mesh lowers the chance that the hernia comes back.
- Most people return to desk work within a week or two.
- A hernia that gets stuck, hurts badly and won’t go back in needs emergency care.
What a hernia is
A hernia happens when fat or a loop of intestine pushes through a weak area in the muscle wall, making a bulge under the skin. The bulge often gets bigger when you stand, cough or strain, and shrinks when you lie down. Common types include:
- Inguinal hernia: in the groin. This is the most common type, and it’s much more common in men.
- Femoral hernia: just below the groin crease, more common in women. These are more likely to get stuck, so they’re usually repaired soon.
- Umbilical hernia: at the belly button.
- Incisional hernia: through the scar of an earlier belly operation.
A hiatal hernia, where part of the stomach slides up into the chest, is a different problem with a different operation.
When hernia repair is needed
- The hernia causes pain, aching, heaviness or a dragging feeling
- It’s getting bigger or gets in the way of work or exercise
- It’s a femoral hernia
- A child has an inguinal hernia. Belly button hernias in babies often close on their own by age 4 or 5.
Men with a small groin hernia that causes few symptoms can often wait safely and watch it. Many end up choosing surgery within a few years as symptoms grow.
How hernias are repaired
Mesh or stitches
Doctors use a few terms for the repair itself:
- Hernioplasty: the surgeon covers the weak spot with a flexible mesh patch, which tissue grows into. Most adult groin hernias are repaired this way.
- Herniorrhaphy: the surgeon stitches the edges of the muscle together without mesh. It’s used for some small hernias and when mesh isn’t a good choice.
- Herniotomy: the surgeon removes only the hernia sac, the thin pouch of lining the tissue pushes into. This is the usual repair for children.
Open or keyhole surgery
Open repair uses one cut, often a few inches long, over the hernia. It can be done with general anesthesia, a spinal block, or numbing medicine with sedation.
Laparoscopic or robotic repair uses three small cuts. The surgeon works with a camera and long, thin tools and places the mesh from the inside. It needs general anesthesia. It’s a good choice when hernias are on both sides, or when a hernia comes back after an open repair. Recovery can be a little faster.
Both methods work well. The best choice depends on the hernia, your health, and your surgeon’s experience. Most operations take about 30 minutes to 2 hours.
Getting ready for hernia repair
- Quit smoking, even a few weeks before. It lowers the risk of infection and of the hernia coming back.
- Ask which medicines to stop, especially blood thinners.
- Get a cough or constipation treated, since straining puts pressure on the repair.
- For a large incisional hernia, your surgeon may ask you to lose weight or control your blood sugar first.
- Arrange a ride home, and follow the instructions about eating and drinking beforehand.
Hernia repair recovery
- Going home. Most people leave the same day. Large repairs may need a hospital stay of a few days.
- Pain. Expect soreness for a week or two. Ice packs, acetaminophen and ibuprofen often help. Some people need a short course of stronger medicine.
- Moving. Walk the same day and several times a day after. Hold a pillow against your belly when you cough, sneeze or stand up.
- Swelling. Bruising and swelling in the groin, or in the scrotum after a groin repair, are common and fade over a couple of weeks.
- Bowels. Drink fluids, eat fiber and use a stool softener if needed so you don’t strain.
- Work and driving. Many people return to desk work in a few days to two weeks. Drive once you can brake hard without pain and are off strong pain medicine.
- Lifting. Advice varies. Many surgeons let you go back to normal activity as comfort allows, while others ask you to avoid heavy lifting for 4 to 6 weeks, especially after a large repair.
Possible risks
- Groin pain that lasts for months, which is severe in a small number of people
- The hernia coming back, which happens less often with mesh
- Infection of the wound or, rarely, the mesh
- Fluid or blood collecting under the skin
- Trouble passing urine right after surgery
- Rarely, injury to nerves, blood vessels, the bowel, the bladder or the blood supply to a testicle
You may have heard about problems with hernia mesh. According to the FDA, many of the reported problems involved mesh products that were recalled and are no longer sold. Ask your surgeon what type of mesh they use and why.
When to call your doctor
- Fever of 101°F (38.3°C) or higher
- Redness, warmth or pus at the cut
- Pain that gets worse instead of better
- You can’t pass urine
- Hard swelling that keeps growing
Get emergency care if a hernia becomes very painful, turns red or purple, or won’t go back in, especially with vomiting, a swollen belly, or no gas or bowel movements. Part of the intestine may be trapped.
Common questions about hernia repair
Can a hernia be fixed without surgery?
No. A hernia belt or truss can hold a groin bulge in for comfort, but it doesn’t close the gap, and exercise won’t heal it. Small hernias with few symptoms can sometimes be watched instead. The only lasting fix is surgery, and planned repair is safer than emergency repair.
Can a hernia come back after repair?
Yes, but not often. With mesh, only a few groin hernias in every 100 come back. The risk is higher for large incisional hernias, and with smoking, obesity, diabetes and heavy straining. A new bulge near the scar should be checked by your surgeon.
Can both sides be repaired in one operation?
Yes. When there are groin hernias on both sides, sometimes called a double hernia, the surgeon can usually fix both during one operation. Keyhole surgery is often used, because the same small cuts reach both sides. Recovery is usually only a little longer than for one side.
Is hernia surgery painful?
You won’t feel pain during surgery. Afterward, most people have moderate soreness for a few days that eases over one to two weeks. Keyhole repair may cause slightly less pain early on. Ice, regular pain relievers and walking help. Tell your surgeon if pain is severe or lasting.
Questions to ask your doctor
- What type of hernia do I have, and does it need repair now?
- Do you recommend open or keyhole surgery for me, and why?
- Will you use mesh?
- When can I go back to work, lifting and exercise?
- What signs of a problem should I watch for after surgery?
Learn more
- Inguinal hernia (National Institute of Diabetes and Digestive and Kidney Diseases)
- Hernia (MedlinePlus, U.S. National Library of Medicine)
This guide is general information and doesn’t replace advice from your own doctor. Last updated October 2026.





