
Hairpins or primer dimers may affect primer availability; a prediction alone does not establish the cause of PCR failure.
Use this page when PCR failed and you need to decide whether hairpins, self-dimers, or cross-dimers are actually the problem before you redesign primers or keep changing conditions. It walks through gel symptoms, ΔG screening cues at the annealing temperature, tool comparisons, and rescue steps. If you already know the next action, open the Secondary Structure Predictor, How to Detect Secondary Structures, Primer Analyzer, and Design & Validate PCR Primers.
Recheck structure risk in the core predictor before changing cycling conditions. Run both primers at the annealing temperature, then use this diagnosis page when the result points to a real PCR failure pattern or you need to choose between redesign and reaction-condition rescue.
Secondary structures can contribute to a PCR problem when primers or templates form a self-structure or primer-primer interaction instead of the intended primer-template duplex. The main modes to check are intramolecular hairpins, self-dimers between copies of the same primer, and cross-dimers between forward and reverse primers. Any of these may reduce yield or contribute to non-specific products, but a prediction alone does not identify the cause of a failed reaction.
The predictor reports a model-based Gibbs free energy (ΔG) for the selected conditions. More negative values indicate a more stable predicted structure. The value depends on temperature and model assumptions, so a result at room temperature cannot establish risk at the annealing temperature. Run the prediction at the intended assay temperature and treat the result as a screening signal, not proof that the structure caused a failed reaction.
| Structure Type | Formation | Review cue (at Ta) | What to inspect |
|---|---|---|---|
| Hairpin | Intramolecular (self-folding) | Near or below about −3 kcal/mol | Stem location and whether it overlaps the primer's 3′ binding region |
| Self-Dimer | Intermolecular (same primer) | Near or below about −5 kcal/mol | 3′-end pairing and whether the interaction can be extended |
| Cross-Dimer | Intermolecular (different primers) | Near or below about −5 kcal/mol | 3′-end pairing, assay context, and observed reaction controls |
Important: These values are practical review cues, not universal pass/fail thresholds or evidence of PCR failure. Evaluate ΔG at the annealing temperature and consider 3′-end involvement and assay context.
Not every failed reaction is a structure problem. Use the gel pattern and primer checks below to decide whether you should keep troubleshooting PCR conditions or move straight into structure analysis and redesign.
No product at all
→ A structure near the primer-binding region is one possible cause; check its predicted ΔG at Ta and inspect 3′-end involvement. Also check whether the template is intact and the primer sequence is correct.
Short product with weak or no target
→ Primer-dimer amplification is one possible cause. Check the predicted hetero-dimer alignment and assay controls; product size alone does not establish the cause.
Multiple non-specific bands
→ Non-specific priming is one possibility. Review primer specificity and cycling conditions; test condition changes against controls and follow reagent instructions.
Correct band but weak yield
→ Structure competition is one possible cause. Review the predicted hairpin at the assay temperature, then test a controlled condition change before deciding whether redesign is needed.
Basic reaction check: Before attributing a failure to structure, check template integrity, primer sequence and concentration, reagent condition, and cycling settings against the assay protocol.
Hairpins form when a single-stranded primer folds back on itself, creating an intramolecular stem-loop structure. The stem is stabilized by Watson-Crick base pairing between complementary regions within the primer, while the loop is the unpaired region connecting the two stem halves.
When a primer forms a hairpin at the annealing temperature, the stem region is unavailable for hybridization with the template. If the hairpin involves the 3' end of the primer, it can also serve as a false priming site, leading to polymerase extension of the hairpin structure rather than the intended template. This produces non-specific products or primer-dimer artifacts.
Hairpin stability is calculated using the nearest-neighbor model with loop entropy corrections from SantaLucia, J. Jr. & Hicks, D. (2004). "The Thermodynamics of DNA Structural Motifs." Annual Review of Biophysics and Biomolecular Structure, 33: 415–440. Loop sizes of 3–30 nt are supported, with loops of 4 nt having the most favorable (most negative) loop entropy contribution.
Self-dimers (homodimers) form when two copies of the same primer hybridize through complementary regions. Their practical effect depends on the predicted alignment, reaction conditions, and primer concentration.
Self-dimers are most dangerous when the 3' end of the primer is involved in the dimer structure. A base-paired 3' end is an extendability review signal in a dimer context. Whether a predicted alignment can be extended depends on the specific 3'-end geometry and reaction context; do not infer extension from pair count alone.
Example: Self-dimer with 3' end involvement
5'-ATCGATCGATCG-3'
3'-GCTAGCTAGCTA-5'
↑ Both 3' ends are base-paired → inspect whether this geometry is extendable under the assay conditions
Design check: Review self-dimer alignments that include a primer 3' end even when total ΔG is borderline. Pairing length and the reaction context affect whether that alignment can be extended.
Cross-dimers (heterodimers) form between two different primers in the reaction — typically the forward and reverse primers. In multiplex PCR, the number of potential cross-dimer interactions grows combinatorially: for n primers, there are n(n−1)/2 possible pairs.
A short non-target product or an additional melt-curve feature can be consistent with primer-dimer formation, but neither observation identifies its cause by itself. Check the assay controls and product identity before attributing a band or melt feature to a cross-dimer.
Multiplex tip: For multiplex PCR with 4+ primer pairs, use systematic screening. Use the predictor for each individual sequence or selected primer pair; it does not run a full panel-wide pairwise screen in one submission. Open the Secondary Structure Predictor and check the self-dimers and relevant cross-dimer pairs required by your assay.
A failed or weak PCR result does not by itself identify secondary structure as the cause. Use this sequence of checks to separate a predicted structure risk from an observed assay outcome:
For threshold context, see the ΔG threshold reference. The predictor estimates structure stability; it does not establish gel outcomes or guarantee that a redesign will rescue PCR.
Structure tools can differ in algorithms, supported inputs, and condition handling. If a result drives a consequential design decision, compare methods only with the same sequence and conditions and consult the method documentation.
| Tool | Hairpin | Self-Dimer | Cross-Dimer | Custom T | Supported scope | Access note |
|---|---|---|---|---|---|---|
| OligoPool | Yes | Yes | Yes | Yes | Single sequence or selected primer pair | Public browser calculation; verify current account terms |
External tools may differ in algorithms, supported structures, parameter sets, batch limits, and account terms. Check each provider's current documentation before relying on a capability or access statement; this guide does not publish an unverified cross-tool feature matrix.
If the predicted structure overlaps a functionally important region, assess alternative sequence or binding-site designs while preserving the assay target and other validated primer requirements.
Check annealing and cycling settings against the primer design and reagent protocol. If testing a temperature change, use a controlled comparison and interpret the result with appropriate controls.
Some assays use additives such as DMSO or betaine. Confirm that the selected additive is compatible with the polymerase and buffer, and follow current reagent instructions for concentration and cycling adjustments.
When an additive is appropriate, compare one change at a time with a no-additive control where possible. Record the exact conditions so results remain interpretable.
Use the polymerase and setup procedure specified for the assay. Enzyme choice alone does not diagnose a predicted hairpin or dimer as the cause of failure.
Check primer concentration against the assay and reagent protocol. If you test a change, document it and compare with the original condition; concentration changes can affect amplification as well as primer-primer interactions.
Template integrity check: Review template quality using the method appropriate for its type and the assay. A failed reaction does not distinguish template, reagent, cycling, specificity, or predicted structure causes by itself.
Condition check: A controlled temperature comparison can help test whether cycling settings affect the result, but it does not by itself prove or exclude a secondary-structure cause. Interpret it with assay controls and the reagent protocol.
Redesign check: When you redesign a primer to avoid a hairpin, always re-check for cross-dimer formation with the primer pairs required by your assay. A sequence change can change other predicted interactions, so rerun the relevant pair checks before ordering. Use our Secondary Structure Predictor with each relevant primer pair.
A predicted structure does not prove the cause of a PCR failure. If a reagent manufacturer documents an additive or cycling adjustment for your polymerase and assay, test one change at a time against an otherwise matched control and record the result.
DMSO and betaine are used in some PCR protocols, but this guide does not prescribe a universal recipe or claim that either additive will resolve a predicted hairpin or dimer. Re-check structure predictions at the relevant assay temperature and consult the current reagent instructions.
Detect hairpins, self-dimers, and cross-dimers with ΔG calculations at custom temperatures.
Calculate melting temperature with SantaLucia nearest-neighbor parameters and Owczarzy salt corrections.
All-in-one primer quality report: Tm, GC, length, secondary structures.
Check GC percentage and distribution to identify structure-prone regions.
Calculate Tm, molecular weight, extinction coefficient, and more.
Prepare primer dilutions for optimized PCR reactions.
Continue with the page or tool that matches whether the failure is structural, thermal, or part of a broader primer redesign loop.
Go back to the broader primer design guide once the structure failure is understood.
Use this when failed PCR also points to mismatched thermal assumptions between tools or buffers.
Open this if the next blocker is aligning annealing logic across different calculators.
Use the walkthrough when you want a direct sequence for hairpin and dimer checks.
Jump straight into the calculator if you are ready to test the failing primer pair now.