The relationship between diet, sleep duration and cardiovascular disease (CVD) has not been well understood. The aim of the present study was to test the potential modifying role of sleep duration in the association between adherence to the Mediterranean-type diet (MD) and CVD risk. The study consisted of n = 313 initially free-of-CVD adults, from the ATTICA cohort study (2002–2022), with available information on sleep habits. Sleep habits were categorized as inadequate and adequate sleep duration (< or ≥7 h/day, respectively). In multi-adjusted analysis, MD adherence was inversely associated with CVD risk [Hazard Ratio-HR per 1/55 in MedDietScore: 0.80, 95% Confidence Interval-CI: 0.65, 0.98]. A significant interaction between sleep duration and MedDietScore was observed (p < 0.001). In subgroup analysis, the protective association between MD adherence and CVD risk was found only in participants who slept adequately, i.e., >7 h/day [HR:0.80, 95%CI: 0.65, 0.98]. Those who had a high adherence to the MD along with adequate sleep habits, had a 70% reduced 20-year CVD risk [HR:0.30, 95%CI: 0.11, 0.80], compared to those who had a low MD adherence and inadequate sleep habits. Sleep duration should be a part of an individual’s lifestyle, together with dietary and other habits, to effectively evaluate CVD risk for future events.