This study aimed to investigate the molecular mechanism of berberine in relieving inflammatory effects and modulating the cholinergic and insulin signaling pathways to improve spatial learning and memory impairment in DM rats. Here, INS is linked to diabetes mellitus.