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. This evidence concerns the gene INS and memory impairment.