Diabetes mellitus (DM) is a well-established independent risk factor for cerebral infarction (CI). Additionally, the DM as well as CI are influenced significantly by health-related behaviors and diets. The aim of this study was to compare the food habits, nutrient intakes, and dietary patterns and quality in DM patients with CI (DM-CI) and without CI. This study was accomplished with 68 subjects (DM-CI group = 28, DM group = 40). Health-related behaviors, food habits, nutrient intakes and dietary quality were investigated. As a result, the mean ages and durations of diabetes in DM-CI and DM groups were $65.6{\pm}9.2$, $10.9{\pm}8.5$ and $69.2{\pm}3.0$, $9.7{\pm}8.4$ years, respectively. The health-related behaviors such as, smoking, alcohol drinking, and regular exercising in both groups were significantly different (p < 0.05) showing the number of subjects who were smoking and drinking alcohol was significantly higher in DM-CI group and the opposit result was seen for exercise. In male subjects, the intake of carbohydrate and sodium of DM-CI group were significantly higher than those of DM group (p < 0.05). In female subjects, the intake of calorie, carbohydrate, fat, sodium, and cholesterol were significantly higher in the DM-CI group (p < 0.05). Daily intake of vitamin $B_1$, vitamin $B_2$, folate, vitamin C, and calcium were significantly higher in DM group (p < 0.05). In the comparison with the dietary reference intake for Koreans (KDRI), vitamin $B_1$, vitamin $B_2$, folate, and calcium intakes were lower in DM-CI group whereas calcium and zinc intakes were in DM group. Moreover, index of nutritional quality (INQ) of vitamin $B_1$, vitamin $B_2$, vitamin C, folate, and calcium were lower significantly in DM-CI group (p < 0.05). Dietary quality including dietary diversity score (DDS), GMVDF (grain, meat, vegetable, dairy, fruit), and dietary quality index (DQI) was significantly lower in DM-CI group (p < 0.05). According to the results, diabetic mellitus patients accompanied by cerebral infarction had poorer eating patterns and dietary quality in accordance with poorer health-related behaviors compared with the DM patients without CI.