In
PCR, MgCl
2 is an essential cofactor that enhances the activity of Taq DNA
polymerase, which in turn increases the amplification rate of DNA. It is important to note, however, that higher concentrations of MgCl
2 can result in decreased specificity. In addition, MgCl
2 also helps primers anneal to the correct location on a DNA template; this is due to Mg
2+ binding to the negatively charged phosphate groups in DNA, thereby decreasing electrostatic repulsion between strands.