Pathogens rely on expression of host susceptibility (S) genes to promote infection and disease. As DNA methylation is an epigenetic modification that affects gene expression, blocking access to S genes through targeted methylation could increase disease resistance. Xanthomonas phaseoli pv. manihotis, the causal agent of cassava bacterial blight (CBB), uses transcription activator-like20 (TAL20) to induce expression of the S gene MeSWEET10a. In this work, we direct methylation to the TAL20 effector binding element within the MeSWEET10a promoter using a synthetic zinc-finger DNA binding domain fused to a component of the RNA-directed DNA methylation pathway. We demonstrate that this methylation prevents TAL20 binding, blocks transcriptional activation of MeSWEET10a in vivo and that these plants display decreased CBB symptoms while maintaining normal growth and development. This work therefore presents an epigenome editing approach useful for crop improvement.