In this study, we demonstrate that lactate enhances non-homologous end joining (NHEJ) repair and chemoresistance in ovarian cancer by facilitating the assembly of the XRCC4–LIG4 complex. Here, XRCC4 is linked to ovarian cancer.