ObjectiveTo investigate the impact of 10 common foods (including staple foods, fruits, vegetables, sugar, meat, fish, eggs, beans, salt-preserved vegetables, and garlic) on cognitive function in Chinese older adults. MethodsCross-sectional data on demographic characteristics, lifestyle, and dietary habits were taken from the 2018 Chinese Longitudinal Healthy Longevity Survey (CLHLS). Cognition was assessed using the Mini-Mental State Examination (MMSE). Food consumption was measured by participants reporting the frequency of their food consumption. Association between food groups and cognitive function was evaluated using mixed-effect regression model analysis. ResultsCompared with those who rarely or never consumed vegetables, meat, fruits, beans, and garlic, older adults who consumed these foods almost daily were 56%, 30%, 23%, 34%, and 29% less likely to have cognitive impairment, respectively. No associations between staple foods, sugar, fish, and eggs consumption and cognitive impairment were found. Low-frequency consumption of salt-preserved vegetables may be associated with cognitive function. Regular vegetables consumption had the greatest associated risk reduction of all food types. Interactions indicated that the co-ingestion of vegetables and beans or sugar, meat and beans may have antagonistic effect, while the co-ingestion of salt-preserved vegetables and garlic may have synergistic effect. Subgroup analyses showed that sex and age were the significant effect modifiers for meat and fish, respectively. ConclusionsCognitive function of Chinese older adults may be related to food groups. Future research should measure food types and consumption level with greater granularity.