Low back pain (LBP) is a major clinical problem that lacks effective treatments. The sensory innervation in porous vertebral endplates and anxiety contributes to spinal hyperalgesia. We hypothesized that SIRT1 activator resveratrol alleviates LBP and anxiety via promotion of osteogenesis in the porous endplates. The hyperalgesia and anxiety‐related behaviors; sensory innervation, inflammation and porosity of endplates; and osteogenic/osteoclastic factors expression were measured following resveratrol treatment after lumbar spine instability (LSI) surgery. To explore whether resveratrol promotes endplates osteogenesis and thus alleviates LBP through activation of SIRT1 in the osteoprogenitor cells of endplates, SIRT1OSX−/− mice were employed. Additionally, the levels of inflammation markers, phosphorylation of cAMP response element‐binding protein (pCREB), and brain‐derived neurotrophic factor (BDNF) in hippocampus were evaluated. After 4 or 8 weeks LSI surgery, the mice suffered from hyperalgesia and anxiety, which were efficiently attenuated by resveratrol at 8 weeks. Resveratrol treatment‐enhanced osteogenesis and decreased endplates porosities accompanied with the reduction of TNFα, IL‐1β, and COX2 levels and CGRP+ nerve fibers innervation in porous endplates. Resveratrol‐mediated endplates osteogenesis, decreased endplates porosities, and analgesic and antianxiety effects were abrogated in SIRT1OSX−/− mice. Furthermore, resveratrol relieved inflammation and increased pCREB and BDNF expression in the hippocampus after 8 weeks, which alleviate anxiety‐related behaviors. This study provides that resveratrol‐mediated porous endplates osteogenesis via the activation of SIRT1 markedly blocked sensory innervation and inflammation in endplates, therefore, alleviating LSI surgery‐induced LBP and hippocampus‐related anxiety.