This analysis examined breastfeeding data from the Growing Up in New Zealand longitudinal study. Of 6,685 enrolled singletons, breastfeeding was initiated for 97% of the children. Sixteen percent were exclusively breastfed to age 6 months and 13% were breastfed to age 24 months. Exclusive breastfeeding for ≥4 months was less likely for children of mothers of Māori (RR 0.80; 95% CI, 0.73 to 0.87), Pacific (RR 0.90; 95% CI, 0.83 to 0.98) or Asian (RR 0.80; 95% CI, 0.74 to 0.86) ethnicity. Children who were more likely to be exclusively breastfed for ≥4 months were born to mothers aged 20–29 years (RR 1.24; 95% CI, 1.04 to 1.49), ≥30 years (RR 1.36; 95% CI, 1.14 to 1), those with a tertiary education (RR 1.14; 95% CI, 1.08 to 1.21), or planned pregnancy (RR 1.14; 95% CI, 1.08 to 1.21) and were from families with older siblings (RR 1.31; 95% CI, 1.17 to 1.47). Children were more likely to be breastfed ≥6 months if their mother was aged 20–29 years (RR 1.26; 95% CI, 1.10 to 1.45) or ≥30 years (RR 1.40; 95% CI, 1.22 to 1.61), had a tertiary education (RR 1.11; 95% CI, 1.06 to 1.59), or planned pregnancy (RR 1.11; 95% CI, 1.06 to 1.15), or if they had older siblings (RR 1.04; 95% CI, 1.00 to 1.08).