This prospective cohort study of 941 Spanish preschoolers found that breastfeeding for 6 months or longer was associated with significantly higher adherence to the Mediterranean diet, compared to never being breastfed. The association remained after adjusting for many potential confounders, but causality cannot be inferred due to the observational design and reliance on parental reports.