Peanut butter contains fiber, which may help people avoid constipation. However, people should try to choose brands that do not contain added salt, sugar, or fat. Including certain foods in the diet can help to keep bowel movements regular. These include vegetables, legumes, and whole grains.