The present invention discloses a method for preventing or treating heart failure, relating to a novel use of nobiletin, the nobiletin reverses cardiac remodeling after heart failure and ischemia, the reversion of cardiac remodeling caused by ischemic heart failure includes reversing the increase of systolic ventricular internal dimension, reversing the decrease of ventricular ejection fraction and ventricular fractional shortening, reducing infarct size, and promoting cardiomyocyte survival rate. The present invention reveals the use of nobiletin in preventing or treating heart failure.