Resistant hypertension is defined as uncontrolled blood pressure (BP) despite the use of three or more antihypertensive drugs of different classes. Although genetic factors may greatly contribute to hypertension with resistance to multiple drug classes, more than for general hypertension, its pathogenesis remains unknown. To reveal the genetic background of resistant hypertension, we categorized 32,239 patients whose data were obtained from the BioBank Japan Project, by prescription of 7 classes of antihypertensive drugs and performed genome-wide association studies (GWAS). Our GWAS identified four loci with significant association (P < 5 × 10 −8 ): rs6445583 in CACNA1D and rs12308051 in the intergenic region on chromosome 12 for angiotensin II receptor blockers, rs35497065 in FOXA3 for calcium channel blockers, and rs11066280 in HECTD4 for αβ-blockers. Because these loci are known to be susceptibility loci for hypertension and/or BP, our results indicate that resistant hypertension is caused by a combination of excessive BP and drug resistance to each antihypertensive pharmacological class. Furthermore, to investigate the genetic difference between BP traits and the treatment effectiveness of antihypertensive drugs, we performed gene-set analysis and calculated the genetic correlation continuously. Most of the genetic factors were in common between BP traits and antihypertensive effectiveness, but it seems that the genetic architecture of the drug response to antihypertensive treatment is more complicated than BP traits. This corresponds to the well-known mosaic theory of hypertension. Our findings reveal the complex pathogenesis of hypertension with resistance to multiple classes of antihypertensive drugs.