In patients with diabetes, factors such as osmotic diuresis owing to hyperglycemia and the use of SGLT2 inhibitors cause nocturia. This evidence concerns the gene SLC5A2 and diabetes mellitus.