Published evidence suggests that obesity impairs cognition. Development of chronic low-grade inflammation (CLGI) represents the earliest consequence of obesity. The present study investigated the association between obesity and fluid intelligence impairment and assessed the potential mediating role of CLGI and psychological (depression/anxiety symptoms), lifestyle (exercise) and physiological (metabolic dysfunction indices) factors in this association. Clinically healthy participants (n 188), grouped as per BMI, underwent cognitive (General Ability Measure for Adults), psychological (Beck Depression Inventory-II and State-Trait Anxiety Inventory) and activity (Godin leisure-time physical activity) measurements. Biochemical parameters included the following: (a) indices of CLGI (high-sensitivity C-reactive protein, erythrocyte sedimentation rate and fibrinogen); (b) insulin resistance (Homeostasis Model Assessment of Insulin Resistance index); (c) adiposity (plasma adiponectin). An inverse association between elevated BMI and fluid intelligence was observed, with obese participants displaying significantly poorer performance compared with age-matched normal-weight peers. Structural equation modelling results were consistent with a negative impact of obesity on cognition that was mediated by CLGI. The results of the present study support the hypothesis that reduced general cognitive ability is associated with obesity, an adverse effect mainly mediated by obesity-associated activation of innate immunity.