How Agarose Gel Electrophoresis Separates DNA by Size
Agarose gel electrophoresis is a laboratory separation method that moves DNA fragments through a porous gel under an electric field, sorting them by size. DNA carries a negative charge, so it migrates toward the positive electrode, and shorter fragments thread through the gel matrix faster than longer ones.
Researchers use the technique to check PCR products, verify cloning results, estimate fragment sizes, and purify DNA for downstream steps such as ligation or sequencing. This guide covers the principle, the standard workflow, and how to read and troubleshoot the results.
How an Electric Field Moves DNA Through the Gel

The phosphate backbone gives DNA a uniform negative charge per base pair, so the electric field pulls every fragment toward the anode with similar force per unit length. The agarose matrix acts as a sieve: shorter fragments navigate the pores more easily, while longer fragments move more slowly. The result is a size-dependent separation in which migration distance is roughly logarithmic across the useful range of the gel.
Gel Concentration, Buffer, and Voltage Control the Separation
Agarose percentage sets the pore size and therefore the fragment range the gel resolves well. Low-percentage gels separate large fragments; high-percentage gels resolve small fragments but make large DNA migrate slowly.
| Agarose percentage | Useful size range | Typical application |
|---|---|---|
| 0.7-0.8% | Roughly 1-10 kb | Genomic DNA checks, large amplicons, plasmid topoisomers |
| 1.0-1.2% | Roughly 0.5-7 kb | Standard amplicons and digest analysis |
| 1.5-2.0% | Roughly 0.1-3 kb | Small PCR products, SNP fragments, digests under 1 kb |
The running buffer carries the current and maintains pH. TAE gives sharper resolution for large fragments and is common for recovery work, while TBE has higher buffering capacity for long runs. Voltage also matters: higher voltage moves DNA faster but generates heat, and excess heat can distort bands into smears or the classic smile pattern.
The Standard Workflow: From Gel Casting to Band Visualization
- Prepare the gel: Dissolve agarose in running buffer, add a DNA stain if the protocol requires it, and let the gel set in a casting tray with a comb.
- Mix samples with loading buffer: Loading buffer adds density so samples sink into the wells, and includes tracking dyes that show how far the run has progressed.
- Load samples and a DNA ladder: The ladder is a mixture of known fragment sizes that provides the reference scale for estimating band sizes.
- Run at constant voltage: Electrophorese until the tracking dye has traveled far enough for the expected fragments to resolve.
- Visualize and image the gel: Stain or use a pre-stained gel, view under UV or blue light, and capture an image for the record.
Reading the Gel: What Bands, Ladders, and Smears Tell You
Each band represents a population of DNA fragments of the same size. Compare band positions against the ladder to estimate size, and compare intensity between samples of the same reaction type for rough relative amounts. A single sharp band usually means one dominant product, while extra bands, smears, or a bright well edge point to nonspecific amplification, degraded template, or overloaded wells.
Common Gel Problems and How to Fix Them
| Problem | Likely cause | Check and fix |
|---|---|---|
| Smearing or diffuse bands | Degraded DNA, overloaded wells, or voltage set too high | Use fresh samples, load less DNA, lower the voltage |
| Faint or missing bands | Little template, low product yield, or weak staining | Increase template or cycles, verify the stain concentration |
| Smile pattern | Heat buildup in the center of the gel | Run at lower voltage or in a buffer with higher capacity |
| Unexpected extra bands | Nonspecific priming, primer-dimers, or contamination | Recheck primer design, include a no-template control |
| DNA stays in the well | Very large DNA, high salt in the sample, or solidified loading buffer | Dilute or clean the sample, verify buffer composition |
Connecting Gel Results to the Rest of the Lab Workflow
Gel images are rarely the end of the story. In cloning work the band is excised and purified for ligation, and in verification workflows the fragment is sequenced or compared against the expected construct. Keeping the gel image, the sample names, and the interpretation attached to the experiment record makes the result reproducible for reviewers and for the next person who continues the project.
Many teams store these images and annotations alongside sequence and cloning tools and their experiment records so the band that was cut, the construct it came from, and the documentation of the step stay in one place. Additional protocol guidance for molecular biology workflows is available in the Academy.
FAQ
Why does DNA move toward the positive electrode in gel electrophoresis?
DNA is negatively charged because every nucleotide carries phosphate groups that are ionized at the pH used in electrophoresis buffers. In an electric field, negatively charged molecules migrate toward the positive electrode, or anode. Because the charge per base pair is roughly uniform, the field pulls all fragments with similar force per unit length, and the agarose matrix, not the charge difference, is what separates fragments by size. This is why a ladder and samples migrate in the same direction, and why the wells are always placed at the negative end of the gel.
How do I choose the right agarose percentage for my fragment size?
Match the gel percentage to the size range of the fragments you need to resolve. Low-percentage gels around 0.7-0.8% separate larger fragments such as genomic DNA or plasmids, while 1.5-2% gels resolve small products under a few hundred base pairs that would otherwise run together. A good starting point for routine amplicon checks is 1-1.2%. If two bands are close in size and must be resolved, increase the percentage or run the gel longer at lower voltage. The size range guidelines printed on most protocols are starting points, not absolute limits.
What is the difference between agarose and polyacrylamide gels?
Agarose gels have larger pores and are the standard choice for DNA fragments roughly between a few hundred base pairs and tens of kilobases. Polyacrylamide gels form a finer matrix and resolve small fragments, down to single-base differences for denaturing sequencing gels, which is why they are used for short tandem repeats, mutation analysis, and protein separation. Polyacrylamide is more expensive to set up, and the unpolymerized reagents are toxic and require careful handling. For routine DNA checks, cloning verification, and size estimation, agarose is simpler and sufficient.
What causes smeared bands and how do I fix them?
Smearing usually comes from degraded template, too much DNA loaded, voltage set too high, or insufficient staining. Nuclease contamination degrades the sample into a continuum of fragment sizes that appears as a smear instead of discrete bands. Overloading pushes large amounts of DNA into a broad zone, and high voltage generates heat that distorts migration. Fix the workflow by using fresh, properly stored samples, loading less DNA, running at a lower voltage, and checking the stain concentration. If only one sample smears while the ladder looks clean, the problem is in that sample rather than the gel itself.
Can I run RNA on an agarose gel?
Yes, RNA can be separated on an agarose gel, but the gel must be handled under RNase-free conditions, and the samples denatured before loading so secondary structure does not distort migration. Many protocols use a formaldehyde-agarose gel for RNA integrity checks, while native gels work for some applications with careful handling. The characteristic bands of ribosomal RNA, 28S and 18S in mammalian samples, are often used as an integrity check before downstream analysis. For most DNA workflows, however, the same equipment and buffer systems are used without the RNA-specific precautions.
Why do I need a DNA ladder on every gel?
A DNA ladder provides the size reference that makes band positions interpretable. Because migration distance depends on gel percentage, voltage, run time, and buffer, a band position has no absolute meaning without a known-size marker run in the same gel under identical conditions. The ladder also acts as a control for the run itself: clean, evenly spaced ladder bands indicate the gel and buffer performed correctly. Choose a ladder that brackets the expected fragment sizes, and note its name and lot in the record so results stay reproducible across gels and over time.
How long does a gel run take and how do I know when to stop?
Run time depends on gel percentage, gel length, voltage, and buffer. A typical mini-gel run takes roughly 30 to 60 minutes at 100-120 volts, while large gels run overnight at low voltage for better resolution of big fragments. The tracking dyes in the loading buffer are the practical guide: bromophenol blue migrates at roughly the position of a few hundred base pairs in a 1% gel, while xylene cyanol runs near larger fragments. Stop the run when the dye front has traveled far enough that the fragments of interest will have resolved.
Conclusion
Agarose gel electrophoresis separates DNA by size through a simple combination of uniform charge and a porous matrix, and it remains one of the most reliable checks in molecular biology. Gel percentage, buffer, and voltage shape the resolution, and the workflow from casting to imaging is short enough to repeat when troubleshooting. Labs that want to keep gel images, sequence files, and experiment records in one connected workspace can evaluate Zettalab's molecular biology tools.