Although the endogenous Shh pathway is activated in response to stroke, its effect on cell survival remains unclear. Here, SHH is linked to stroke disorder.