The results show that, due to the high expression of FAP in gastric cancer and its metastatic tissues, 68Ga-FAPI PET/MR is significantly superior to 18F-FDG PET/CT for the diagnosis of primary gastric cancer and its metastatic lesions. This evidence concerns the gene FAP and gastric cancer.