In conclusion, this study indicated that FOXM1 could serve as a prognostic biomarker for most types of cancers and played a crucial role in the tumor immune microenvironment. This evidence concerns the gene FOXM1 and cancer.