Aberrant expression of Synaptonemal complex protein 2 (SYCP2) in breast and ovarian cancers is associated with resistance to drugs targeting the DNA damage response. Here the authors show that SYCP2 confers drug resistance by promoting R-loop formation during transcription-coupled homologous recombination.