The present study aimed to compare the differences between the risk of hHF after using dapagliflozin and dipeptidyl peptidase-4 inhibitors (DPP-4i) as second-line drugs for the treatment of type 2 diabetes mellitus using the latest nationwide population data in Korea. The gene discussed is DPP4; the disease is type 2 diabetes mellitus.