Our findings suggest that metformin-induced diarrhea in type 2 diabetes is in part caused by reduced Na+ and water absorption that is associated with NHE3 inhibition, probably by AMPK. Here, SLC9A3 is linked to type 2 diabetes mellitus.