Constipation and unshaped stools may be caused by dietary factors, but also may be caused by intestinal flora imbalance, gastrointestinal dysfunction and other conditions. 1. Diet, life factors: diet like to eat some spicy stimulating, greasy food easy to cause constipation and stool is not shaped. In addition, if you keep sedentary habits for a long time in your daily life, and the amount of exercise decreases, it is also easy to aggravate constipation and unshaped stools. 2. Intestinal flora imbalance: when the normal microflora in the intestinal tract is damaged, it will cause diarrhea or constipation, unformed stools, abdominal pain and other symptoms. 3. Gastrointestinal dysfunction: it is a general term for a group of gastrointestinal syndromes with dysfunction of gastrointestinal motility and secretion, which is caused by the dysfunction of autonomic nervous system due to the disorder of high-level nerve activity and can be caused by mental tension, anxiety, etc., and there is no histological organic lesion. Abnormalities in gastrointestinal dynamics may occur, resulting in symptoms such as unformed stools, sticky stools, and constipation. If you are constipated and have unformed stools, you can go to the hospital and ask the doctor to determine the cause of the problem in the light of the specific situation.