The rice XA21 receptor kinase confers robust resistance to the bacterial pathogen Xanthomonas oryzaepv. oryzae (Xoo). We developed a detached leaf infection assay to quickly and reliably measure activation of the XA21-mediated immune response using genetic markers. We used RNA sequencing of elf18 treated EFR:XA21:GFP plants to identify candidate genes that could serve as markers for XA21 activation. From this analysis, we identified eight genes that are up-regulated in both in elf18 treated EFR:XA21:GFP rice leaves and Xoo infected XA21 rice leaves. These results provide a rapid and reliable method to assess bacterial-rice interactions.