Gastrointestinal cancer is a leading contributor to cancer-related morbidity and mortality worldwide. Early diagnosis currently plays a key role in the prognosis of patients with gastrointestinal cancer. Despite the advances in endoscopy over the last decades, missing lesions, undersampling and incorrect sampling in biopsies, as well as invasion still result in a poor diagnostic rate of early gastrointestinal cancers. Accordingly, there is a pressing need to develop noninvasive methods for the early detection of gastrointestinal cancers. Biomedical optical spectroscopy, including infrared spectroscopy, Raman spectroscopy, diffuse scattering spectroscopy and autofluorescence, is capable of providing structural and chemical information about biological specimens with the advantages of non-destruction, non-invasion and reagent-free and waste-free analysis and has thus been widely investigated for the diagnosis of oesophageal, gastric and colorectal cancers. This review will introduce the advances of biomedical optical spectroscopy techniques, highlight their applications for the early detection of gastrointestinal cancers and discuss their limitations.