Background: Although several animal and cell studies have described the association between HOXB9 and cancers, there is no pan-cancer investigation of HOXB9. In this article, we explored the expression levels and prognosis of HOXB9 in pan-cancer. We evaluated the correlation of HOXB9 expression level with the efficacy of immunotherapy.Methods: We conducted a survival analysis of HOXB9 in various types of cancer using publicly available databases. We also examined the relationship between HOXB9 expression levels and several factors including prognosis, immune infiltration, immune checkpoint genes, tumor mutational burden, microsatellite instability, mismatch repair, and DNA methylation. TIMER2.0 tool was conducted to explore the immune cell infiltrations related to HOXB9 in this analysis.Results: It was discovered through a comprehensive analysis of multiple public datasets that HOXB9 expression was highly expressed in most tumor tissues and cancer cell lines and that distinct associations exist between HOXB9 expression and tumor patient prognosis. Besides, HOXB9 expression was closely associated with immune cell infiltration and checkpoint genes in many cancers. Further, HOXB9 was associated with immune cell infiltration, TMB, MSI, MMR, and DNA methylation. It was also confirmed that HOXB9 was highly expressed in clinical GBM tissues. Experiments further revealed that knockdown of HOXB9 expression could suppress proliferation, migration, and invasion of glioma cells.Conclusions: The results revealed that HOXB9, a robust tumor biomarker, has a significant prognostic value. HOXB9 may act as a new predictor to assess cancer prognosis and therapeutic efficacy of the immune in various cancers.