There is no one answer to this question as different people have different stool softening abilities. Some people have softer stool due to a lack of fiber in their diet, while others have harder stool due to a higher level of fiber in their diet. Ultimately, the best way to find out what foods harden stool is to ask your doctor or health-care provider.