Fortunately, there are ways to prevent constipation from happening in the first place. Watch NBC6 free wherever you are WATCH HERE WATCH HEREBut how much fiber should you aim to eat daily to prevent constipation? Nutrition tip of the day: Eat 25-38 grams of fiber daily to prevent constipationIn order to prevent constipation, it’s best to eat a variety of foods rich in soluble and insoluble fiber every day, Dr. Lisa Ganjhu, gastroenterologist at NYU Langone Health, previously told TODAY.com. It’s best to consume fiber-rich foods daily to prevent constipation, as opposed to loading up once or twice a week to overcompensate. In addition to eating fiber-rich foods, drinking more water and exercising regularly can help prevent constipation.