The association between adiposity parameters and cognition is complex. The purpose of this study was to assess the relationship between adiposity parameters and cognition in middle-aged and elderly people in China.Data were obtained from a cross-sectional study. Cognitive function was evaluated in 5 domains, and adiposity parameters were measured. The association between adiposity parameters and cognition was analyzed using multiple linear and binary logistic regression analyses.After controlling for confounders, men with overweight and obesity had better scores in TICS-10 ([1] total, overweight vs normal: P = .006, β = 0.04; obesity vs normal: P = .005, β = 0.04. [2] stratification by age, with age ≥ 59 years, overweight vs normal: P = .006, β = 0.05; obesity vs normal: P = .014, β = 0.05. [3] stratification by educational levels, with less than elementary education, overweight vs normal: P = .011, β = 0.05; obesity vs normal: P = .005, β = 0.05), immediate word recall ([1] total, overweight vs normal: P = .015, β = 0.04. [2] stratification by age, with age 45–58 years, overweight vs normal: P = .036, β = 0.05. [3] stratification by educational levels, with less than elementary education, overweight vs normal: P = .044, β = 0.04; above high school, overweight vs normal: P = .041, β = 0.09), self-rated memory ([1] stratification by age, with age ≥ 59 years, overweight vs normal: P = .022, β = 0.05. [2] stratification by educational levels, with less than elementary education, overweight vs normal: P = .023, β = 0.04), and drawing a picture ([1] total, overweight vs normal: OR = 1.269, 95% CI = 1.05–1.53. [2] stratification by educational levels, with less than elementary education, overweight vs normal: OR = 1.312, 95% CI = 1.06–1.63); obesity vs normal: OR = 1.601, 95% CI = 1.11–2.31 than the normal weight; women with overweight and obesity had better measure scores in the TICS-10 ([1] total, overweight vs normal: P < .0001, β = 0.06; obesity vs normal: P < .0001, β = 0.05. [2] stratification by age, with age 45–58 years, obesity vs normal: P = .007, β = 0.05; with age ≥ 59 years: overweight vs normal: P < .0001, β = 0.07, obesity vs normal: P = .002, β = 0.06. [3] stratification by educational levels, with illiterate, overweight vs normal: P = .001, β = 0.08; obesity vs normal: P = .004, β = 0.06; with less than elementary education, overweight vs normal: P < .0001, β = 0.07; obesity vs normal: P = .010, β = 0.05), immediate word recall ([1] total, overweight vs normal: P = .011, β = 0.04; obesity vs normal: P = .002, β = 0.04. [2] stratification by age, with age 45–58 years, obesity vs normal: P = .021, β = 0.05; with age ≥ 59 years: overweight vs normal: P = .003, β = 0.06. [3] stratification by educational levels, with illiterate, obesity vs normal: P = .028, β = 0.05; with less than elementary education, obesity vs normal: P = .016, β = 0.05), delay word recall ([1] total, overweight vs normal: P = .015, β = 0.03; obesity vs normal: P = .031, β = 0.03. [2] stratification by age, with age ≥ 59 years: ...