Non-homologous DNA end-joining (NHEJ)--the main pathway for repairing double-stranded DNA breaks--functions throughout the cell cycle to repair such lesions. Defects in NHEJ result in marked sensitivity to ionizing radiation and ablation of lymphocytes, which rely on NHEJ to complete the rearrangement of antigen-receptor genes. NHEJ is typically imprecise, a characteristic that is useful for immune diversification in lymphocytes, but which might also contribute to some of the genetic changes that underlie cancer and ageing.