 Inflammation is a ubiquitous underlying mechanism of the links between diet and cognitive functioning. No study has yet evaluated the overall inflammatory potential of the diet, using the dietary inflammatory index (DII), in relation to cognitive functioning. In a French cohort of middle-aged adults, we evaluated the association between the DII, assessed in midlife, and cognitive performance evaluated 13 years later.