18F-FDG PET/MRI has been applied to the diagnosis and preoperative staging in various tumor types; however, reports using PET/MRI in gastric cancer are rare because of motion artifacts. We investigated the value of PET/MRI for preoperative staging compared with PET/CT in gastric cancer (GC). Thirty patients with confirmed GC underwent PET/CT and PET/MRI. TNM staging for each patient was determined from the PET/MRI and PET/CT images. The diagnostic performance of PET/MRI and PET/CT was calculated compared with the pathologic TNM stage. The two methods were compared using statistical analyses. The accuracy for T staging between PET/MRI and PET/CT was 76.9% vs. 57.7%, respectively. In T1 and T4a staging, the sensitivity and specificity for PET/MRI vs. PET/CT was 1.0 vs. 0.6 and 1.0 vs. 0.8, respectively. The area under the curve (AUC) for PET/MRI vs. PET/CT was 1.00 vs. 0.78 in the T1 stage, 0.73 vs. 0.66 in the T2 stage, 0.72 vs. 0.57 in the T3 stage, and 0.86 vs. 0.83 in the T4 stage. The accuracy for N staging of PET/MRI vs. PET/CT was 53.9% vs. 34.0%, and that for N0 vs. N+ was 85.0% vs. 77.0%. The sensitivity for PET/MRI in N3 staging was 0.67 and 0 for PET/CT. There was a statistically significant difference in the AUC for N1 staging (PET/MRI vs. PET/CT, 0.63 vs. 0.53, ). SUVmax/ADC positively correlated with tumor volume and Ki-67. PET/MRI performs more accurately in TNM staging compared with PET/CT and is optimal for accurate N staging. SUVmax/ADC has positive correlations with tumor volume and Ki-67.