A large European cohort study found that adherence to the Mediterranean diet mitigates the impact of genetic risk for obesity in children, especially in early childhood. High consumption of vegetables and legumes was linked to lower obesity risk, regardless of genetic predisposition.