Our study demonstrates that n‐butylidenephthalide protects against myocardial fibrosis in infarcted rats for targeting the PI3K/STAT3 signalling pathway. This evidence concerns the gene STAT3 and Myocardial fibrosis.