Reports from a large, prospective study in paediatric patients suggest that oesophagogastroduodenoscopy is valuable for diagnosis in children with chronic abdominal pain. Nonetheless, the vast majority of children with chronic abdominal pain will have a functional gastrointestinal disorder, and no test is needed to achieve this diagnosis.