Provided is a composition for preventing or treating stroke, and more particularly, a pharmaceutical composition for preventing or treating stroke, which contains a peptidyl-prolyl cis-trans isomerase NIMA-interacting 1 (Pin1) inhibitor as an active ingredient.The Pin1 inhibitor has a neuroprotective effect in which production of NICD1, which is a Notch1 signaling activation product activated in ischemic stroke, is regulated, and cerebral infarction and deficits of neuronal cells triggered by ischemic stroke and neuronal cell death are reduced, and thus can be useful in preventing or treating stroke and also useful in treating a cerebrovascular disease and stroke-associated dementia.