HMGB3 mRNA expression in gastric cancer correlated positively with immune infiltrates in Th2 cells and T helper cells and negatively with those in mast cells and B cells. Here, HMGB3 is linked to gastric cancer.