You risk developing constipation if you don't consume enough high-fibre foods, such as fruits, vegetables, and whole grains. Constipation may result from consuming excessive high-fat meats, dairy products, eggs, sweets, or processed meals. Lack of fluids.