A central role in anal carcinogenesis of high-risk types of human papillomaviruses (hrHPV) was recently established, but the possible role of benign anal lesions has not been addressed in hrHPV-positive and -negative anal cancers. As part of a population-based case-control study in Denmark and Sweden, we interviewed 417 case patients (93 men and 324 women) diagnosed during the period 1991-94 with invasive or in situ anal cancer, 534 patients with adenocarcinoma of the rectum and 554 population controls. Anal cancer specimens (n = 388) were tested for HPV by the polymerase chain reaction. Excluding the 5 years immediately before diagnosis, men, but not women, with anal cancer reported a history of haemorrhoids [multivariate odds ratio (OR) 1.8; 95% confidence interval (CI) 1.04-3.2] and unspecific anal irritation (OR 4.5; CI 2.3-8.7) significantly more often than controls. Women with anal cancer did not report a history of benign anal lesions other than anal abscess to any greater extent than controls, but they had used anal suppositories more often (OR 1.5; CI 1.1-2.0). Patients with hrHPV in anal cancer tissue (84%) and those without (16%) reported similar histories of most benign anal lesions, but anal fissure or fistula was more common among hrHPV-positive cases. Ulcerative colitis and Crohn's disease, reported by