AimsCognitive impairment is an increasingly urgent global public health challenge. Dietary Inflammatory Index (DII) is a literature-derived score that links diet to inflammation. The relationship between DII and cognitive impairment remains controversial. Therefore, our study aimed to analysis the role of DII on the risk of cognitive impairment by meta-analysis.MethodsPubMed, Cochrane Library, MEDLINE, Web of Science and EMBASE databases were searched up to July 2022. Newcastle–Ottawa scale (NOS) and Joanna Briggs Institute (JBI) Checklist were performed to estimate the quality of studies.ResultsNine observational studies with 19,379 subjects were included. Our study found that higher DII could elevate the risk of cognitive impairment (OR = 1.46, 95%CI = 1.26, 1.69). Meanwhile, the OR of cognitive impairment was 1.49 (95%CI = 1.21, 1.83) for cross-sectional studies and 1.42 (95%CI = 1.12, 1.79) for cohort studies, respectively.ConclusionOur meta-analysis indicated that higher DII (indicating a more pro-inflammatory diet) is related to increased risk of cognitive impairment.