Bacterial leaf streak (BLS), caused by Xanthomonas oryzae pv. oryzicola (Xoc), is a major bacterial disease in rice. Transcription activator-like effectors (TALEs) from Xanthomonas can induce host susceptibility (S) genes and facilitate infection. However, knowledge of the function of Xoc TALEs in promoting bacterial virulence is limited. In this study, we demonstrated the importance of Tal10a for the full virulence of Xoc. Through computational prediction and gene expression analysis, we identified the hexokinase gene OsHXK5 as a host target of Tal10a. Tal10a directly binds to the gene promoter region and activates the expression of OsHXK5. CRISPR/Cas9-mediated gene editing in the effector binding element (EBE) of OsHXK5 significantly increases rice resistance to Xoc, while OsHXK5 overexpression enhances the susceptibility of rice plants and impairs rice defense responses. Moreover, simultaneous editing of the promoters of OsSULTR3;6 and OsHXK5 confers robust resistance to Xoc in rice. Taken together, our findings highlight the role of Tal10a in targeting OsHXK5 to promote infection and suggest that OsHXK5 represents a potential target for engineering rice resistance to Xoc.