Disclosed is the use of the compound 3-n-butyl isoindoline ketone shown as formula I in the preparation of drugs for preventing and treating cerebral infarction. Since the compound has a structure of solid crystal, it has more freedom in terms of preparation, provides more choices for clinical medication and decreases medication costs, compared with the oily liquid form of the similar drug butylphthalide.