These findings collectively indicated that AAV-Mettl7a alleviates bone loss phenotype while restoring Bsp O-GlcNAcylation in osteoporosis mice. This evidence concerns the gene TMT1A and osteoporosis.