In summary, the pan‐cancer analysis of HMGB1 showed that the expression of HMGB1 was significantly related to the prognosis, genetic changes, immune cell infiltration and drug sensitivity of different tumours in cancer patients. This evidence concerns the gene HMGB1 and neoplasm.