Type 2 diabetes mellitus (T2DM) increases the risk of cognitive decline and dementia. Disruptions in the cytochrome P450-soluble epoxide hydrolase (CYP450-sEH) pathway have been reported in T2DM, obesity and cognitive impairment. We examine linoleic acid (LA)-derived CYP450-sEH oxylipins and cognition in T2DM and explore potential differences between obese and nonobese individuals. The study included 51 obese and 57 nonobese participants (mean age 63.0 ± 9.9, 49% women) with T2DM. Executive function was assessed using the Stroop Color-Word Interference Test, FAS-Verbal Fluency Test, Digit Symbol Substitution Test, and Trails Making Test-Part B. Verbal memory was assessed using the California Verbal Learning Test, second Edition. Four LA-derived oxylipins were analyzed by ultra-high-pressure-LC/MS, and the 12,13-dihydroxyoctadecamonoenoic acid (12,13-DiHOME) considered the main species of interest. Models controlled for age, sex, BMI, glycosylated hemoglobin A1c, diabetes duration, depression, hypertension, and education. The sEH-derived 12,13-DiHOME was associated with poorer executive function scores (F1,98 = 7.513, P = 0.007). The CYP450-derived 12(13)-epoxyoctadecamonoenoic acid (12(13)-EpOME) was associated with poorer executive function and verbal memory scores (F1,98 = 7.222, P = 0.008 and F1,98 = 4.621, P = 0.034, respectively). There were interactions between obesity and the 12,13-DiHOME/12(13)-EpOME ratio (F1,97 = 5.498, P = 0.021) and between obesity and 9(10)-epoxyoctadecamonoenoic acid (9(10)-EpOME) concentrations (F1,97 = 4.126, P = 0.045), predicting executive function such that relationships were stronger in obese individuals. These findings suggest that the CYP450-sEH pathway as a potential therapeutic target for cognitive decline in T2DM. For some markers, relationships may be obesity dependent.