# How does gel electrophoresis work?

> Written with AI · [Biotechnology: the toolbox and what it is used for](https://lessoons.com/en/biotechnology-tools) · Grade 12 · 2026-11-11 · https://lessoons.com/en/biotechnology-tools/how-does-gel-electrophoresis-work

Gel electrophoresis separates DNA fragments by size. The samples are loaded into wells in an agarose gel and an electric current is switched on. DNA is negatively charged, so it moves toward the positive electrode, and the gel acts as a sieve: short fragments slip through faster and travel further. Comparing the bands with a ladder of known sizes gives each fragment's length.

## The topic explained

### Sorting DNA by size with electricity

Gel electrophoresis (“אלקטרופורזה בג'ל”) is the standard way to see the DNA a reaction made and to work out how long each piece is. The gel is a slab of agarose, a substance purified from seaweed, set like jelly with small wells along one end. It sits in a salt buffer between two electrodes. Every nucleotide in DNA carries a phosphate group with a negative charge, so when the current is switched on, all the DNA moves away from the negative electrode and toward the positive one, the anode.

The common misreading is that the fragments are separated by charge. A long fragment has more charge, but it also has more mass to pull, so on its own every fragment would move at about the same speed. The separation comes from the gel: its tangle of fibers acts as a sieve, short fragments slip through the pores easily, and long ones are held back.

### Running a gel, step by step

Melted agarose, often 1% in buffer, is poured into a tray with a comb that leaves the wells, and left to set. Each sample is mixed with loading dye: the glycerol in it makes the sample heavier than the buffer, so it sinks into the well, and a blue tracking dye shows how far the run has gone. A ladder of fragments of known sizes goes into one well. The current runs, typically at 5 to 8 volts per centimeter of gel, until the tracking dye nears the end. Then the DNA, which is invisible, is stained. Ethidium bromide glows under ultraviolet light but can damage DNA, so schools use safer stains, wear gloves and switch off the power before opening the tank.

### Reading the bands against a ladder

All the copies of one fragment travel together and show up as one band. The distance a band moves falls roughly with the logarithm of its length, so equal steps down the gel mean the size is divided by about the same factor each time. That is why the ladder is needed: you read an unknown band by the ladder bands on either side of it. The three fragments of a 5,000 base pair molecule cut by EcoRI, 2,300, 1,500 and 1,200 base pairs, appear as three bands, the longest nearest the wells.

A brighter or thicker band contains more DNA, not a longer fragment. The size is read only from the position.

### Comparing samples

A gel answers yes or no questions too. Did the PCR make a product of the expected length? Did the enzyme cut the plasmid where it should? Do two samples give the same pattern of bands? Matching patterns show that two samples could come from the same source, and a single band that differs rules it out. Lanes on the same gel can be compared directly; lanes on two different gels only through their ladders.

Some patterns surprise students. Uncut plasmid DNA often gives two or three bands, because the same circle can be tightly supercoiled, nicked open or cut to a line, and each shape moves at its own speed; that is why a plasmid is cut before its size is read. A smear down the lane instead of sharp bands usually means the DNA was broken into pieces of every length.

## Practice: running and reading a gel

For 12th grade biotechnology students. The gels on this sheet are sketches. Answer each question from the sheet, then check your work against the answers.

1. **Why does DNA move through the gel, and in which direction?** — The phosphate groups of DNA are negatively charged, so in the electric field DNA moves away from the negative electrode, toward the positive electrode.
2. **Two fragments, of 400 and 4,000 base pairs, are run on the same gel. Which travels further, and why?** — The 400 base pair fragment travels further. The gel is a sieve, and the short fragment slips through its pores more easily than the long one.
3. **What are the two jobs of the loading dye?** — Its glycerol makes the sample denser than the buffer so it sinks into the well, and its tracking dye shows how far the run has gone.
4. **Estimate the size of the band in lane X and of the band in lane Y.** — X is level with the 2,000 band of the ladder: about 2,000 base pairs. Y lies between the 1,000 and 500 bands: between 500 and 1,000 base pairs, about 700 to 800.
5. **A 5,000 base pair linear DNA is cut by EcoRI at positions 1,200 and 3,500. How many bands will the gel show, and which is nearest the wells?** — Three bands: 1,200, 2,300 and 1,500 base pairs. The 2,300 band, the longest, is nearest the wells.
6. **In this teaching example, which suspect's pattern matches the sample from the scene? Explain how you decided.** — Suspect 2. All three of suspect 2's bands are level with the bands of the scene sample. Suspect 1 shares only the top band, and one difference is enough to rule a sample out.
7. **A student says the brightest band on the gel must be the longest fragment. Is this right? Explain.** — No. Brightness shows how much DNA is in the band. The length is read only from how far the band traveled, compared with the ladder.
8. **Write two safety rules for running a gel in a school laboratory, with the reason for each.** — A good answer includes two of these: switch off the power before opening the tank (the buffer carries current); wear gloves when handling the stain (some stains damage DNA); protect the eyes and skin from ultraviolet light; dispose of gels as the laboratory's rules say.

## Common questions

### Why is agarose used for DNA gels?

Agarose sets into a firm gel with pores of the right size for DNA fragments from a few hundred to many thousands of base pairs. A lower percentage gives larger pores for long fragments; a higher percentage separates short ones better.

### What is a DNA ladder?

A DNA ladder is a mixture of fragments of known lengths run in its own lane. Its bands act as a ruler: the size of an unknown band is estimated from the ladder bands level with it or on either side of it.

### Why can't you see the DNA without a stain?

DNA is colorless in the gel. A stain binds to it and glows under ultraviolet or blue light, so the bands become visible. The blue of the loading dye is a separate dye that only tracks the run.

### Is gel electrophoresis used for proteins too?

Yes. Proteins are separated in polyacrylamide gels, usually after a detergent coats them with negative charge so that they too separate by size. The principle, a sieve and an electric field, is the same.

### How long does it take to run a gel?

A typical school agarose gel runs for about half an hour to an hour, depending on the voltage and the size of the gel. Staining and photographing the bands takes a little longer.
