Background: The homeobox gene 5 (HOXB5) encodes a transcription factor that regulates the central nervous system embryonic development. Of note, its expression pattern and prognostic role in glioma remain unelucidated. This study aimed to identify the relationship between HOXB5 and glioma by investigating the HOXB5 expression data from the The Cancer Genome Atlas (TCGA) and The Genotype Tissue Expression (GTEx) databases and validating the obtained data using the Chinese Glioma Genome Atlas (CGGA) database. Kaplan-Meier and univariate cox regression analyses were performed to assess the prognostic value of HOXB5. The key functions and signaling pathways of HOXB5 were analyzed using GSEA and GSVA. Immune infiltration was calculated using Microenvironment Cell Populations-counter (MCP-counter), single-sample Gene Set Enrichment Analysis (ssGSEA), and ESTIMATE algorithms.Result: HOXB5 expression was elevated in glioma tissues. The increased levels of HOXB5 were significantly correlated with a higher WHO grade and aggressive cancer phenotypes. HOXB5 overexpression represented a risk factor that was associated with shorter overall survival (OS) while exhibiting a moderate forecast efficiency in most clinical subgroups. These results were validated using the CGGA and Rembrandt datasets. Furthermore, the functional analysis showed enrichment of angiogenesis, the IL6/JAK-STAT3 pathway, and inflammatory response in the tissues that showed high expression of HOXB5. Lastly, the high expression of HOXB5 was associated with enrichment of Tregs and MDSCs, and HOXB5 expression was shown to play a role in several immune checkpoint genes.Conclusions: HOXB5 may serve as a predictive factor of glioma malignancy and prognostic status and represents potential as a molecular treatment candidate.