Post-translational modifications of proteins at DNA damage sites can facilitate the recruitment of DNA repair factors. Here, the authors show that mRNA is locally modified with m5C at sites of DNA damage by the RNA methyltransferase TRDMT1 to promote homologous recombination repair.