In conclusion, female GC patients with ATRX mutation showed stronger anticancer immunity than ATRX wild patients or mutant male patients. Here, ATRX is linked to gastric cancer.