BRCA2 has an essential function in DNA repair by homologous recombination, interacting with RAD51 via short motifs in the middle and at the C terminus of BRCA2. Here, we report that a conserved 36-residue sequence of human BRCA2 encoded by exon 27 (BRCA2Exon27) interacts with RAD51 through the specific recognition of oligomerized RAD51 ATPase domains. BRCA2Exon27 binding stabilizes the RAD51 nucleoprotein filament against disassembly by BRC repeat 4. The protection is specific for RAD51 filaments formed on single-stranded DNA and is lost when BRCA2Exon27 is phosphorylated on Ser3291. We propose that productive recombination results from the functional balance between the different RAD51-binding modes of the BRC repeat and exon 27 regions of BRCA2. Our results further suggest a mechanism in which CDK phosphorylation of BRCA2Exon27 at the G2-M transition alters the balance in favor of RAD51 filament disassembly, thus terminating recombination.