Endoscopy is the gold standard for diagnosis of oesophageal cancer and its precursor lesions. Besides this, endoscopy treatment of these precursor lesions and early oesophageal cancer has been well evaluated and established. This includes dysplastic lesions associated with Barrett's oesophagus and early adenocarcinoma, as well as early squamous cell cancer of the oesophagus. The role of endoscopy for diagnosis and treatment of these lesions is summarised.