The need exists for a simple and noninvasive test to diagnose gastric cancer. In this study by Xu et al., alveolar exhaled breath samples from 130 patients with gastric complaints were analysed using nanomaterial-based sensors. Results from this pilot study show that the breath test was able to identify gastric cancer and distinguish it from other gastric diseases. A large multicentre trial has now been initiated to confirm these encouraging findings.