Glucagon is one of the main regulators of blood glucose levels and dysfunctional stimulus secretion coupling in pancreatic A-cells is believed to be an important factor during development of diabetes. However, regulation of glucagon secretion is poorly understood. Recently it has been shown that Na(+)/glucose co-transporter (SGLT) inhibitors used for the treatment of diabetes increase glucagon levels in man. Here, we show experimentally that the SGLT2 inhibitor dapagliflozin increases glucagon secretion at high glucose levels both in human and mouse islets, but has little effect at low glucose concentrations. Because glucagon secretion is regulated by electrical activity we developed a mathematical model of A-cell electrical activity based on published data from human A-cells. With operating SGLT2, simulated glucose application leads to cell depolarization and inactivation of the voltage-gated ion channels carrying the action potential, and hence to reduce action potential height. According to our model, inhibition of SGLT2 reduces glucose-induced depolarization via electrical mechanisms. We suggest that blocking SGLTs partly relieves glucose suppression of glucagon secretion by allowing full-scale action potentials to develop. Based on our simulations we propose that SGLT2 is a glucose sensor and actively contributes to regulation of glucagon levels in humans which has clinical implications.