Abstract Heart failure with preserved ejection fraction (HFpEF) is commonly found in persons living with HIV (PLWH) even when antiretroviral therapy (ART) suppresses HIV viremia. However, studying this condition has been challenging because an appropriate animal model is not available. In this paper, we studied calcium transient in human induced pluripotent stem cell-derived cardiomyocytes (hiPSC-CMs) in culture to simulate the cardiomyocyte relaxation defect noted in of PLWH and HFpEF and to assess whether various drugs have an effect. We show that treatment of hiPSC-CMs with inflammatory cytokines (such as interferon-γ or TNF-α) impair their Ca 2+ uptake into sarcoplasmic reticulum and that SGLT2 inhibitors, clinically proven as effective for HFpEF, reverse this effect. Additionally, treatment with mitochondrial antioxidants (like mito-Tempo) and certain antiretrovirals resulted in the reversal of the effects of these cytokines on calcium transient. Finally, incubation of hiPSC-CMs with serum from HIV patients with and without diastolic dysfunction did not alter their Ca 2+ -decay time, indicating that the exposure to the serum of these patients is not sufficient to induce the decrease in Ca 2+ uptake in vitro . Together, our results indicate that hiPSC-CMs can be used as a model to study molecular mechanisms of inflammation-mediated abnormal cardiomyocyte relaxation and screen for potential new interventions.