Medically reviewed by Joshua Ellenhorn, MD, general surgeon at Surgery Group LA · Reviewed October 14, 2026
Most people can go back to their normal diet soon after hernia surgery. There's no special hernia diet. What matters most for the first few weeks is avoiding constipation, because straining on the toilet puts pressure on the repair. That means plenty of water, fiber-rich foods, and going easy on anything that gives you gas or an upset stomach. Your usual cup of coffee is fine. If your surgeon gave you different instructions, follow theirs.
Can I eat normally after hernia surgery?
Yes, in most cases. Hospital discharge instructions for groin hernia repair say no special diet restrictions are needed afterward (University Hospitals), and that you can eat and drink as normal once you're home (Guy's and St Thomas' NHS).
If you feel a little queasy from the anesthesia on the first day, start with something light, like toast, crackers, soup or yogurt, and build up as you feel ready. It's also common to have a poor appetite for a week or two after surgery. That usually improves on its own (University Hospitals). If you've noticed you're eating less and losing a few pounds, see why weight loss after hernia surgery happens.
What to eat after hernia surgery
Pain medicine and moving around less can slow your bowels. High-fiber foods and plenty of water help keep things moving (MedlinePlus). Good choices include:
- Fiber: oatmeal, bran cereal, whole-wheat bread and pasta, brown rice, beans and lentils
- Fruit and vegetables: pears, apples, berries, prunes, oranges, leafy greens, carrots, broccoli
- Protein: eggs, chicken, fish, tofu, Greek yogurt, beans
- Fluids: water first, plus milk, juice, soup and broth
Yes, you can eat eggs, chicken and bread after hernia surgery. If your bowels are slow, choose whole-grain bread over white.
Protein helps your body heal, so try to include some at each meal, even if your appetite is small. If you weren't eating much fiber before surgery, add it gradually so it doesn't cause gas.
Foods to limit while you recover
No food will damage your hernia repair. But some foods can make the first week or two less comfortable:
- Foods that make you constipated: lots of cheese, red meat, fried food, white bread and sweets, with little fruit or vegetables alongside.
- Foods that give you gas or bloating: if fizzy drinks, beans, onions or cabbage usually bother you, a swollen belly will feel worse right after surgery. Cut back for now if so.
- Spicy or greasy food: only if it upsets your stomach. There's no need to avoid it otherwise.
Can I drink coffee after hernia surgery?
Yes. Your usual coffee or tea is fine after hernia surgery. Just don't let it replace water. Guy's and St Thomas' advises drinking plenty of water and juice and avoiding too much tea or coffee while you recover (Guy's and St Thomas' NHS). A warm drink in the morning can even help get your bowels going.
What about alcohol?
Skip alcohol for at least 2 days after anesthesia (Guy's and St Thomas' NHS). Don't drink while you're taking opioid pain medicine, and check the label of any medicine you're given for alcohol warnings.
How to avoid constipation after hernia repair
Constipation is one of the most common complaints after hernia surgery, mostly because of pain medicine. Some people have loose stools for the first few days instead (University Hospitals). Constipation can put pressure on the repair and slow healing (Guy's and St Thomas' NHS). To stay regular:
- Drink water through the day.
- Eat fiber at every meal (fruit, vegetables, whole grains).
- Walk a little several times a day.
- Use the least pain medicine that keeps you comfortable, and switch to non-opioid pain relief when your surgeon says you can.
- Ask us about a mild laxative or stool softener while you're on pain pills. Many surgeons recommend one routinely (University Hospitals).
Don't strain on the toilet. If you haven't had a bowel movement in a few days, call us rather than pushing.
After inguinal or umbilical hernia surgery
The diet advice is the same whether you had an inguinal (groin), umbilical (belly button) or ventral hernia repaired: eat normally, focus on fiber and fluids, and avoid straining. Diet after hiatal hernia surgery is different. That operation is near the stomach and esophagus, and patients usually follow a liquid and then soft diet for a few weeks. If that's the surgery you had, follow your surgeon's written plan.
When to call your surgeon
- You feel sick to your stomach all the time or can't keep liquids down (University Hospitals).
- You have constipation or diarrhea that doesn't get better (MedlinePlus).
- You have a fever of 100.4°F or higher, or shaking chills.
- Your incision is red, warm, bleeding or draining pus.
Get care right away if
- your pain is severe or keeps getting worse;
- you can't urinate;
- you have trouble breathing;
- swelling or pain in the scrotum or testicles is getting worse (MedlinePlus).
How we care for hernia patients at Surgery Group LA
After most minimally invasive hernia repairs, patients go home the same day. Before you leave, we go over what to eat, which pain medicine to take, and how to keep your bowels moving, and you can call us with any question along the way. For what to expect week by week, see our hernia surgery recovery timeline. If you notice a firm area near the incision while you heal, read why there may be a hard lump after hernia surgery. Learn more about hernia surgery and ventral hernia repair at Surgery Group LA.
Talk to a hernia surgeon
If you have a hernia or are planning surgery and want to know what recovery will look like for you, we're happy to help. Our surgeons see patients at the Cedars-Sinai Medical Office Towers, 8635 W 3rd St, Suite 880W, Los Angeles. Call (310) 861-7493 or request an appointment.
This article is for general information and is not a substitute for medical advice.