Fever is a highly conserved systemic response to infection dating back over 600 million years. Although conferring a survival benefit, fever can negatively impact the function of excitable tissues, such as the heart, producing cardiac arrhythmias. Here we show that mice lacking fibroblast growth factor homologous factor 2 (FHF2) have normal cardiac rhythm at baseline, but increasing core body temperature by as little as 3 C causes coved-type STelevations and progressive conduction failure that is fully reversible upon return to normothermia. FHF2-deficient cardiomyocytes generate action potentials upon current injection at 25 C but are unexcitable at 40 C. The absence of FHF2 accelerates the rate of closed-state and open-state sodium channel inactivation, which synergizes with temperature-dependent enhancement of inactivation rate to severely suppress cardiac sodium currents at elevated temperatures. Our experimental and computational results identify an essential role for FHF2 in dictating myocardial excitability and conduction that safeguards against temperature-sensitive conduction failure.