Plants are constantly exposed to microbial pathogens in the environment. One branch of innate plant immunity is mediated by cell-membrane-localized receptors, but less is known about associations between DNA damage and plant immune responses. Here, we show that rice (Oryza sativa) mesophyll cells are prone to DNA double-stranded breaks (DSBs) in response to ZJ173, a strain of Xanthomonas oryzae pv. oryzae (Xoo). The DSB signal transducer ataxia telangiectasia mutated (ATM), but not the ATM and Rad3-related branch, confers resistance against Xoo. Mechanistically, the MRE11–ATM module phosphorylates suppressor of gamma response 1 (SOG1), which activates several phenylpropanoid pathway genes and prompts downstream phytoalexin biosynthesis during Xoo infection. Intriguingly, overexpression of the topoisomerase gene TOP6A3 causes a switch from the classic non-homologous end joining (NHEJ) pathway to the alternative NHEJ and homologous recombination pathways at Xoo-induced DSBs. The enhanced ATM signaling of the alternative NHEJ pathway strengthens the SOG1-regulated phenylpropanoid pathway and thereby boosts Xoo-induced phytoalexin biosynthesis in TOP6A3-OE1 overexpression lines. Overall, the MRE11–ATM–SOG1 pathway serves as a prime example of plant–pathogen interactions that occur via host non-specific recognition. The function of TOP6-facilitated ATM signaling in the defense response makes it a promising target for breeding of rice germplasm that exhibits resistance to bacterial blight disease without a growth penalty.