Weaning and extubating preterm infants on intermittent positive pressure ventilation (IPPV) for respiratory failure may be difficult. A significant contributing factor is thought to be the relatively poor respiratory drive and tendency to develop hypercarbia and apnoea, particularly in very preterm infants. Methylxanthine treatment started before extubation might stimulate breathing and increase the chances of successful weaning from IPPV.