Our study showed that hypermethylation of P16 and MGMT genes was related with TNM stage in gastric cancer tissues. This evidence concerns the gene MGMT and gastric cancer.