Gastric adenocarcinoma carries a poor prognosis, in part due to the late stage of diagnosis. Risk factors include Helicobacter pylori infection, family history of gastric cancer-in particular, hereditary diffuse gastric cancer and pernicious anaemia. The stages in the progression to cancer include chronic gastritis, gastric atrophy (GA), gastric intestinal metaplasia (GIM) and dysplasia. The key to early detection of cancer and improved survival is to non-invasively identify those at risk before endoscopy. However, although biomarkers may help in the detection of patients with chronic atrophic gastritis, there is insufficient evidence to support their use for population screening. High-quality endoscopy with full mucosal visualisation is an important part of improving early detection. Image-enhanced endoscopy combined with biopsy sampling for histopathology is the best approach to detect and accurately risk-stratify GA and GIM. Biopsies following the Sydney protocol from the antrum, incisura, lesser and greater curvature allow both diagnostic confirmation and risk stratification for progression to cancer. Ideally biopsies should be directed to areas of GA or GIM visualised by high-quality endoscopy. There is insufficient evidence to support screening in a low-risk population (undergoing routine diagnostic oesophagogastroduodenoscopy) such as the UK, but endoscopic surveillance every 3 years should be offered to patients with extensive GA or GIM. Endoscopic mucosal resection or endoscopic submucosal dissection of visible gastric dysplasia and early cancer has been shown to be efficacious with a high success rate and low rate of recurrence, providing that specific quality criteria are met.