Treatment for Hemorrhoids

Prevention of Hemorrhoids


Diet for Hemorrhoids: What You Can and Cannot Eat

A good diet and the awareness of what to eat and what foods to avoid are key in preventing hemorrhoidal discomfort. In this article, we offer you tips on how to adapt your diet to help prevent hemorrhoids.

Hemorrhoids (also referred to as piles) are the most common proctological pathology and one of the most prevalent disorders in the general population.1

The formation of hemorrhoids is related to a wide variety of causes, although factors such as constipation, diet or pregnancy stand out.2

fiber for hemorrhoids

What to eat if you have hemorrhoids

Constipation is one of the main causes of hemorrhoids. Constipation is frequently related to diet or iatrogenic factors.

In diets that are poor in fiber or fluids, stool tends to become hard or dry, thus facilitating constipation. Fiber increases the weight and size of stool and leads to softening. Bulky stool is easier to pass, which in turn decreases the likelihood of constipation and may reduce the likelihood of developing hemorrhoids.3

Fiber interacts closely with the intestinal flora, the group of bacteria that live in the intestine. These bacteria are responsible for processing foods that are difficult to digest, absorbing nutrients and forming a complex ecosystem that is self-regulating and kept in balance. Fiber helps to give consistency to the stool, thus promoting intestinal transit.4

A diet that is rich in fiber may also provide other health benefits such as helping to maintain a healthy weight, reducing the risk of diabetes, heart disease, and some types of cancer.3

The best thing to do is to introduce fiber into our diet little by little. To achieve this necessary intake, it is recommended to ingest the appropriate daily amount of fiber according to age and sex.3

daily fier

Table extracted from:

In addition to increasing the fiber content in our diet, it is recommended to drink plenty of water when suffering from hemorrhoids.


Foods rich in fiber

Vegetables are the greatest source of natural fiber. When suffering from hemorrhoids, we recommend the consumption of lettuce, chard, raw carrots, spinach, cooked baby greens, broccoli, artichokes, pumpkins, potatoes, green beans and vegetable juices. Grains and nuts such as sunflower seeds, almonds, pistachios and walnuts are also recommended.4 There is also a lot of fiber in pulses, which also contain protein that can aid digestion and bowel movements. Fruits and vegetables (preferably with skin) are also a great option for incorporating more fiber into your diet. They are also an excellent source of vitamins and minerals. It is recommended to try to eat at least 5 servings a day.3

Be careful! Adding too much fiber too quickly can lead to intestinal gas, bloating and cramping. Increase dietary fiber gradually over a few weeks. This allows the natural bacteria in your digestive system to adapt to the change.3

food to avoid if with hemorrhoids

What foods to avoid when you have hemorrhoids

It is not only important to know what to eat when suffering from hemorrhoids, but also which foods to avoid that may cause constipation or the appearance of hemorrhoids.

The following table lists some of the foods that patients suffering from constipation and/or hemorrhoids should avoid.


Milk and dairy products: condensed milk, chocolate spread, dairy products enriched with cream.

Fatty meats, charcuterie and offal.

Canned, smoked or salted fish.

Cereals: freshly baked baguette-type bread, undercooked pasta, biscuits filled with or dipped in chocolate.

Legumes cooked with fatty ingredients: chorizo, black pudding, bacon, etc.

Flatulent vegetables: artichokes, cabbage, peppers, radishes, onions, garlic and leek.

Fruit: fruits in syrup and candied fruit, astringent fruits such as quince, bananas, grated apples and lemons.

Drinks: tea (contains tannins and is astringent), lemon juice, grapefruit juice, apple juice.

Fats: lard, cream, bacon and tallow.

Others: chocolate (astringent), cakes and pastries filled with chocolate or dipped in sugary solutions, sweets and candies.

Avoid excessive consumption of sweeteners: sorbitol, saccharin, cyclamateand aspartame.

Table adapted from: Pérez Alcázar M. Hemorroides hidratación y protección. Farmacia Profesional, 2005;19:62-67

relieve hemorrhoids

What else can you do to relieve hemorrhoids?

Although good lifestyle habits and a healthy diet can go a long way in relieving hemorrhoids, you may also try the following recommendations in cases of a flare-up:


Take care of your hygiene

Hygiene of the perianal area after each bowel movement should be frequent and careful. Be sure to use lukewarm water, acid or neutral soap, with abundant rinsing and gentle drying. The use of toilet paper is not recommended. The use of wet wipes is preferable. After cleansing, it is important to dry the area thoroughly to avoid infection and irritation. Sitz baths are recommended (with cold or lukewarm water, never with hot water).5,6


Watch your habits and lifestyle

  • Alternate postures throughout the day and avoid standing for too long. Never delay the time to defecate.
  • Applying ice or cold compresses helps to reduce the swollen area.
  • On the other hand, it is advisable to avoid clothes that press on the abdomen, as they increase internal pressure and hinder venous return.


Be physically active

A sedentary lifestyle can favor the appearance of hemorrhoids. Physical activity is a good ally to combat a sedentary lifestyle and the risk of overweight. Make sure to spend some time every day doing your favorite physical activity and to relax.

Be careful! Sports such as cycling, motorcycling, rowing or horse riding may lead to hemorrhoids.


The health professional is your ally

If you notice that the hemorrhoidal symptoms do not improve despite compliance with all these hygienic-dietary and pharmacological measures, do not hesitate to consult a physician.


  1. Guia de hemorroides 2017
  2. Parvez Sheikh P, et al. The prevalence, characteristics and treatment of hemorrhoidal disease: results of an international web-based J Comp Eff Res. 2020; 9:1219–1232. Available at :
  3. Mayo Estilo de vida saludable. Nutrición y comida saludable. Available at: 
  4. CuídatePlus. Fibra Available at :
  5. Pérez Alcázar Hemorroides hidratación y protección. Farmacia Profesional. 2005;19:62-6. Availabe at :
  6. de Conte Vila O, Batlle Edo Hemorroides clínica y tratamiento. Farmacia Profesional. 2003;17:60-65. Available at :