More than 70% of the IL-17A in the disseminated peritoneal tissues of gastric cancer was present in the mast cells, and the number of cells with double-positive immunostaining (IL-17A and mast cells) was positively correlated with peritoneal fibrosis. This evidence concerns the gene IL17A and gastric cancer.