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. This evidence concerns the gene SHH and stroke disorder.