Thus, the aim of the present work was to study the frequency of SNPs in TNF-α gene in Moroccan patients with gastritis, ulcer, and gastric cancer. Here, TNF is linked to gastritis.