Good primers are the difference between a clean PCR band and a smear of non-specific products. This guide walks through the rules that matter, in the order you actually use them, with calculators built into the page so you can design and check a primer pair as you read.
The rules that matter
- Length: 18–24 nt. Long enough for specificity, short enough to anneal efficiently.
- GC content: 40–60%. Balances stability and the ability to denature.
- Melting temperature: ~55–65 °C, and the two primers within ~5 °C of each other so one annealing temperature suits both.
- 3′ end: end in a G or C (a “GC clamp”) for stable priming, but avoid 3+ G/C in the last 5 bases, which encourages mispriming.
- Specificity: the primer should match only your target — check it against the genome.
- Avoid secondary structure: minimise self-dimers, hetero-dimers and hairpins, especially at the 3′ end.
Step 1 — Pick your binding regions
Choose two regions flanking your target. The forward primer matches the sense (top) strand. The reverse primer is the reverse complement of the sense strand at the 3′ end of your region — generate it here:
Accepts A, C, G, T, U and IUPAC ambiguity codes (R, Y, S, W, K, M, B, D, H, V, N). Other characters are ignored. RNA is detected automatically (U without T).
Step 2 — Check length, GC and melting temperature
Paste each primer to read its length, GC% and Tm. Aim to keep the two Tm values within a few degrees:
A, C, G, T only. Spaces, numbers and line breaks are ignored. Calculation is instant.
For a deeper look at a single oligo (including molecular weight), use the oligo analyzer; for short primers, see the Wallace-rule Tm.
Step 3 — Set the annealing temperature
Start about 3–5 °C below the lower primer Tm. If you see weak or non-specific bands, run a temperature gradient to optimise. High-fidelity polymerases (Q5, Phusion) often use higher annealing temperatures than Taq — follow the enzyme’s guidance.
Step 4 — Check specificity
Confirm your primers bind only the intended target. Run them through Primer-BLAST or check candidate sites with BLAST. Watch for unintended priming sites that could give extra products.
Step 5 — Avoid dimers and hairpins
Self- and hetero-dimers (especially with complementary 3′ ends) and hairpins waste primer and create artefacts. Adjust the sequence if you see strong 3′ complementarity. For detailed secondary-structure analysis, IDT’s OligoAnalyzer is the reference tool.
If you’re cloning
For restriction cloning, add the enzyme site (plus a few protective bases) to the 5′ end of each primer, and confirm the site doesn’t already cut your insert with NEBcutter. Map the final construct with PlasMapper.
Worked example
A 20-mer forward primer with 55% GC and a Tm of ~60 °C, paired with a reverse primer (reverse complement of the 3′ target region) of similar Tm, would run at a starting annealing temperature of about 56 °C. Verify both Tm values above before ordering.
Frequently asked questions
What is the ideal primer length?
18–24 nucleotides for most applications — specific enough to bind uniquely, short enough to anneal efficiently.
How close should the two primer Tm values be?
Within about 5 °C, so a single annealing temperature works well for both.
What is a GC clamp?
A G or C at the 3′ end that stabilises priming. Avoid more than 2–3 G/C in the last five bases, which promotes mispriming.
How do I make the reverse primer?
Take the 3′ end of your target region on the sense strand and compute its reverse complement (use the tool in Step 1); that is your reverse primer, 5’→3′.