BackgroundOver the past few decades, a threefold increase in obesity and type 2 diabetes (T2D) has placed a heavy burden on the health‐care system and society. Previous studies have shown correlations between obesity, T2D, and neurodegenerative diseases, including dementia. It is imperative to further understand the relationship between obesity, T2D, and cognitive deficits.MethodsThis investigation tested and evaluated the cognitive impact of obesity and T2D induced by high‐fat diet (HFD) and the effect of the host genetic background on the severity of cognitive decline caused by obesity and T2D in collaborative cross (CC) mice. The CC mice are a genetically diverse panel derived from eight inbred strains.ResultsOur findings demonstrated significant variations in the recorded phenotypes across different CC lines compared to the reference mouse line, C57BL/6J. CC037 line exhibited a substantial increase in body weight on HFD, whereas line CC005 exhibited differing responses based on sex. Glucose tolerance tests revealed significant variations, with some lines like CC005 showing a marked increase in area under the curve (AUC) values on HFD. Organ weights, including brain, spleen, liver, and kidney, varied significantly among the lines and sexes in response to HFD. Behavioral tests using the Morris water maze indicated that cognitive performance was differentially affected by diet and genetic background.ConclusionsOur study establishes a foundation for future quantitative trait loci mapping using CC lines and identifying genes underlying the comorbidity of Alzheimer's disease (AD), caused by obesity and T2D. The genetic components may offer new tools for early prediction and prevention.