Abstract Background Several large observational prospective studies have reported a protection by the traditional Mediterranean diet against type 2 diabetes, but none of them used yearly repeated measures of dietary intake. Repeated measurements of dietary intake are able to improve subject classification and to increase the quality of the assessed relationships in nutritional epidemiology. Beyond observational studies, randomized trials provide stronger causal evidence. In the context of a randomized trial of primary cardiovascular prevention, we assessed type 2 diabetes incidence according to yearly repeated measures of compliance with a nutritional intervention based on the traditional Mediterranean diet. Methods PREDIMED (‘‘PREvención con DIeta MEDiterránea’’) was a Spanish trial including 7447 men and women at high cardiovascular risk. We assessed 3541 participants initially free of diabetes and originally randomized to 1 of 3 diets: low-fat diet (n = 1147, control group), Mediterranean diet supplemented with extra virgin olive (n = 1154) or Mediterranean diet supplemented with mixed nuts (n = 1240). As exposure we used actual adherence to Mediterranean diet (cumulative average), yearly assessed with the Mediterranean Diet Adherence Screener (scoring 0 to 14 points), and repeated up to 8 times (baseline and 7 consecutive follow-up years). This score was categorized into four groups: