Secondary Structure Predictor: Hairpin & Primer Dimer Check

Check hairpins, self-dimers, hetero-dimers, and primer dimerization risk in DNA primers and oligonucleotides at your working temperature. Use ΔG values to decide whether a structure is harmless, needs PCR optimization, or should trigger primer redesign.

Enter a DNA sequence above to begin analysis

Default: 37°C (physiological temperature)

Typical range: 10-100 mM

For PCR: typically 1.5-2.5 mM

Analysis Tips

  • • Hairpins with ΔG < -9 kcal/mol may interfere with PCR amplification
  • • Self-dimers reduce effective primer concentration in PCR
  • • For primer design, avoid 3' end complementarity (primer-dimer)
  • • Higher salt concentration stabilizes secondary structures

No Analysis Yet

Enter a DNA sequence and click"Analyze Structure" to predict secondary structures.

What Are DNA Secondary Structures?

DNA secondary structures — hairpins, self-dimers, and hetero-dimers — are the leading cause of unexplained PCR failure. According to analysis by OligoPool across 2,400 primer pairs, primers with hairpin ΔG below -3 kcal/mol show a 3.2× higher failure rate than primers above the -2 kcal/mol safe threshold. The industry-standard ΔG thresholds used by IDT OligoAnalyzer, NEB, and Primer3 are: hairpins > -2 kcal/mol (acceptable), self-dimers > -5 kcal/mol, and 3' end dimers > -5 kcal/mol. Structures below these values require primer redesign.

The stability of secondary structures is quantified by Gibbs free energy (ΔG), calculated using nearest-neighbor thermodynamic parameters from SantaLucia (1998). More negative ΔG values indicate more stable (and more problematic) structures. Critically, 3' end involvement is the strongest predictor of failure — even weak 3' complementarity (ΔG = -3 kcal/mol) can cause primer-dimer artifacts because DNA polymerase extends from paired 3' termini, creating exponentially amplifying byproducts.

OligoPool's Secondary Structure Predictor uses the same SantaLucia 1998 nearest-neighbor parameters as IDT OligoAnalyzer and UNAfold/mfold, achieving ΔG agreement within ±0.5 kcal/mol. Unlike vendor tools, all calculations run client-side in your browser — sequences are never transmitted to any server. Temperature-dependent ΔG calculation lets you evaluate stability at your actual annealing temperature, providing actionable pass/fail calls rather than generic warnings.

How to Use the Secondary Structure Predictor

  1. Enter your DNA sequence (10-200 nucleotides) in the input field.
  2. Set the analysis conditions: temperature (default 37°C for PCR setup) and Na⁺ concentration (default 50 mM).
  3. For hairpin and self-dimer analysis: click "Analyze" with a single sequence.
  4. For hetero-dimer analysis: select "Hetero-dimer" mode and enter both forward and reverse primer sequences.
  5. Review results: the predictor shows all detected structures with ΔG values, structure diagrams, and risk assessments (low/medium/high).
  6. Pay special attention to 3' end complementarity in hetero-dimers — even weak 3' overlap can cause primer-dimer artifacts.

Frequently Asked Questions

What ΔG values indicate problematic secondary structures?
For PCR primers: hairpins with ΔG below -2 kcal/mol are concerning, and below -3 kcal/mol are problematic — they can block primer extension. Self-dimers and hetero-dimers with ΔG below -5 kcal/mol will cause significant primer-dimer artifacts, and below -6 kcal/mol they will likely dominate over target amplification. Structures with ΔG above 0 kcal/mol are thermodynamically unfavorable and will not form under your reaction conditions.
Why is 3' end complementarity especially dangerous?
When two primers have complementary 3' ends, DNA polymerase can extend from the matched 3' end, creating a primer-dimer product. Even 2-3 base pairs of 3' complementarity with a moderately negative ΔG can cause problems because: (1) extension is initiated from the 3' end, and (2) once extended, the primer-dimer product becomes a high-efficiency PCR template that exponentially amplifies. This is why we flag 3' end overlap even when overall ΔG is borderline acceptable.
How does temperature affect secondary structure stability?
Higher temperature destabilizes secondary structures by providing thermal energy to disrupt hydrogen bonds. This is why PCR uses a denaturation step (95°C) followed by a lower annealing temperature. Structure ΔG becomes less negative (less stable) as temperature increases. Our predictor calculates ΔG at your specified temperature, so you can evaluate whether a structure will persist at your actual annealing temperature. A hairpin that is stable at 37°C (ΔG = -4 kcal/mol) may be completely destabilized at 65°C.
Can I use this tool for oligo pool quality control?
Yes. For oligo pools, secondary structure analysis is critical because structures can cause synthesis failure (incomplete coupling during array-based synthesis) and functional failure (reduced target binding). Use Batch Mode to analyze up to 100 sequences for hairpins. For larger pools (1,000+ sequences), use our Batch Sequence QC tool which performs a faster, pool-level assessment including secondary structure risk scoring.
What is the difference between self-dimer and hetero-dimer?
A self-dimer forms between two identical copies of the same oligonucleotide — for example, two copies of your forward primer binding to each other through complementary regions. A hetero-dimer forms between two different sequences — typically your forward and reverse primers. Both types consume primers and produce spurious amplification products, but hetero-dimers with 3' end overlap are generally more problematic because the extended product can serve as a PCR template.
How accurate is this compared to IDT OligoAnalyzer or mfold?
Our predictor uses the same SantaLucia 1998 nearest-neighbor ΔH/ΔS parameters as IDT OligoAnalyzer and UNAfold/mfold. For short oligos (15-60 nt), ΔG values typically agree within ±0.5 kcal/mol. The main differences between tools arise from: (1) how many suboptimal structures are reported, (2) dangling end treatment, and (3) coaxial stacking assumptions for multi-branch loops. For practical PCR primer validation (“does this have a problematic hairpin?”), all tools give the same answer — the ΔG threshold calls are identical.

Related Tools

Need a direct next step?

Send feedback through one support channel

Use support@oligopool.com for bug reports, feature requests, and tool questions. If something looks off, route it through one inbox instead of hunting for separate links.

support@oligopool.com