Our findings indicated that HLA-F significantly predicted the OS in all grade gliomas and GBM. Here, HLA-F is linked to central nervous system cancer.