ObjectiveThis study aimed to screen anaplasia-related genes that influence the progression of retinoblastoma (RB) and to identify immune cells associated with the poor prognosis. MethodsDifferentially expressed genes (DEGs) between retina and RB samples were acquired from gene expression omnibus (GEO) database. Candidate hub genes were screened by taking intersections among the co-expressed genes, the hub nodes, and DEGs of the validation set. The hub genes were identified by receiver operating characteristic (ROC) and quantitative real-time PCR (qPCR). Immune infiltration levels of RB tissues were estimated using single-sample gene set enrichment analysis (ssGSEA). The functions of RB cells were detected by CCK8, EDU and flow cytometry assays. Results665 DEGs involved in the genesis and progression of RB were acquired from GEO database. 29 candidate hub genes were screened by examining 43 co-expressed genes and 63 hub nodes. 9 hub genes (CHEK1, EXO1, FANCI, GTSE1, MELK, MKI67, NCAPH, PRC1, and UBE2T) strongly related to the anaplastic grades were validated by ROC curve analysis (AUC >0.8). Based on the ssGSEA scores, the immune infiltration levels of Th2 cells were positively associated with anaplastic grade. qPCR assay showed that 9 hub genes were upregulated in RB cells, and UBE2T expressed remarkably high. CCK 8, EDU, and flow cytometry assays revealed that UBE2T silencing inhibited the proliferation of RB cells and incited apoptosis. ConclusionsThe increased infiltration of Th2 cells and upregulated expression of 9 hub genes predict a poor prognosis of RB. UBE2T can be a therapeutic target for RB treatment.