Xbp1s-FoxO1 axis governs lipid accumulation and contractile performance in heart failure with preserved ejection fraction. Here, FOXO1 is linked to heart failure.