Thiazide-induced potassium loss may contribute to new onset diabetes (NOD). KCNJ1 encodes a potassium channel and one study observed that a KCNJ1 single-nucleotide polymorphism (SNP) was associated with changes in fasting glucose (FG) during hydrochlorothiazide (HCTZ) treatment. We used linear regression to test association of KCNJ1 SNPs and haplotypes with FG changes during HCTZ treatment in the Pharmacogenomic Evaluation of Antihypertensive Responses (PEAR) study. We used logistic regression to test association of KCNJ1 variation with NOD in HCTZ-treated patients from the International Verapamil SR Trandolapril Study (INVEST). Multivariate regression analyses were performed by race/ethnicity with false discovery rate (FDR) correction. In PEAR blacks, a KCNJ1 SNP was associated with increased FG during HCTZ treatment (beta=8.47, P(FDR)=0.009). KCNJ1 SNPs and haplotypes were associated with NOD risk in all INVEST race/ethnic groups (strongest association: odds ratio 2.14 (1.31-3.53), P(FDR)=0.03). Our findings support that KCNJ1 variation is associated with HCTZ-induced dysglycemia and NOD.