In preterm infants with recurrent apnoea, methylxanthine reduces the number of episodes and the use of mechanical ventilation in the short term; caffeine is also associated with improved longer term outcomes.