These results indicate that SERCA2 plays a crucial role in the mechanical response of bones in T2D. Here, ATP2A2 is linked to type 2 diabetes mellitus.