The following are some of the common causes of an anal fistula:Abscess (pus-filled pocket)Chronic constipation (a long-lasting condition characterized by difficult bowel movements or hard stools)Prolonged anal fissure (a tear in the anal area)Tuberculosis (an inflammation or infection of the lungs)Sexually transmitted diseases (due to anal sex)