Background Diverticulitis and colorectal cancer (CRC) share epidemiological characteristics, but their relationship remains unknown. It is unclear if prognosis following CRC differ for patients with previous diverticulitis compared to those with sporadic cases and patients with inflammatory bowel disease or hereditary syndromes. Aim The aim was to determine 5-year survival and recurrence after colorectal cancer in patients with previous diverticulitis, inflammatory bowel disease and hereditary colorectal cancer compared to sporadic cases. Methods Patients <75 years of age diagnosed with colorectal cancer at Skåne University Hospital Malmö, Sweden, between January 1st 2012 and December 31st 2017 were identified through the Swedish colorectal cancer registry. Data was retrieved from the Swedish colorectal cancer registry and chart review. Five-year survival and recurrence in colorectal cancer patients with previous diverticulitis were compared to sporadic cases, inflammatory bowel disease associated and hereditary colorectal cancer. Results The study cohort comprised 1052 patients, 28 (2.7%) with previous diverticulitis, 26 (2.5%) IBD, 4 (1.3%) hereditary syndromes and 984 (93.5%) sporadic cases. Patients with a history of acute complicated diverticulitis had a significantly lower 5-year survival rate (61.1%) and higher recurrence rate (38.9%) compared to sporadic cases (87.5% and 18.8% respectively). Conclusion Patients with acute complicated diverticulitis had worse 5-year prognosis compared to sporadic cases. The results emphasize the importance of early detection of colorectal cancer in patients with acute complicated diverticulitis.