Drugs used to treat diabetes mellitus may favorably affect the pathophysiological mechanisms of heart failure by inhibiting either or both NHE isoforms, and drugs used to treat heart failure may have beneficial effects on glucose tolerance and the complications of diabetes mellitus by interfering with the actions of NHE1 and NHE3.