We found CRP and NLR play significant mediating roles in the progression from IBD to CRC. This evidence concerns the gene CRP and inflammatory bowel disease.