We sought to conduct a meta-analysis to evaluate the efficacy and safety of sodium-glucose cotransporter-2 inhibitors (SGLT2i) in patients with heart failure (HF) with preserved ejection fraction (HFpEF) and HF with mildly reduced ejection fraction (HFmrEF). This evidence concerns the gene SLC5A2 and heart failure.