I Have Piles and a Hernia. Which Should Be Treated First?

Last updated: 06-Nov-2026

Dr Harsh Shah, hernia and gastrointestinal surgeon, Ahmedabad

Dr Harsh Shah

MS, MCh (Surgical Gastroenterology), DrNB (Surgical Gastroenterology)
Registered with Gujarat Medical Council, Reg. No. G-38738
Hernia Surgeon  ·  Dr. Jivraj Mehta Hospital, Vasna, Ahmedabad

4.9 200+ Google reviews

In short

  • Often neither needs to come first. Most piles settle with soft stools and simple care, so the hernia can be repaired as planned.
  • Straining on the toilet can worsen both piles and a hernia. Soft stools, from fibre and water, help both and protect the repair.
  • Sometimes both need an operation. Your surgeon may do them at different times, or together under one anaesthetic if that suits you.

Piles are swollen veins in and around the back passage. They can bleed, itch or hang down after passing stool.

Piles and a hernia often turn up together. Both are made worse by straining. But one does not cause the other, and having piles does not stop a hernia repair.

Which comes first?

Often neither. Most piles get better with soft stools and simple care, without an operation.

So the usual plan is to soften the stools first and then repair the hernia as planned. A hernia that is hard, painful and will not go back needs the emergency department the same day.

Soft stools help both

Straining pushes on the piles and on the hernia. After surgery, it also pushes on the repair.

Eat fruit, vegetables, dal and whole grains. Drink plenty of water. A fibre powder such as isabgol helps many people. Do not sit on the toilet for long.

Planning a hernia repair when you have piles

Point to planWhy it mattersWhat usually happens
Hard stoolsStraining worsens bothFibre, water, stool softener
Bleeding from pilesNeeds a check firstExamined before surgery
Piles that need surgeryTwo operations to planSeparate or together
Painkillers after surgerySome cause constipationSoftener given with them
Piles flare after surgeryCommon in the first weekSitz bath and soft stools

Have piles and a hernia? Tell the team about any bleeding, and bring the creams and tablets you use.

Bleeding needs a check

Bright red blood on the paper after passing stool is often from piles. But do not assume it is.

Tell the team if you bleed, if the blood is dark or mixed in the stool, or if your bowel habit has changed. You may need an examination or a camera test first.

If both need an operation

Some piles are large or keep bleeding, and need a small operation. Your surgeon will talk about the choices.

The two can be done at different times. Sometimes they can be done together under one anaesthetic. This depends on your health and the type of each problem.

Open or keyhole repair

Both can be done. Keyhole repair is done under a general anaesthetic. An open repair can often be done under a spinal or local block.

After surgery

Some strong painkillers cause constipation, so a stool softener is often given with them. Keep drinking and walking.

Piles can flare in the first week. Sitting in a tub of warm water for ten minutes helps. Ask the team before using a pile cream.

Call the team if you have heavy bleeding, or if no stool has passed by the fourth day.

Frequently asked questions

Can piles cause a hernia?

No. Both are made worse by straining, which is why they often come together, but one does not cause the other.

Can piles and a hernia be operated on together?

Sometimes, under one anaesthetic. Your surgeon will advise, based on your health and the type of each problem.

Should I get bleeding from piles checked before hernia surgery?

Yes. Tell the team about any bleeding. You may need an examination or a camera test first.

Will hernia surgery make my piles worse?

Piles can flare in the first week if the stools turn hard. Soft stools and warm water baths help.

Related pages

Where to find us

Dr Harsh Shah, MS, MCh (Surgical Gastroenterology), DrNB (Surgical Gastroenterology)
Dr. Jivraj Mehta Hospital, Vasna, Ahmedabad
Bring your reports. Second opinions are welcome.

Get health updates from Dr Harsh Shah on WhatsApp

Swasth Parivar: every week, practical advice on recovery, diet and warning signs. No advertising. Stop any time.

Your number is used for these updates and for the clinic to reach you. It is never sold or passed on. To stop, reply STOP on WhatsApp.

Hernia Surgery — Dr Harsh Shah
Hernia Surgery — Dr Harsh Shah
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.