Hydrogen bonds commonly lend robustness and directionality to molecular recognition processes and supramolecular structures. In particular, the two or three hydrogen bonds in Watson-Crick base pairs bind the double-stranded DNA helix and determine the complementarity of the pairing. Watson and Crick pointed out, however, that the possible tautomers of base pairs, in which hydrogen atoms become attached to the donor atom of the hydrogen bond, might disturb the genetic code, as the tautomer is capable of pairing with different partners. But the dynamics of hydrogen bonds in general, and of this tautomerization process in particular, are not well understood. Here we report observations of the femtosecond dynamics of tautomerization in model base pairs (7-azaindole dimers) containing two hydrogen bonds. Because of the femtosecond resolution of proton motions, we are able to examine the cooperativity of formation of the tautomer (in which the protons on each base are shifted sequentially to the other base), and to determine the characteristic timescales of the motions in a solvent-free environment. We find that the first step occurs on a timescale of a few hundred femtoseconds, whereas the second step, to form the full tautomer, is much slower, taking place within several picoseconds; the timescales are changed significantly by replacing hydrogen with deuterium. These results establish the molecular basis of the dynamics and the role of quantum tunnelling.