Thrap3 is recruited to R-loop-forming loci, and loss of Thrap3 increases R-loop accumulation and DNA damage, thereby increasing the amount of replication stress, demonstrating that Thrap3 plays an important role in resolving R-loop-associated DNA damage in cancer cells. Here, THRAP3 is linked to cancer.