Xanthomonas oryzae pv. oryzae (Xoo) causes bacterial blight, the most devastating bacterial disease of rice worldwide. The major disease resistance gene Xa3/Xa26 confers a durable resistance to Xoo with a dosage effect. However, the mechanism of Xa3/Xa26-mediated resistance remains to be elucidated. We created nearisogenic lines carrying Xa3/Xa26 with a background of indica and japonica, the two major subspecies of Asian cultivated rice. Analyzing these rice lines showed that the japonica background facilitated resistance to Xoo, which was associated with increased Xa3/Xa26 expression, compared with rice lines with an indica background. This characteristic of Xa3/Xa26 was related to the WRKY45 locus, which had higher expression with the japonica background than with the indica background. However, the two alleles of the WRKY45 locus had different expression levels, with the WRKY45-1 expression level being higher than that of WRKY45-2 for both japonica and indica backgrounds. In addition, the resistance level conferred by Xa3/Xa26 was higher in the presence of WRKY45-1 than in the presence of WRKY45-2 for both japonica and indica backgrounds. Xa3/Xa26-mediated resistance was associated with increased accumulation of jasmonic acid (JA), JA-isoleucine, and terpenoid and flavonoid phytoalexins. Exogenous JA application enhanced Xa3/Xa26-mediated resistance. These results not only provide more knowledge toward understanding the mechanism of Xa3/Xa26-mediated resistance but also offer the best choice for using Xa3/Xa26 for rice resistance improvement, specifically, a japonica background with the WRKY45-1 allele.