Immunohistochemical staining indicated that both the rectal lesion and anal fistula were cytokeratin 7 (CK7) (−) and cytokeratin 20 (CK20) (+), and the patient’s condition was diagnosed as implantation of rectal cancer in an anal fistula. The gene discussed is KRT20; the disease is Anal fistula.