Dapagliflozin is used along with diet and exercise, and sometimes with other medications, to lower blood sugar levels in adults with type 2 diabetes (condition in which blood sugar is too high because the body does not produce or use insulin normally).