BackgroundGPNMB is a type I transmembrane protein, and emerging evidence supports the relationship between GPNMB and cancers.ObjectiveThrough a comprehensive pan-cancer analysis, we examined the expression levels, prognostic significance, and mutation profiles of GPNMB in different cancer types. Subsequently, utilizing in vitro experiments, we elucidated the impact of GPNMB in endometrial cancer (EC).MethodsTIMER2, GEPIA2, UALCAN and cBioPortal were used to analyze the expression pattern, prognostic values, and mutation status of GPNMB. HEC-1B and Ishikawa cells were used to conduct in vitro analyses of GPNMB overexpression. GeneMANIA and TIMER2 were used to evaluate the potential functions and correlations between GPNMB expression and tumor-infiltrating immune cells in EC.ResultsGPNMB was found to be highly expressed in multiple cancers, where it was associated with poor prognosis. Additionally, GPNMB was downregulated at both mRNA and protein levels in EC. Overexpression of GPNMB inhibited the proliferation, migration, and invasion of HEC-1B and Ishikawa cells. Functional analysis showed that GPNMB was enriched in pathways associated with regulation of plasma lipoprotein particle levels. The expression of GPNMB was positively connected with B cell, CD8+ T cell, CD4+ T cell, Macrophage, Neutrophil, and Dendritic cell levels.ConclusionThrough pan-cancer analysis, we identified the antitumor effect of GPNMB in EC and predicted the potential mechanisms between GPNMB expression and EC.