Our study indicates that a personalized medicine approach by tailoring sulfonylurea therapy of T2D patients according to their genotypes of KCNJ11, ABCC8, and TCF7L2 could attain an optimal treatment efficacy. The gene discussed is TCF7L2; the disease is type 2 diabetes mellitus.