Histone deacetylases are recently identified to act as key regulators for cardiac pathophysiology and metabolic disorders. However, the function of histone deacetylase (HDAC) in controlling cardiac performance in type II diabetes and obesity remains unknown. Here we determine whether HDAC inhibition attenuates high fat diet (HFD)-induced cardiac dysfunction and improves metabolic features. Adult mice were fed with either HFD or standard chow food for 24 weeks. Starting at 12 weeks, mice were divided into four groups randomly, in which sodium butyrate (1%), a potent HDAC inhibitor, was provided to chow and HFD-fed mice in drinking water, respectively. Glucose intolerance, metabolic parameters, cardiac function, and remodeling were assessed. Histological analysis and cellular signaling were examined at 24 weeks following euthanization of mice. HFD-fed mice demonstrated myocardial dysfunction and profound interstitial fibrosis, which were attenuated by HDAC inhibition. HFD-induced metabolic syndrome features insulin resistance, obesity, hyperinsulinemia, hyperglycemia, lipid accumulations, and cardiac hypertrophy, these effects were prevented by HDAC inhibition. Furthermore, HDAC inhibition attenuated myocyte apoptosis, reduced production of reactive oxygen species, and increased angiogenesis in the HFD-fed myocardium. Notably, HFD induced decreases in MKK3, p38, p38 regulated/activated protein kinase (PRAK) and Akt-1, but not p44/42 phosphorylation, which were prevented by HDAC inhibition. These results suggest that HDAC inhibition plays a critical role to preserve cardiac performance and mitigate metabolic disorders in obesity and diabetes, which is associated with MKK3/p38/PRAK pathway. The study holds promise in developing a new therapeutic strategy in the treatment of type II diabetic-induced heart failure and metabolic disorders.