Study tips13 min read

The genetic code: codons, the codon table and how to translate mRNA, worked through

Learn what codons are, read the codon table and translate mRNA into a protein, then test yourself on start codons, stop codons and point mutations.

Medly TeamNovember 18, 2026
On this page

The genetic code is read in three-base codons, and its 64 codons tell a cell which amino acid to add next or where to stop. This guide explains what codons are, how to read the codon table and how to translate mRNA into a protein, with a full translation worked through from DNA. It also covers start and stop codons and point mutations, then gives you questions to try.

What is the genetic code?

The genetic code links two alphabets: the four bases of RNA (A, U, G and C) and the 20 amino acids that make up proteins. During translation, a ribosome reads the mRNA one codon at a time. A tRNA brings the amino acid that matches each codon, and that amino acid joins the growing polypeptide chain.

Exam questions keep coming back to four features of the code.

FeatureWhat it means
TripletEach codon is three bases long
DegenerateMost amino acids have more than one codon
UnambiguousEach codon has only one meaning
Nearly universalAlmost all organisms read codons the same way

Why three bases? Four bases taken two at a time give only 16 combinations, which is too few for 20 amino acids. Taken three at a time they give 4 × 4 × 4 = 64. That leaves spare codons, and the spares are why the code is degenerate. Alanine has four codons (GCU, GCC, GCA and GCG), while methionine and tryptophan have one each.

Degenerate does not mean ambiguous. GCU always means alanine. Only the reverse varies: one amino acid can have several codons. The code is also read without gaps or overlaps, so each base belongs to exactly one codon.

The codon table: all 64 codons

This is the standard code, grouped by amino acid. It's the same information as the grid chart in your textbook, arranged so you can check an answer quickly.

Amino acidmRNA codonsNumber
Alanine (Ala)GCU, GCC, GCA, GCG4
Arginine (Arg)CGU, CGC, CGA, CGG, AGA, AGG6
Asparagine (Asn)AAU, AAC2
Aspartic acid (Asp)GAU, GAC2
Cysteine (Cys)UGU, UGC2
Glutamine (Gln)CAA, CAG2
Glutamic acid (Glu)GAA, GAG2
Glycine (Gly)GGU, GGC, GGA, GGG4
Histidine (His)CAU, CAC2
Isoleucine (Ile)AUU, AUC, AUA3
Leucine (Leu)UUA, UUG, CUU, CUC, CUA, CUG6
Lysine (Lys)AAA, AAG2
Methionine (Met)AUG (start)1
Phenylalanine (Phe)UUU, UUC2
Proline (Pro)CCU, CCC, CCA, CCG4
Serine (Ser)UCU, UCC, UCA, UCG, AGU, AGC6
Threonine (Thr)ACU, ACC, ACA, ACG4
Tryptophan (Trp)UGG1
Tyrosine (Tyr)UAU, UAC2
Valine (Val)GUU, GUC, GUA, GUG4
StopUAA, UAG, UGA3

Source: NCBI genetic codes, standard code (table 1). Last checked: November 17, 2026.

If you'd like a copy to keep beside your notes, download the codon table as a PDF. It includes the translation steps below.

How to read a codon table step by step

Most textbooks and exam papers print the standard chart as a 4 × 4 grid. The first base of the codon runs down the left side, the second base runs across the top, and the third base runs down the right side of each box. Some books use a circular chart instead, which you read from the center outward.

  1. Check that you have the mRNA codon, with U in place of T. If you were given DNA, transcribe it first (see the next section).
  2. Find the first base in the left column. That picks the row.
  3. Find the second base along the top. The row and column meet at a box of four codons.
  4. Find the third base on the right side of that box, and read the amino acid on that line.

Try it with CAU. The bases run in the order U, C, A, G, so first base C picks the second row. Second base A picks the third column. Inside that box, third base U gives histidine. CAC, one line down, is also histidine, which is degeneracy in action.

A pattern worth knowing: for many amino acids the third base makes no difference. Every codon starting GC is alanine, every codon starting GG is glycine, and every codon starting CC is proline. It's a quick way to catch a slip when you check your work.

How to translate DNA to mRNA to a protein sequence

Medly's AP Biology lesson on decoding mRNA starts with the short sequence AUG GCU UUU UGA, which reads methionine, alanine, phenylalanine, then stop. Here is a longer version we wrote that begins one step earlier, with the DNA.

Worked example (3 marks)

The template strand of a gene reads 3'-TAC CGA AAA CTT GGT ATT-5'. Give the amino acid sequence of the polypeptide it codes for.

  1. Transcribe it. The mRNA is complementary to the template strand: A pairs with U, T with A, C with G and G with C. Reading the template 3' to 5' gives the mRNA 5' to 3': 5'-AUG GCU UUU GAA CCA UAA-3'.
  2. Find the start codon. Scan from the 5' end for the first AUG. Here it is the first three bases, and it sets the reading frame.
  3. Split the sequence into codons from the start codon: AUG, GCU, UUU, GAA, CCA, UAA.
  4. Look up each codon. AUG is methionine, GCU is alanine, UUU is phenylalanine, GAA is glutamic acid and CCA is proline.
  5. Stop at the stop codon. UAA adds no amino acid, so the polypeptide ends there.

The polypeptide is Met-Ala-Phe-Glu-Pro: five amino acids from 18 bases of mRNA, because the last three bases are the stop codon.

Two traps catch a lot of students. If you're given the coding strand (5'-ATG GCT TTT GAA CCA TAA-3'), you don't need complements at all: swap every T for U and you have the mRNA. And if the template strand is printed 5' to 3', remember that the mRNA's 5' end pairs with the template's 3' end, so your mRNA will read in the opposite direction from the strand on the page.

Start and stop codons

AUG does two jobs. It is the start codon, where the initiator tRNA pairs with the mRNA in the ribosome and translation begins, and it also codes for methionine. That's why newly made polypeptides begin with methionine. An AUG further along the sequence simply adds another methionine.

UAA, UAG and UGA are the stop codons. No tRNA matches them, so they add no amino acid. When the ribosome reaches one, translation ends and the finished polypeptide is released.

Here is a practice question from one of Medly's practice papers that tests exactly this. Try it yourself first: the answer and working are hidden in the Answer dropdown below the options.

Question 1: (1 mark)

Silkworm larvae synthesize fibroin, a silk protein, in silk-gland cells. A ribosome translating fibroin mRNA reaches the codon UGA. Table 1 gives four mRNA codon assignments.

mRNA codonAmino acid or signal specified
UGAStop signal
UGGTryptophan (Trp)
AUGMethionine (Met)
CUGLeucine (Leu)

Based on Table 1, what is the most likely effect when the ribosome reaches UGA on the fibroin mRNA? Select one answer.

A. Translation terminates, and the fibroin polypeptide is released.

B. Translation continues as tryptophan is added to the fibroin polypeptide.

C. Translation continues as methionine is added to the fibroin polypeptide.

D. Translation continues as leucine is added to the fibroin polypeptide.

Answer
  1. Find UGA in Table 1: it is a stop signal.
  2. A stop codon adds no amino acid, so translation terminates and the polypeptide is released.
  3. The answer is A, for 1 mark on Medly's mark scheme.

B is wrong because UGG, not UGA, specifies tryptophan. C is wrong because AUG specifies methionine. D is wrong because CUG specifies leucine. Option B is the one to watch: UGA and UGG differ by a single base.

How point mutations change the protein

A point mutation changes a single base. The cell reads that base as part of a codon, so the effect on the protein depends on what the new codon means. Take the codon GAA (glutamic acid) from the translation above.

TypeCodon changeAmino acidEffect
SilentGAA to GAGGluProtein unchanged
MissenseGAA to GUAValOne amino acid swapped
NonsenseGAA to UAAStopProtein cut short

Silent mutations are possible because the code is degenerate. A missense change may or may not affect how the protein works, depending on where the amino acid sits and how different the new one is. A nonsense mutation usually does the most harm of the three, because everything after it is lost.

Insertions and deletions behave differently. Adding or removing one base shifts the reading frame, so every codon after the change is read wrongly. Delete the first U of UUU in the translation above and the mRNA becomes AUG GCU UUG AAC CAU AA, which reads Met-Ala-Leu-Asn-His and no longer reaches its original stop codon in frame.

Sickle cell disease shows how much one missense change can matter. According to MedlinePlus, the sickle variant of the HBB gene swaps glutamic acid for valine at position 6 of beta-globin, a change written Glu6Val. In mRNA terms, a glutamic acid codon (GAG) becomes a valine codon (GUG).

Medly's lesson on genotype-to-phenotype effects makes the wider point. A mutation's effect depends on what it does to the protein and on the organism's environment. The same kind of change can be harmful in one setting and helpful in another, as with the dark fur of rock pocket mice living on dark lava, where it works as camouflage.

Why the genetic code is nearly universal

Nearly all living things read codons the same way: UUU means phenylalanine in a bacterium, a fern and a human. Biologists treat this shared code as evidence of common ancestry. It is far more likely that all these organisms inherited one code from a shared ancestor than that each arrived at the same code on its own.

The word "nearly" matters. NCBI keeps a list of genetic code variants, and the best known is the vertebrate mitochondrial code. In your mitochondria, UGA codes for tryptophan instead of stop, AUA codes for methionine instead of isoleucine, and AGA and AGG are listed as stop codons instead of arginine. Unless a question says otherwise, use the standard code.

Practice questions: try these yourself

These are practice questions, so attempt each one before you look at the answer. The answer and full working for every question are hidden in the Answer dropdown directly below it.

Questions 2 to 4 are Medly questions with Medly's mark schemes. Question 5 is one we wrote to practice translation and mutations together.

Question 2: (1 mark)

A researcher proposes that the catalytic region of a certain enzyme consists of 84 amino acids. Calculate the number of nucleotides in the mRNA region encoding the catalytic region. Do not include the stop codon.

Answer
  1. Each amino acid is coded by one codon of 3 nucleotides.
  2. 84 amino acids × 3 nucleotides per codon = 252 nucleotides.
  3. 1 mark for 252, with no working required.

The common slip is adding 3 for the stop codon and writing 255. The question tells you to leave it out.

Question 3: (1 mark)

Orange clownfish (Amphiprion percula) inhabit lagoon and fore-reef coral habitats. Researchers compared mRNA transcribed from a gene expressed in skin-mucus cells of fish collected from the two habitats. The codon at position 18 was GCU in lagoon fish and GAA in fore-reef fish. A genetic-code reference shows that GCU specifies alanine and GAA specifies glutamic acid. Protein sequencing detected different amino acids at position 18 in the mucus proteins produced by the two groups.

Based on the information presented, which of the following is the best explanation for the difference in amino acid at position 18 of the mucus protein? Select one answer.

A. GAA is a stop codon, so translation of the fore-reef mRNA stops at position 18.

B. The codons differ, so GCU specifies alanine and GAA specifies glutamic acid.

C. mRNA translation reads codons as pairs of bases, so the two codons produce different amino acids.

D. Because GCU and GAA share two bases, they must specify the same amino acid.

Answer
  1. Each codon specifies one amino acid, and the reference gives different amino acids for GCU and GAA.
  2. So the different codons explain the different amino acids. The answer is B, for 1 mark.

A is wrong because GAA specifies glutamic acid; the stop codons are UAA, UAG and UGA. C is wrong because translation reads mRNA in triplets, not pairs. D is wrong on two counts: GCU and GAA share only their first base, and codons that share bases can still code for different amino acids.

Question 4: (1 mark)

An archaeon is a single-celled organism that is distinct from bacteria. Researchers use the same synthetic mRNA in laboratory translation mixtures prepared from a bacterium, an archaeon, and a flowering plant. The claim is that the near universality of the genetic code supports the common ancestry of living organisms.

Which of the following observations best supports the claim that the near universality of the genetic code supports the common ancestry of living organisms? Select one answer.

A. All three organisms contain ribosomes, but this alone does not show shared codon meanings.

B. All three organisms produce proteins at different rates, but rates do not show codon meanings.

C. The organisms have different protein sequences, but these do not show codon meanings.

D. The same codons in the synthetic mRNA direct the same amino-acid sequence in translation extracts from a bacterium, an archaeon, and a flowering plant.

Answer
  1. The claim is about the code itself: whether the same codons mean the same amino acids across distant groups of organisms.
  2. Only D tests that directly. The same mRNA gives the same amino acid sequence in a bacterium, an archaeon and a plant. The answer is D, for 1 mark, with no partial credit.

A is wrong because having ribosomes doesn't show that codons mean the same thing. B is wrong because protein production rates say nothing about codon meanings. C is wrong because different protein sequences don't show whether codon meanings are shared.

Question 5: (3 marks)

An mRNA molecule has the sequence 5'-GCAUGUGGCAUUAGCC-3'.

(a) Give the amino acid sequence of the polypeptide it codes for. (2 marks)

(b) A substitution changes the codon CAU in this mRNA to CAC. State the effect on the polypeptide and explain why. (1 mark)

Answer
  1. Scan from the 5' end for the first AUG. It starts at the third base: GC AUG UGG CAU UAG CC.
  2. Split into codons from AUG: AUG, UGG, CAU, UAG.
  3. Look them up: AUG is methionine, UGG is tryptophan, CAU is histidine and UAG is stop.
  4. (a) The polypeptide is Met-Trp-His (1 mark for finding the correct reading frame, 1 mark for the sequence).
  5. (b) CAC also codes for histidine, so the polypeptide is unchanged. This is a silent mutation, possible because the genetic code is degenerate (1 mark).

If you started reading at the first base (GCA, UGU, ...), you were in the wrong frame. Always find AUG first.

To practice more questions like these, with feedback on each answer, try Medly for free. The free plan includes 5 marked questions, 20 AI tutor messages and 1 uploaded paper a day, with no card needed. If you're taking AP Biology, our 12-week plan shows where topics like this fit in your review, and if you're heading toward medical school, you can build translation questions into your MCAT study schedule.

Frequently asked questions

How many codons are in the genetic code?

There are 64 codons. In the standard code, 61 specify amino acids and 3 (UAA, UAG and UGA) are stop codons.

Is the genetic code the same in all organisms?

Nearly. Almost all organisms use the standard code, which is evidence of common ancestry. A few variants exist, such as the vertebrate mitochondrial code, where UGA codes for tryptophan.

Do you need to memorize the codon table?

Usually no. Questions that ask you to translate a sequence give you a codon chart or table, so the skill being tested is reading it accurately. Learn AUG and the three stop codons by heart, because they come up all the time.

What does it mean that the genetic code is degenerate?

It means most amino acids have more than one codon. Leucine, serine and arginine have six each. Each codon still has only one meaning.

What is the difference between a codon and an anticodon?

A codon is a three-base sequence on mRNA. An anticodon is the matching three-base sequence on a tRNA that pairs with it, so the codon 5'-AUG-3' pairs with the anticodon 3'-UAC-5'.

Is AUG the only start codon?

For exam purposes, yes. NCBI's standard code also lists UUG and CUG as alternative start codons that some organisms use occasionally, but AUG is the one questions expect.

Try Medly for free