In conclusion, our investigation, which employed a computational and molecular approach, unveiled an encompassing function of anti-diabetic medications for stimulating BDNF in individuals with T2DM. This evidence concerns the gene BDNF and type 2 diabetes mellitus.