Disclosed herein is a method for treating heart failure in a subject in need thereof. The method includes administering a therapeutically effective amount of nicotinamide riboside to the subject. The heart failure may be associated with iron deficiency. The method may also include administering iron to the subject.