Empagliflozin is used together with diet and exercise to improve blood sugar control in adults with type 2 diabetes mellitus. Empagliflozin is also used to lower the risk of death from heart attack, stroke, or heart failure in adults with type 2 diabetes who also have heart disease.