Piles, known medically as hemorrhoids, are swollen veins in and around the anus that cause itching, pain, and sometimes bleeding. About 1 in 20 Americans have them, and by age 50, roughly half of adults have experienced at least one episode. The good news: most cases are preventable with straightforward changes to your diet, bathroom routine, and daily habits.
Eat Enough Fiber to Keep Stools Soft
Fiber is the single most effective tool for preventing piles. It works in two ways. Soluble fiber dissolves in water and forms a gel-like material that slows digestion, keeping stool moist. Insoluble fiber adds bulk and helps move everything through your digestive system faster, so stool doesn’t sit in the colon long enough to dry out and harden. Both types reduce the straining that forces blood into the veins around your anus.
Most adults fall short of the recommended daily intake. The current U.S. dietary guidelines break it down by age and sex:
- Ages 19 to 30: 28 grams for women, 34 grams for men
- Ages 31 to 50: 25 grams for women, 31 grams for men
- Age 51 and older: 22 grams for women, 28 grams for men
Good sources include oats, beans, lentils, whole grains, vegetables, and fruit. If you’re not getting enough from food alone, a fiber supplement like psyllium husk can fill the gap. Clinical evidence shows psyllium is effective enough to stop the progression of existing hemorrhoids and even reduce prolapse when taken consistently. The key detail most people miss: you need an adequate dose (roughly 4 to 5 teaspoons daily) with at least 500 ml of water. Without enough water, fiber can actually make constipation worse.
Add Natural Stool-Softening Foods
Certain fruits do double duty by providing fiber and a natural sugar alcohol called sorbitol. Sorbitol doesn’t break down during digestion, and when it reaches the colon, the body works to flush it out, which triggers a bowel movement. Prunes and prune juice are the richest source. If you don’t like prunes, apple juice contains sorbitol in smaller amounts. Pears, peaches, and dried apricots are other options worth adding to your regular rotation.
Drink Enough Fluids
A high-fiber diet backfires without adequate hydration. Fiber draws water into the bowel to soften stool. If there isn’t enough water available, the result is dry, hard stool that’s difficult to pass. Aim for 8 to 10 glasses of fluid per day, primarily water. You’ll likely need more in hot weather, during exercise, or if you’re increasing your fiber intake significantly. Coffee and tea count toward your total, though water is the most reliable choice.
Fix Your Bathroom Habits
How you sit, how long you sit, and whether you respond to your body’s signals all influence your hemorrhoid risk.
Use a Footstool
Standard toilet height forces you to sit with your hips at roughly a 90-degree angle, which creates a bend in the rectum. Research measuring the angle of the rectal canal found that squatting widens it from about 100 degrees (normal sitting) to 126 degrees. A straighter path means stool passes with less effort and less straining. You don’t need to squat on the floor. A small footstool (15 to 20 cm high) placed in front of the toilet raises your knees above your hips and achieves a similar effect.
Limit Time on the Toilet
Sitting on the toilet puts direct pressure on the veins around your anus, even when you’re not actively straining. Scrolling your phone extends that pressure well beyond what’s necessary. Research on smartphone use and hemorrhoid risk supports keeping toilet sessions under 5 minutes. Go when you feel the urge, do what you need to do, and get up. If nothing happens within a few minutes, stand and try again later.
Never Ignore the Urge
When you delay a bowel movement, stool sits in the rectum and continues to lose water. Over time it becomes large, dry, and hard, which means more straining to pass it. Habitually ignoring the urge can also reduce your rectum’s sensitivity, making it harder to recognize when you need to go. This creates a cycle of fecal retention, harder stools, and increased pressure on rectal veins. Treat the urge to go as a priority, not something to postpone for convenience.
Stay Active
Regular aerobic exercise keeps your bowels moving. Physical activity stimulates intestinal motility in a dose-dependent way: even low-intensity exercise like walking accelerates the rate at which food moves through your digestive tract. Exercise also reduces chronic inflammation in the gut, improves the composition of your gut bacteria, and supports the production of short-chain fatty acids that maintain a healthy intestinal lining. All of these effects contribute to softer, more regular stools.
You don’t need intense workouts. Walking, swimming, and light jogging are effective and well-tolerated. In fact, very high-intensity exercise (especially heavy weightlifting with breath-holding) can temporarily spike pressure in your abdomen and have the opposite effect. Moderate, consistent activity is the goal. Even 20 to 30 minutes of brisk walking most days makes a measurable difference in bowel regularity.
Manage Your Weight and Posture
Excess body weight increases pressure on the pelvic floor and the veins that drain the lower rectum. The heavier the load bearing down on these vessels, the more likely blood is to pool and cause swelling. Maintaining a healthy weight through diet and activity reduces this mechanical pressure.
Prolonged sitting and standing also matter. Both positions sustain pressure on the pelvic area for extended periods. If your job requires long hours at a desk, take brief walking breaks every 30 to 60 minutes. If you stand for work, shift your weight regularly and sit down when possible. Lying on your side is the position that takes the most pressure off the pelvic veins, which is why this is commonly recommended during pregnancy, when hemorrhoid risk rises due to the added weight of the growing uterus.
Pregnancy-Specific Prevention
Pregnancy substantially increases hemorrhoid risk because of the growing weight pressing on pelvic veins and hormonal changes that slow digestion. The strategies above apply during pregnancy, but a few points deserve extra emphasis. Fiber and fluid intake become even more important as progesterone slows bowel motility. Lying on your side, particularly the left side, relieves pressure on the major veins that drain the lower body. Avoid sitting or standing in one position for long stretches, and keep stools soft to minimize any straining. Most pregnancy-related hemorrhoids improve after delivery as the extra pressure resolves.
Putting It All Together
Preventing piles comes down to two principles: keep your stools soft and reduce pressure on the veins around your anus. A fiber-rich diet with adequate water handles the first. Sensible bathroom habits, regular movement, and weight management handle the second. None of these changes require medication or special equipment. They’re ordinary habits that, done consistently, make hemorrhoids far less likely to develop or return.

