The results demonstrated that resveratrol played a neuroprotective role after stroke by partially inhibiting activation and inflammation of microglia, triggering the translocation of Smo to primary cilia and upregulating the protein expression of Shh signaling. Here, SMO is linked to stroke disorder.