• Biotechnology: the toolbox and what it is used for

How does gel electrophoresis work?

Written with AI (How we create content)Target level: Grade 12Last updated: Report an error
Quick answer

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.

Four boxes from top to bottom joined by arrows: load the samples with loading dye; switch on the current so DNA moves to the positive pole; stain the DNA; compare the bands with the ladder.1. Load samples and dye2. Run: DNA moves to +3. Stain the DNA4. Compare with the ladder

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.

Sketch of an agarose gel with the negative electrode at the top and the positive at the bottom. Lane 1 is a ladder with bands at 3,000, 2,000, 1,000, 500 and 250 base pairs; lane 2 has the three EcoRI fragments, 2,300, 1,500 and 1,200 base pairs.ladder3,0002,0001,000500250digest−+
A sketch: distance from the well falls with the logarithm of the size.

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.

Free printable worksheet

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.

Free, no sign-up. The answer key prints on the second page. Regenerating a new worksheet on the same topic needs a free account.

Free printable worksheetlessoons.com
Practice: running and reading a gelName:
  1. Why does DNA move through the gel, and in which direction?

  2. Two fragments, of 400 and 4,000 base pairs, are run on the same gel. Which travels further, and why?

  3. What are the two jobs of the loading dye?

  4. Estimate the size of the band in lane X and of the band in lane Y.

    Sketch of a gel with a ladder of 3,000, 2,000, 1,000, 500 and 250 base pairs, lane X with one band level with 2,000 and lane Y with one band between the 1,000 and 500 bands.ladder3,0002,0001,000500250XY−+
  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?

  6. In this teaching example, which suspect's pattern matches the sample from the scene? Explain how you decided.

    Sketch of a gel with three lanes of three bands each, without size labels: crime scene sample, suspect 1 and suspect 2. The top band is level in all three lanes; the other two bands of suspect 2 are level with the scene sample, and those of suspect 1 are not.scenesuspect 1suspect 2−+
    A simplified teaching example.
  7. A student says the brightest band on the gel must be the longest fragment. Is this right? Explain.

  8. Write two safety rules for running a gel in a school laboratory, with the reason for each.

More topics and worksheets at lessoons.com© 2026 Lessons

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.

Still have a question? Ask Lessi

Any question about this subject. Lessi answers right here, step by step.

Try asking

Asking needs a free account; your question is kept while you sign up. Answers are written by AI and can contain mistakes. Lessi doesn’t give medical or legal advice.

Learn it with a teacher

Learn this topic live with Lessi

Lessi, the AI teacher, explains it out loud on a board, with short quizzes, at your pace. The first 60 minutes are free.