High-fiber diets should always be introduced gradually over a period of one to two weeks to allow the gastrointestinal tract and its microbiota to adapt. A sudden switch to high fiber can cause gastrointestinal upset, including flatulence, diarrhea, or constipation.