Collectively, our results demonstrated that targeting Bmal1 S424 O-GlcNAcylation with S424-pe may alleviate high-glucose-induced mitochondrial calcium overload and oxidative damage in hippocampal CA1 neurons and thereby improve cognitive function in diabetes. This evidence concerns the gene BMAL1 and diabetes mellitus.