Canagliflozin is often prescribed to lower the risk of cardiovascular problems in patients with type 2 diabetes, including those with heart disease. However, patients with specific heart conditions should discuss potential risks with their healthcare provider.