To study the effect of different maintenance doses of caffeine citrate on the success rate of ventilator weaning in very preterm infants (gestational age of ≤32 weeks) with respiratory distress syndrome (RDS). A total of 162 preterm infants with RDS who were admitted to the hospital from January 2016 to December 2018 were enrolled in this prospective trial. These infants had a gestational age of ≤32 weeks and required invasive mechanical ventilation. They were randomly divided into a high-dose caffeine group and a low-dose caffeine group, with 81 infants in each group. Within 6 hours after birth, both groups were given caffeine at a dose of 20 mg/kg. After 24 hours, the high- and low-dose caffeine groups were given caffeine at a maintenance dose of 10 mg/kg and 5 mg/kg, respectively. The two groups were compared in terms of re-intubation rate within 48 hours after ventilator weaning, durations of ventilation and oxygen therapy, enteral feeding, weight gain, and the incidence rates of complications and adverse reactions during hospitalization. The high-dose caffeine group had a significantly lower re-intubation rate within 48 hours after ventilator weaning than the low-dose caffeine group (P<0.05), with frequent apnea as the main reason for failed ventilator weaning in both groups. The high-dose caffeine group had significantly shorter durations of mechanical ventilation and oxygen therapy than the low-dose caffeine group (P<0.05). There were no significant differences between the two groups in the time to total enteral feeding, average daily weight gain, body weight at discharge, and the incidence rates of complications (bronchopulmonary dysplasia, retinopathy of prematurity, necrotizing enterocolitis, and intracranial hemorrhage) and adverse reactions (tachycardia, hypertension, and feeding intolerance) (P>0.05). A high maintenance dose of caffeine can safely and effectively reduce the incidence rate of apnea after ventilator weaning and the failure rate of ventilator weaning in RDS preterm infants with a gestational age of ≤32 weeks, and therefore, it holds promise for clinical application.