To address the mechanistic roles of ATP hydrolysis in RecA-promoted strand exchange reaction in homologous recombination, quantum mechanical calculations are performed on key parts of the RecA-DNA complex. We find that ATP hydrolysis may induce changes at the protein-DNA interface, resulting in the rearrangement of the hydrogen bond network connecting the ATP and the DNA binding sites.