Higher maternal diet quality during early pregnancy is associated with larger brain volumes and higher IQ scores in offspring aged 10 and 14. Editorial explains why prenatal nutrition plays a crucial role in long-term brain and cognitive development.