Skip to main content
v2026.11,772 entries · CC-BY 4.0

What Is Gel Electrophoresis? How It Works and Key Variants

Gel electrophoresis separates DNA, RNA, or protein fragments by size using an electric field pulling them through a porous gel matrix. This guide covers how it works, the agarose vs. PAGE/SDS-PAGE distinction, related techniques, and practical relevance for lab management.

Ask about What Is Gel Electrophoresis? How It Works and Key Variants

Answers are drawn from this guide and the rest of the CASRAI corpus, with a link to every source.

Answers are AI-generated from CASRAI’s own published pages and can be wrong, so check the linked sources before relying on one; your question is logged without personal data — never sold, never used to train a third-party model — to show us what CASRAI is missing, so please do not type personal or confidential details. How we use this

Written and maintained by CASRAI Editorial Board

Last updated

Gel electrophoresis is a laboratory technique that separates fragments of DNA, RNA, or protein by size, using an electric field to pull them through a porous gel matrix. Smaller molecules thread through the gel’s pores faster than larger ones, so after a fixed run time the sample has spread into a ladder of distinct bands ordered by size, from largest (closest to where the sample started) to smallest (furthest along). That single, simple sorting mechanism — separation by size under an electric field — is the working principle behind an enormous share of routine molecular biology and biochemistry, which is why it’s one of the first techniques a new lab member learns.

What Problem It Solves

Most molecular biology and biochemistry work generates a mixture: a PCR reaction, a restriction digest, a cell lysate, a protein purification fraction. Before a researcher can trust that mixture for a downstream step — sequencing, cloning, an antibody assay, a mass-spec run — they usually need to answer a basic question: is the fragment or protein of interest actually the size it should be, is it intact rather than degraded, and is it reasonably free of the wrong-sized contaminants? Gel electrophoresis answers that question directly and cheaply. Running a sample next to a molecular-weight ladder of known sizes turns “did this reaction work?” into a visual, size-resolved answer in an hour or two, which is why it functions as a checkpoint gel almost everywhere in a wet lab — confirming a PCR product before sequencing, verifying a plasmid digest before cloning, checking that extracted RNA hasn’t degraded, or confirming a protein purification step yielded the right molecular weight.

How It Works

Nucleic acids and proteins can both be made to carry a net electric charge in solution, which is what makes electrophoresis possible. DNA and RNA are naturally negatively charged along their phosphate backbone; proteins are typically coated with a charged detergent (see SDS-PAGE below) so they behave the same way for this purpose. When a charged sample is loaded into wells at one end of a gel and the gel is placed in an electric field, the molecules migrate toward the oppositely charged electrode. The gel itself — a cross-linked polymer that sets into a mesh of microscopic pores — acts as a sieve: small fragments pass through the pores easily and travel fast, while large fragments have to work harder to squeeze through and travel more slowly. Run for a fixed time, this produces separation purely by size. Afterward the gel is stained (commonly with a fluorescent dye for nucleic acids, or a protein stain such as Coomassie blue) and imaged, revealing a ladder of bands whose position indicates approximate size.

The Two Main Variants

“Gel electrophoresis” is a general term covering two main families of technique, distinguished mainly by what gel matrix is used and what kind of molecule it’s built to resolve:

  • Agarose gel electrophoresis is the standard method for separating DNA or RNA fragments. Agarose gels have relatively large pores, well suited to nucleic acid fragments that typically range from tens to tens of thousands of base pairs. It’s the default gel type for checking a PCR product, a restriction digest, or plasmid preparation. See our full walkthrough: Agarose Gel Electrophoresis Protocol Basics, which covers agarose percentage selection, buffer choice, staining, and troubleshooting a gel that doesn’t run clean.
  • Polyacrylamide gel electrophoresis (PAGE) uses a polyacrylamide matrix with much smaller, more tunable pores, suited to resolving proteins (and, in some forms, very small nucleic acid fragments) at finer resolution than agarose allows. The most common form is SDS-PAGE, where samples are treated with the detergent sodium dodecyl sulfate (SDS) so proteins unfold and take on a uniform negative charge proportional to their size, letting the gel separate them by molecular weight rather than by native shape or charge. SDS-PAGE is the workhorse first step behind most western blots and protein-purity checks. See our full guide: SDS-PAGE: How Protein Gel Electrophoresis Works, Gel Selection, and Troubleshooting.

Beyond these two, there are more specialized variants used for particular jobs — pulsed-field gel electrophoresis for very large DNA fragments (used in some strain-typing and structural-variant work), and native PAGE, which skips the SDS denaturing step to keep a protein folded and separate it by native charge and shape instead of molecular weight alone. These are worth knowing exist, but agarose and SDS-PAGE cover the large majority of routine use.

How It Differs From Related Techniques

Gel electrophoresis is often confused with, or mentioned alongside, a few adjacent techniques it’s worth distinguishing:

  • Chromatography (including size exclusion chromatography) also separates molecules by physical properties, but does so by passing a sample through a column packed with a stationary phase rather than through a gel under an electric field — useful when a sample needs to be purified in usable, non-denatured quantities rather than just visualized. See Size Exclusion Chromatography for the column-based approach to molecular-weight separation.
  • Capillary electrophoresis uses the same underlying electric-field separation principle as gel electrophoresis, but runs the sample through a thin capillary filled with a liquid or gel polymer instead of a slab gel, typically with automated, higher-resolution detection — the basis of most modern DNA sequencers and automated fragment analyzers.
  • qPCR answers a related but different question — how much of a target sequence is present — using fluorescence rather than a gel; researchers sometimes run a conventional gel to check a qPCR primer pair before trusting a full qPCR run. See qPCR and RT-qPCR.

If you arrived at this page looking for a specific protocol rather than the general concept, the variant guides above (agarose, SDS-PAGE) are the practical how-to references; this page is the broader “what is it and how does the family of techniques work” entry point.

Who Uses It

Gel electrophoresis is run constantly in molecular biology, biochemistry, genetics, and microbiology labs, and shows up in adjacent fields too: forensic science uses DNA-focused variants for fragment analysis, and clinical/diagnostic labs use protein and nucleic acid electrophoresis for tests ranging from hemoglobin variant analysis to confirmatory diagnostic assays. It’s also a standard teaching technique, since the visual, hands-on result (a gel image with clear bands) makes an otherwise abstract idea — molecular size — directly observable. Related overview pages on this site: What Is Molecular Biology? and What Is Proteomics?, and for the analytical instruments run alongside gels in many workflows, see What Is a Plate Reader? and What Is a Flow Cytometer?.

Practical Relevance for Research Administration and Lab Management

Gel electrophoresis is inexpensive per run but not free, and it recurs constantly enough that its costs are worth tracking at the lab-management level rather than treated as a rounding error. The recurring consumables — gel-casting reagents, running buffer, stains, pre-cast gel cassettes, and a molecular-weight ladder for every run — are a genuine line item in a molecular biology lab’s supply budget, and because the technique is run so frequently, standardizing on a shared protocol and shared equipment (a common power supply and electrophoresis chamber, a shared gel-imaging system) across a group or core facility is a common cost-control step. It also carries real safety and compliance considerations worth flagging to anyone overseeing lab operations: some nucleic-acid stains are mutagens requiring specific handling and disposal procedures, and running gels involves a high-voltage power supply, so new lab members typically need documented safety training before running one unsupervised. For research administrators, understanding what the technique actually does is often what’s needed to correctly interpret a budget justification, equipment request, or safety protocol that references it, without needing to run one yourself.

Frequently Asked Questions

What is gel electrophoresis used for?

Mainly to check the size and integrity of DNA, RNA, or protein samples — confirming a PCR product or restriction digest worked as expected, verifying plasmid identity, checking that extracted nucleic acid is intact, or confirming a protein purification step or western blot sample is the expected molecular weight.

What is the difference between agarose gel electrophoresis and SDS-PAGE?

Agarose gel electrophoresis separates DNA or RNA fragments using an agarose gel matrix; SDS-PAGE separates proteins using a polyacrylamide gel matrix and the detergent SDS to give proteins a uniform charge proportional to size. They’re built for different molecule types and aren’t interchangeable.

Is gel electrophoresis the same as capillary electrophoresis?

They share the same underlying principle — separation by size under an electric field — but gel electrophoresis runs the sample through a slab gel viewed after staining, while capillary electrophoresis runs it through a thin liquid-filled capillary with automated, real-time detection, which is the basis of most modern automated DNA sequencing and fragment-analysis instruments.

How long does a gel electrophoresis run take?

It depends on the gel type, percentage, voltage, and how much separation is needed, but a typical diagnostic agarose or SDS-PAGE run for routine lab checks generally takes somewhere from thirty minutes to a few hours.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →

Regulatory Radar

Stop finding out after the fact

$29/month, cancel anytime. Daily digest updates from our analysis, a dashboard holding the same items, and a cited assistant for everything they raise.

  • Federal Register, Federal Register+, Grants.gov, Regulations.gov, NSF News, UKRI, plus CASRAI’s own published content.
  • 44,322 indexed passages, and every answer cites the ones it drew on.