Gastric cancer is associated with high morbidity and mortality rates worldwide. Identifying individuals at high risk is important for surveillance and prevention of gastric cancer. Having first-degree relatives diagnosed with gastric cancer is a strong and consistent risk factor for gastric cancer, but the pathogenic mechanisms behind this familial aggregation are unclear. Against this background, we reviewed the risk factors for gastric cancer in those with a first-degree relative with gastric cancer, and the possible causes for familial clustering of gastric cancer including bacterial factors, inherited genetic susceptibility, environmental factors or a combination thereof. Among individuals with a family history, current or past Helicobacter pylori infection, having two or more first-degree affected relatives or female gender was associated with an increased risk of developing gastric cancer. To date, no specific single nucleotide polymorphism has been shown to be associated with familial clustering of gastric cancer. H. pylori eradication is the most important strategy for preventing gastric cancer in first-degree relatives of gastric cancer patients, particularly those in their 20s and 30s. Early H. pylori eradication could prevent the progression to intestinal metaplasia and reduce the synergistic effect on gastric carcinogenesis in individuals with both H. pylori infection and a family history. Endoscopic surveillance is also expected to benefit individuals with a family history. Further large-scale, prospective studies are warranted to evaluate the cost-effectiveness and optimal time point for endoscopy in this population. Moreover, genome-wide association studies that incorporate environmental and dietary factors on a ‘big data’ basis will increase our understanding of the pathogenesis of gastric cancer.