Mastering the Matrix: How to do to Agarose Gel Electrophoresis for DNA and RNA Analysis
- CLYTE research team
- 2 days ago
- 7 min read

Agarose gel electrophoresis is a cornerstone technique in molecular biology, allowing scientists to separate, identify, and purify DNA and RNA fragments based on their size. This seemingly simple method is indispensable for a wide range of applications, from routine checks of PCR products and plasmid preparations to more complex analyses like Northern blotting. Understanding the principles and nuances of agarose gel electrophoresis is crucial for obtaining reliable and interpretable results. This guide provides a detailed summary of the procedures, drawing from established protocols for both DNA and RNA analysis.
The Fundamental Principle: Separating Nucleic Acids by Size
At its core, agarose gel electrophoresis exploits the negative charge of the phosphate backbone in DNA and RNA. When placed in an electric field, these molecules migrate towards the positive electrode (anode). The agarose gel, a porous matrix formed by a polysaccharide extracted from seaweed, acts as a molecular sieve. Smaller nucleic acid fragments navigate through the pores more easily and thus travel faster and further than larger fragments. This differential migration rate leads to the separation of fragments by size.
The concentration of agarose in the gel is a critical factor. Higher agarose concentrations create smaller pores, ideal for separating smaller DNA or RNA fragments with greater resolution. Conversely, lower agarose concentrations yield larger pores, suitable for separating larger molecules.
Essential Components and Equipment: What You'll Need
Before diving into the procedure, let's gather the necessary materials and equipment:
Agarose: A high-quality, molecular biology grade agarose is essential.
Electrophoresis Buffer: Commonly Tris-acetate-EDTA (TAE) or Tris-borate-EDTA (TBE) for DNA. For RNA, MOPS buffer is often used, especially for denaturing gels. The same buffer used to prepare the gel must also be used as the running buffer.
Loading Dye: Contains a dense substance (like glycerol or Ficoll) to help samples sink into the wells and one or more tracking dyes (e.g., bromophenol blue, xylene cyanol) to visually monitor the electrophoresis progress.
Nucleic Acid Stain: Ethidium bromide (EtBr) has been traditionally used, but safer alternatives like SYBR Safe, GelRed, or GelGreen are increasingly popular. These stains intercalate into the nucleic acid, allowing visualization under UV or blue light.
DNA/RNA Ladders (Markers): Samples containing nucleic acid fragments of known sizes, run alongside experimental samples to allow for size estimation.
Electrophoresis Chamber (Gel Box) and Power Supply: To hold the gel and apply the electric field.
Gel Casting Tray and Combs: To prepare the gel with sample wells.
Microwave or Bunsen Burner: To dissolve the agarose.
UV Transilluminator or Gel Imaging System: For visualizing the stained nucleic acids.
For RNA work (specifically): RNase-free water, solutions, and labware are crucial to prevent RNA degradation. Formaldehyde and formamide may be needed for denaturing RNA gels.
Step-by-Step: Performing Agarose Gel Electrophoresis
While the general principles are similar for DNA and RNA, crucial differences exist, particularly in sample preparation and gel conditions for RNA to ensure denaturation and prevent degradation.
Part 1: Agarose Gel Electrophoresis of DNA
This protocol is based on standard procedures like the one detailed by Michael E. Clark from Duke University.
Preparing the Gel:
Weigh the appropriate amount of agarose and add it to the desired volume of electrophoresis buffer (TAE or TBE) in a flask or bottle. The percentage of agarose (e.g., 0.7% to 2%) depends on the expected size range of DNA fragments.
Dissolve the agarose by heating in a microwave or over a flame, swirling frequently until the solution is clear and homogenous. Caution: Avoid boiling over.
Allow the agarose solution to cool to about 50-60°C. This is crucial to prevent warping the casting tray and is the stage where a nucleic acid stain (like EtBr or a safer alternative) can be added if staining the gel directly.
Set up the gel casting tray on a level surface. Insert the comb, ensuring it does not touch the bottom of the tray.
Pour the cooled agarose solution into the casting tray, avoiding air bubbles. If bubbles form, they can be removed with a pipette tip.
Allow the gel to solidify completely (typically 20-45 minutes at room temperature). It will become opaque.
Once solidified, carefully remove the comb, creating the sample wells.
Place the gel in the electrophoresis chamber and add enough electrophoresis buffer to cover the gel to a depth of at least 1 2-5 mm. Ensure the wells are filled with buffer.
Preparing and Loading Samples:
Mix DNA samples with the appropriate volume of loading dye (e.g., 6X loading dye added to a final concentration of 1X).
Carefully load the DNA-dye mixture into the wells using a micropipette. Be cautious not to puncture the bottom of the wells.
Load a DNA ladder of appropriate size range into one or two wells.
Running the Gel:
Place the lid on the electrophoresis chamber, ensuring the electrodes are correctly oriented (DNA migrates towards the positive/red electrode).
Connect the electrical leads to the power supply.
Apply the appropriate voltage (e.g., 1-5 V/cm of gel length). Bubbles forming at the electrodes indicate current flow.
Run the gel until the tracking dye has migrated the desired distance. The migration distance depends on the gel percentage, voltage, and size of DNA fragments.
Visualizing and Analyzing Results:
After electrophoresis, turn off the power supply and disconnect the leads.
Carefully remove the gel from the chamber.
If the gel was not pre-stained, it needs to be stained now by submerging it in a staining solution (e.g., EtBr or SYBR Safe solution in buffer) for 15-30 minutes, followed by a destaining step in water or buffer if necessary. Caution: EtBr is a mutagen; handle with care and dispose of waste properly.
Visualize the DNA bands under a UV transilluminator or with a gel imaging system equipped with appropriate filters for the chosen stain.
DNA fragments will appear as bands. The distance migrated is inversely proportional to the log of their molecular weight. By comparing the migration of sample bands to those of the DNA ladder, the size of the DNA fragments can be estimated.

Part 2: Agarose Gel Electrophoresis of RNA
RNA analysis by agarose gel electrophoresis requires additional precautions due to the inherent instability of RNA and its tendency to form secondary structures. This summary draws from protocols like those provided by Thermo Fisher Scientific.
Crucial Considerations for RNA Work:
RNase Contamination: RNases are ubiquitous and degrade RNA. Always use certified RNase-free water, solutions, pipette tips, and tubes. Wear gloves and change them frequently. Treat glassware and electrophoresis apparatus with RNase decontamination solutions or by baking (for glassware).
Denaturation: RNA molecules can fold into complex secondary structures that affect their migration. To accurately determine RNA size, electrophoresis is typically performed under denaturing conditions. This usually involves adding denaturants like formaldehyde to the gel and running buffer, and/or treating RNA samples with formamide and heat before loading.
Preparing the Denaturing Agarose Gel (Formaldehyde Method):
Work in a chemical fume hood when using formaldehyde, as it is toxic.
Prepare the gel similarly to DNA gels but use an RNase-free buffer, typically a MOPS-based buffer.
Heat the agarose in RNase-free water until dissolved, then cool to about 60°C.
In a fume hood, add 10X MOPS running buffer and 37% formaldehyde to the cooled agarose solution. Mix gently but thoroughly.
Pour the gel into an RNase-free casting tray with RNase-free combs and allow it to solidify.
Assemble the gel in the electrophoresis tank and add 1X MOPS running buffer (often also containing formaldehyde) to cover the gel.
Preparing and Loading RNA Samples:
RNA samples are typically mixed with an RNA loading buffer containing formamide, formaldehyde, EDTA, and tracking dyes (e.g., bromophenol blue, xylene cyanol). Ethidium bromide or other stains can be added to the loading dye or the gel/buffer.
Heat-denature the RNA samples (e.g., at 65-70°C for 5-15 minutes) immediately before loading to disrupt secondary structures. Chill on ice quickly after heating.
Carefully load the denatured RNA samples and an appropriate RNA ladder into the wells of the denaturing gel.
Running the Gel:
Run the gel at a constant voltage (e.g., 5-6 V/cm) until the bromophenol blue has migrated an adequate distance (e.g., two-thirds the length of the gel).
Ensure the electrophoresis apparatus is in a location where formaldehyde fumes can be managed (e.g., within the fume hood or a well-ventilated area if permissible by safety guidelines).
Visualizing and Analyzing Results:
Visualize the RNA bands on a UV transilluminator.
For total RNA, intact eukaryotic samples should show two prominent bands representing the 28S and 18S ribosomal RNA (rRNA), with the 28S band being approximately twice as intense as the 18S band (a 2:1 ratio is a good indicator of intact RNA).
Degraded RNA will appear as a smear towards the lower molecular weight region, and the distinct rRNA bands may be faint or absent.
mRNA will typically appear as a faint smear ranging from ~0.5 to >12 kb, as it is heterogeneous in size and less abundant than rRNA.
Native Agarose Gel Electrophoresis of RNA: While less common for precise sizing, native (non-denaturing) agarose gel electrophoresis can sometimes be used to assess the overall quality of total RNA by inspecting the rRNA bands. However, migration patterns will be affected by secondary structures, and bands may not be as sharp.
Troubleshooting Common Issues
No Bands/Faint Bands: Insufficient sample loaded, DNA/RNA degradation, problem with staining/visualization, incorrect gel percentage for fragment size. For RNA, RNase contamination is a prime suspect.
Smeared Bands: DNA/RNA degradation, too much sample loaded, excessive voltage, buffer depletion, presence of contaminants. For RNA, incomplete denaturation.
Bands Migrating Unevenly ("Smiling"): Gel heated unevenly during electrophoresis (voltage too high), uneven buffer levels, or improperly formed gel.
Bands Distorted: Wells damaged during loading, air bubbles in wells, contaminants in sample.
Incorrect Band Sizes: Wrong gel percentage, issues with the ladder, altered DNA/RNA conformation (e.g., supercoiled vs. linear DNA, or undenatured RNA).
Optimizing for Success
Always use fresh, high-quality reagents.
Ensure the gel is completely submerged in buffer, but not by too much.
Load samples carefully to avoid cross-contamination or well damage.
Run the gel at an appropriate voltage and for a sufficient time to achieve good separation.
For RNA work, meticulous attention to RNase-free technique is paramount.
Document your gel parameters (agarose percentage, buffer, voltage, run time) and results meticulously.
Agarose gel electrophoresis, while a routine procedure, requires careful attention to detail for optimal outcomes. By understanding the underlying principles and following best practices for both DNA and RNA analysis, researchers can confidently use this powerful technique to advance their molecular studies.
References