In the present study, the Shunaoxin pill active ingredient stigmasterol was found to bind the most stably with the core protein OPRK1 in T2DM-induced cognitive impairment. Here, OPRK1 is linked to type 2 diabetes mellitus.