There were 1413 differentially expressed genes between thyroid cancer and normal paracancerous tissues, among which 21 immune-related genes were prognostic factors with significant differences in expression; lasso risk model obtained AKAP12, APOC1, TIMP3, ADAMTS9, ANK2, HTRA3, SYNDIG1 , ADAMTS5 and DACT1 were nine prognostic factors. The gene discussed is TIMP3; the disease is thyroid gland carcinoma.