Foods that are high in fiber such as fruits, vegetables, whole grains, and legumes are the best foods to avoid constipation.