The inhibition of SIRT1 with sirtinol (a special inhibitor of SIRT1) abolished the suppression of NaHS upon diabetes-associated cognitive dysfunction, evidenced by the Y-maze test, the Morris water maze test, and the novel object recognition behavioral test, indicating that SIRT1 mediated H2S improvements in diabetes-associated cognitive dysfunction. This evidence concerns the gene SIRT1 and diabetes mellitus.