Primer Design Basics: Melting Temperature (Tm) and GC Content
6 min read · Updated June 8, 2026
Good primers are the difference between a clean PCR band and a smear of nonspecific products. Most of primer design comes down to a few numbers: length, GC content, and melting temperature. This guide covers the rules of thumb and the Tm formulas worth knowing.
Rules of thumb for a good primer
- Length: 18–24 nucleotides is the usual sweet spot.
- GC content: aim for 40–60%.
- Tm: 52–62 °C is a common target; keep a primer pair within ~5 °C of each other.
- 3' end: avoid ending in long runs or three or more G/C bases (a 'GC clamp' of one or two is fine).
- Avoid self-complementarity and primer-dimers.
Melting temperature formulas
Melting temperature (Tm) is the temperature at which half of the primer–template duplex has melted apart. Two formulas are common.
The Wallace rule is a quick estimate for short primers (under ~14 nt): Tm = 2 × (A + T) + 4 × (G + C). It assumes every A/T contributes 2 °C and every G/C contributes 4 °C.
For longer primers a salt-adjusted formula is more accurate: Tm = 64.9 + 41 × (GC − 16.4) / N, where GC is the number of G+C bases and N is the primer length. Nearest-neighbour thermodynamic models are more precise still, but these two are enough for routine design.
Matching primer pairs
The forward and reverse primer should anneal at similar temperatures so they work at one annealing step. If their Tm values differ by more than about 5 °C, the PCR will favour one primer and you may get poor yield or nonspecific products. Adjusting primer length by a base or two is the easiest way to bring two Tm values together.
A typical workflow
- Pick candidate primer regions flanking your target.
- Check each primer's length, GC content and Tm.
- Tune lengths so the forward and reverse Tm match within ~5 °C.
- Screen for hairpins, self-dimers and cross-dimers before ordering.
Frequently asked questions
- What melting temperature should I aim for?
- A common target is 52–62 °C, with the forward and reverse primer within about 5 °C of each other so they anneal well at the same temperature.
- Which Tm formula is best?
- The Wallace rule is fine for very short oligos; a salt-adjusted formula is better for typical 18–24 nt primers. Nearest-neighbour models are the most accurate but require more parameters.