A long-term intake of a high-fat and high-fructose diet (HFFD), even a high-fat, high- fructose but low-protein diet (HFFD + LP), could cause obesity associated with cognitive impairments. In the present study, rats were subjected to a normal diet (ND), an HFFD diet, an HFFD + LP diet, and an HFFD with kidney bean protein (KP) diet for 8 weeks to evaluate the effect of KP on HFFD- or HFFD + LP-induced obesity and cognitive impairment. The results demonstrated that compared with the HFFD diet, KP administration significantly decreased the body weight by 7.7% and the serum Angiotensin-Converting Enzyme 2 (ACE-2) and Insulin-like Growth Factor 1 (IGF-1) levels by 14.4% and 46.8%, respectively . In addition, KP suppressed HFFD-induced cognitive impairment, which was evidenced by 8.7% less time required to pass the water maze test. The 16s RNA analysis of the colonic contents showed that the relative abundance of Bifidobacterium, Butyricimonas, and Alloprevotella was increased by KP by 5.9, 44.2, and 79.2 times. Additionally, KP supplementation primarily affected the choline metabolic pathway in the liver, and the synthesis and functional pathway of neurotransmitters in the brain, thereby improving obesity and cognitive function in rats.