Diabetic cardiomyopathy (DCM) is a diabetic mellitus-related complications and progression of DCM may eventually lead to heart failure, while mechanisms related to DCM pathophysiology remain unclear. The study was undertaken to identify possible hub genes associated with DCM progression through bioinformatics analysis and to validate the role of 3-hydroxy-3-methylglutaryl-CoA synthase 2 (HMGCS2) in DCM progression using a cellular model of high glucose (HG)-induced DCM. The common differentially expressed genes (DEGs) between GSE173884 and GSE161827 were used for PPI network analysis. Our results identified 17 common DEGs between GSE173384 and GSE161827. Further analysis of the protein–protein interaction network identified nine hub genes and HMGCS2. The in vitro functional assays showed that HG induced up-regulation of HMGCS2, suppressed cardiomyocyte viability, enhanced apoptosis, inflammation, and oxidative stress of cardiomyocytes. Gain-of-function assays showed that HMGCS2 overexpression reduced cell viability, increased apoptosis, caspase-3/-9 activity, up-regulated interleukin (IL)-1β, IL-6 and tumor necrosis factor-α (TNF-α) expression, decreased superoxide dismutase (SOD), catalase (CAT) and glutathione peroxidase expression, increased malondialdehyde (MDA) content, and reactive oxygen species (ROS) level but inhibited total antioxidant activity, SOD activity, CAT activity, and glutathione content in cardiomyocytes. Rescue experiments demonstrated HMGCS2 silence attenuated HG-induced decrease in cardiomyocyte viability and increase in cardiomyocyte apoptosis, inflammation, and oxidative stress. All in all, our study identified HMGCS2 as a hub gene in DCM pathophysiology and further functional studies indicated that HMGCS2 may aggravate DCM progression by reducing cardiomyocyte viability, increasing cardiomyocyte apoptosis, and promoting inflammation and oxidative stress in cardiomyocytes.