Objective To determine whether exposure to any antenatal corticosteroids is associated with a lower rate of death at each gestational age at which administration is currently recommended.Design Prospective cohort study.Settings 300 participating neonatal intensive care units of the Pediatrix Medical Group in the United States.Participants 117 941 infants 23 0/7 to 34 6/7 weeks' gestational age born between 1 January 2009 and 31 December 2013.Exposure Any antenatal corticosteroids.Main outcomes measures Death or major hospital morbidities analyzed by gestational age and exposure to antenatal corticosteroids with models adjusted for birth weight, sex, mode of delivery, and multiple births.Results Infants exposed to antenatal corticosteroids (n=81 832) had a significantly lower rate of death before discharge at each gestation 29 weeks or less, 31 weeks, and 33-34 weeks compared with infants without exposure (range of adjusted odds ratios 0.32 to 0.55). The number needed to treat with antenatal corticosteroids to prevent one death before discharge increased from six at 23 and 24 weeks' gestation to 798 at 34 weeks' gestation. The rate of survival without major hospital morbidity was higher among infants exposed to antenatal corticosteroids at the lowest gestations. Infants exposed to antenatal corticosteroids had lower rates of severe intracranial hemorrhage or death, necrotizing enterocolitis stage 2 or above or death, and severe retinopathy of prematurity or death compared with infants without exposure at all gestations less than 30 weeks and most gestations for infants born at 30 weeks' gestation or later.Conclusion Among infants born from 23 to 34 weeks' gestation, antenatal exposure to corticosteroids compared with no exposure was associated with lower mortality and morbidity at most gestations. The effect size of exposure to antenatal corticosteroids on mortality seems to be larger in infants born at the lowest gestations.