Background: Healthy Eating Index-2015 (HEI-2015), a healthy eating pattern proposed by Dietary Guidelines for Americans, is proven to be protective against various diseases. However, whether it is associated with age-related cataracts is unknown. Methods: This population-based cross-sectional study included 6395 participants from the National Health and Nutrition Examination Survey (NHANES) in the cycles from 2005 to 2008. HEI-2015 was calculated from 24-h dietary recall interviews, ranging from 0 to 100, and higher HEI-2015 represents better diet quality. Age-related cataract was generated from the questionnaire. The association between HEI-2015 and cataract was assessed with logistic regression models. Propensity score weighting, restricted cubic spline, and subgroup analysis were conducted to further explore the relationship. Results: 6395 participants were included in the study, with a mean [standard deviation (SD)] age of 48.7 (15.3) years and 3115 (48.7%) being male. HEI-2015 was negatively associated with cataracts after adjusting all covariates included, both as a continuous variable [odds ratio (OR): 0.991, 95% confidence interval (CI): 0.984–0.997, p = 0.006] and quartiles with the highest quartile compared to the lowest (OR: 0.739, 95% CI: 0.559–0.980, p = 0.035). After propensity score weighting, the association remained significant. Restricted cubic spline revealed no non-linear relationship (p for non-linearity 0.085). Subgroup analysis showed that there were no interaction effects. Conclusions: Adherence to the healthy eating pattern, HEI-2015, was associated with a lower risk of age-related cataracts.