The lack of specific symptoms of gastric cancer (GC) causes great challenges in its early diagnosis. Thus it is essential to identify the risk factors for early diagnosis and treatment of GC and to improve the survival rates. To assist physicians in identifying changes in the output of publications and research hotspots related to risk factors for GC, constructing a list of key risk factors, and providing a reference for early identification of patients at high risk for GC. Research articles on risk factors for GC were searched in the Web of Science core collection, and relevant information was extracted after screening. The literature was analyzed using Microsoft Excel 2019, CiteSpace V, and VOSviewer 1.6.18. A total of 2514 papers from 72 countries and 2507 research institutions were retrieved. China (n = 1061), National Cancer Center (n = 138), and Shoichiro Tsugane (n = 36) were the most productive country, institution, or author, respectively. The research hotspots in the study of risk factors for GC are summarized in four areas, namely: Helicobacter pylori (H. pylori) infection, single nucleotide polymorphism, bio-diagnostic markers, and GC risk prediction models. In this study, we found that H. pylori infection is the most significant risk factor for GC; single-nucleotide polymorphism (SNP) is the most dominant genetic factor for GC; bio-diagnostic markers are the most promising diagnostic modality for GC. GC risk prediction models are the latest current research hotspot. We conclude that the most important risk factors for the development of GC are H. pylori infection, SNP, smoking, diet, and alcohol.