The causes of constipation are complex, and diet is only one of them. Therefore, constipation cannot be avoided entirely by eating certain foods. Dietary advice is to increase the amount of fiber-rich foods, such as coarse grains, vegetables, fruits, etc., to help prevent and relieve constipation. Constipation is a common clinical symptom of the digestive tract, and many factors may cause constipation, such as poor diet, poor bowel habits, mental stress, lesions of the rectum or anus, neurological disorders, and endocrine system disorders. Constipation can be improved by regulating lifestyle habits, such as dietary attention to drink more water, eat more fiber-rich coarse grains, vegetables, fruits and so on, such as corn, sweet potatoes, oats, quinoa, brown rice, cabbage, radish, broccoli, dragon fruit, apples, bananas and so on. Moderate intake of fiber helps promote bowel movement. In addition, daily exercise should be adhered to, establish good defecation habits, do not inhibit the urge to poop, and do not read, play with cell phones, etc. when going to the toilet. For constipation caused by disease, we should actively treat the primary disease, and when constipation is serious, we can use medication to assist in defecation. To summarize, frequent and recurrent constipation is recommended to consult a doctor in time to clarify the cause of constipation, and follow the doctor’s instructions to use medication. Diet is helpful in preventing and relieving constipation, but you can’t avoid constipation through diet.