Possible causes of constipation and farting odor include bad living habits, mental and psychological factors, and intestinal diseases (e.g. colon cancer). 1. Bad habits: excessive intake of meat and eggs, low intake of dietary fiber, long-term lack of exercise, inhibition of bowel movement and other bad habits may affect the normal discharge of feces, resulting in the phenomenon of smelly farts. 2. Psychological factors: depression, anxiety, obsessive-compulsive psychological state may cause different degrees of autonomic nervous system dysfunction, resulting in constipation, farting symptoms. 3. Intestinal diseases: such as intestinal tumors, hernia and other diseases may lead to long-term, recurrent constipation, accompanied by farting symptoms. If you have constipation and farting odor, it is recommended to consult a doctor in time to clarify the cause of the disease under the guidance of the doctor.