Healthy diets earlier in life were associated with a higher likelihood of healthy aging, even after accounting for other lifestyle factors, such as physical activity and smoking status.