In this study, we comprehensively analysed the heterogeneous expression of HLA-G molecules in various types of cancer and focused on genetic alterations, coexpression patterns, gene interaction networks, HLA-G interactors, and the relationships between HLA-G and pathological stage, prognosis, and tumor-infiltrating immune cells. This evidence concerns the gene HLA-G and cancer.