The evidence regarding the impact of the scores on healthy eating indices on the risk of cardiovascular events among patients with type 2 diabetes (T2D) is limited. As such, in this study, we examined the associations of adherence to the Chinese and American dietary guidelines and the risk of cardiovascular disease (CVD) among Chinese individuals with T2D. We conducted a 1:1 age- and sex-matched case–control study based on a Chinese population. We used a structured questionnaire and a validated 79-item food-frequency questionnaire to collect general information and dietary intake information, and calculated the Chinese Healthy Eating Index (CHEI) and the Healthy Eating Index-2015 (HEI-2015). As participants, we enrolled a total of 419 pairs of hospital-based CVD cases and controls, all of whom had T2D. We found a significant inverse association between diet quality scores on the CHEI and HEI-2015 and the risk of CVD. The adjusted odds ratios (95% confidence interval) per five-score increment were 0.68 (0.61, 0.76) in the CHEI and 0.60 (0.52, 0.70) in the HEI-2015. In stratified analyses, the protective associations remained significant in the subgroups of sex, BMI, smoking status, tea-drinking, hypertension state, dyslipidemia state, T2D duration, and medical nutrition therapy knowledge (all p < 0.05). These findings suggest that a higher CHEI or HEI-2015 score, representing a higher-quality diet relative to the most recent Chinese or American dietary guidelines, was associated with a decreased risk of CVD among Chinese patients with T2D.