Fluorescence imaging-guided surgery enables tumour resection with high precision, while preventing injury of healthy tissues. This Review discusses the clinical application and preclinical development of intraoperative fluorescence imaging probes and imaging equipment, including artificial intelligence algorithms.