The genetic code is the set of rules a cell uses to turn a sequence of nucleotide bases into a protein. Cells read the bases three at a time, and each three-base codon names one of 20 standard amino acids or marks the end of the chain. The reading is so literal that one changed base can end a protein early or put the wrong amino acid in place.
The reading happens on messenger RNA (mRNA) inside a ribosome, and transfer RNA (tRNA) delivers the amino acids. One short message, mRNA 5′-AUG GCU UGG AAA UAA-3′, comes back throughout, so each idea is tested on the same five codons.
What the Genetic Code Is and What It Is Not
The genetic code and a genome are different things, and most confusion about the code starts when the two are blurred. The code is the rule set: 64 possible codons and what each one means. A genome is the particular string of bases in an organism's chromosomes, including protein-coding and noncoding sequences. The genetic code applies to the protein-coding regions of mRNA copied from DNA, not to the whole genome.
People use "DNA code" or "gene code" loosely for both. When a news story says scientists "read someone's DNA code," it means they read the sequence. That sequence is the genome, and two people's genomes differ at millions of positions. The rules used to translate those positions are the same for both of them.
A single codon shows the difference. Whether a given gene contains GAG at a given spot varies from person to person. That is a fact about the text. What GAG means is a fact about the code, and it does not vary. The mRNA codon 5′-GAG-3′ means glutamic acid in your cells. It means glutamic acid in a mouse's cells and in a bacterium's.
How a Gene Becomes a Protein
Information flows from DNA to mRNA to protein, and each step runs in a fixed direction. RNA polymerase copies one DNA strand, the template strand, into mRNA. The result matches the other strand, the coding strand, except that uracil (U) replaces thymine (T). In eukaryotes, noncoding stretches called introns are spliced out before the mRNA leaves the nucleus.
The finished mRNA goes to a ribosome, which moves along it from the 5′ end toward the 3′ end. At each amino-acid codon, a tRNA with a complementary three-base anticodon pairs with the mRNA. Each tRNA carries one specific amino acid. The ribosome joins that amino acid to the growing chain, so the protein is built from its N-terminus to its C-terminus. During standard termination, a release factor recognizes the stop codon and frees the finished chain.
The pairing is antiparallel. The mRNA codon 5′-UGG-3′ pairs with the anticodon 3′-ACC-5′, which is usually written 5′-CCA-3′. That tRNA carries tryptophan.
Codon-anticodon pairing is central to ribosomal decoding. The ribosome generally does not verify that a standard protein amino acid matches its tRNA, but it can discriminate against D-amino acids, whose handedness differs from the usual L forms. Accurate tRNA charging helps enforce amino-acid assignments, usually through enzymes called aminoacyl-tRNA synthetases that attach amino acids to their corresponding tRNAs. Some charging pathways also require other enzymes to convert the attached amino acid into the correct one. Charging works together with codon–anticodon pairing; ordinary stop codons are recognized by release factors. If a synthetase loads the wrong amino acid, editing can remove it before the tRNA reaches the ribosome. If the mischarged tRNA escapes editing and enters translation, the ribosome can accept its matching anticodon and incorporate the wrong amino acid.
Codons, Reading Frames, and Start and Stop Signals
Codons are read in a continuous, non-overlapping series. Four bases in three positions give 4 × 4 × 4 = 64 possible codons. Within a reading frame, each nucleotide belongs to exactly one triplet. No bases are skipped, and no "commas" separate the codons.
Where the series begins decides everything. Read from its first base, the stretch 5′-AUGGCUUGG-3′ gives AUG GCU UGG, which is methionine, alanine and tryptophan. Regroup the bases starting one base later and the stretch becomes UGG CUU GG…, which would specify tryptophan then leucine if that frame were translated. This is a hypothetical amino-acid sequence, not evidence that another protein is produced: translation requires initiation signals, and UGG is not an ordinary start codon. Only one frame produces the intended protein. Each DNA strand has three possible frames, so a double-stranded region has six.
Start and stop codons mark where a frame begins and ends. AUG usually sets the frame by marking the first codon, and it specifies methionine. It also turns up inside genes, where it just adds another methionine. Three codons, UAA, UAG and UGA, end translation and specify no amino acid. On the coding strand, the matching DNA stop codons read TAA, TAG and TGA.
Some viruses take frames to the extreme by packing two genes into the same stretch of nucleic acid, each read in a different frame. One run of bases then encodes two unrelated proteins. Even so, reading within any one frame stays non-overlapping. The overlap is between genes, never between codons in the same frame.
Reading a Codon Table Step by Step
A standard codon table is written in RNA letters and read 5′ to 3′. Find the first base in the row label and the second base in the column. Then use the third base to pick the line within that box. For GCU, that means row G, column C, line U, which is alanine.
Most errors come from giving the table the wrong strand. Below, four different starting points all lead to the same five codons used in the opening:
Genetic code lookup: converting DNA and RNA to readable codons (DNA examples show intron-free coding sequences)
| Starting sequence type | Example sequence with direction | Prepare RNA for the codon table | Standard genetic code result | Common lookup mistake |
|---|---|---|---|---|
| mRNA, 5′ → 3′ | 5′-AUG GCU UGG AAA UAA-3′ | Use directly: 5′-AUG GCU UGG AAA UAA-3′ | AUG = Met; GCU = Ala; UGG = Trp; AAA = Lys; UAA = Stop | Complementing mRNA instead of reading it directly |
| Coding DNA, 5′ → 3′ | 5′-ATG GCT TGG AAA TAA-3′ | Replace T with U: 5′-AUG GCU UGG AAA UAA-3′ | AUG = Met; GCU = Ala; UGG = Trp; AAA = Lys; UAA = Stop | Complementing the coding strand; only T → U is needed |
| Template DNA, 3′ → 5′ | 3′-TAC CGA ACC TTT ATT-5′ | Complement left to right: 5′-AUG GCU UGG AAA UAA-3′; DNA A → RNA U, T → A, C → G, G → C | AUG = Met; GCU = Ala; UGG = Trp; AAA = Lys; UAA = Stop | Replacing T with U without complementing the template |
| Template DNA, 5′ → 3′ | 5′-TTA TTT CCA AGC CAT-3′ | Reverse-complement into RNA: 5′-AUG GCU UGG AAA UAA-3′ | AUG = Met; GCU = Ala; UGG = Trp; AAA = Lys; UAA = Stop | Complementing without reversing the sequence direction |
For the illustrated reading frame, mRNA is read directly, coding DNA needs T replaced by U, and template DNA must be complemented with direction accounted for; all four examples yield AUG GCU UGG AAA UAA, encoding methionine, alanine, tryptophan and lysine, followed by a stop signal.
The message from the opening illustrates the steps using an intron-free protein-coding DNA sequence:
- Template DNA: 3′-TAC CGA ACC TTT ATT-5′
- Coding DNA: 5′-ATG GCT TGG AAA TAA-3′
- mRNA: 5′-AUG GCU UGG AAA UAA-3′
- Protein: Met–Ala–Trp–Lys, then stop
The coding strand matches the mRNA letter for letter except for T in place of U, so a single swap gets it ready for the table. For the template shown 3′ → 5′, complement each base from left to right to obtain mRNA running 5′ → 3′. Reverse-complement only when the template is supplied 5′ → 3′. TAC is not a codon you look up. It is the template for AUG.
The last step is stopping at the stop codon. UAA adds nothing, so this message makes a chain of four amino acids. Translation normally ends at UAA, leaving downstream codons untranslated as part of that protein. At five codons, the message is a genetic code example short enough to work by hand from all three starting strands and check against the protein line above.
Why Several Codons Can Mean One Amino Acid
Francis Crick's wobble hypothesis explains how the code can hold so much redundancy. Crick proposed that pairing at a codon's third base follows looser rules than pairing at the first two, so one tRNA can read more than one codon. Some anticodons contain inosine, a modified base that pairs with U, C or A. A single inosine-bearing tRNA can serve three alanine codons, so cells get by with fewer than 61 kinds of tRNA.
The loose third position is where most of the redundancy sits. Alanine accepts any third base: GCU, GCC, GCA and GCG all specify it. Overall, 61 sense codons cover only 20 amino acids, and the split is uneven. Leucine, serine and arginine have six codons each. Methionine (AUG) and tryptophan (UGG) have one each.
Biologists describe this as degenerate but not ambiguous. Many codons can point to one amino acid, yet each amino acid codon in the standard table points to only one amino acid. The redundancy runs one way.
Synonymous codons still are not interchangeable in practice. Organisms favor some codons over others, a pattern called codon usage bias. A human gene expressed in bacteria may translate slowly if it relies on codons the bacterium rarely uses. Researchers often rewrite such genes with the host's preferred codons, keeping the protein sequence the same.
How Mutations Change the Encoded Protein
A mutation's effect depends on what it does to codons and to the reading frame. Applied to the worked message, 5′-AUG GCU UGG AAA UAA-3′, each kind of single-base change gives a different result:
- Synonymous: GCU becomes GCC. Both specify alanine, so the protein sequence does not change.
- Missense: GCU becomes ACU. Alanine is replaced by threonine.
- Nonsense: UGG becomes UGA. Tryptophan is replaced by a stop, and the chain ends after methionine and alanine.
Insertions and deletions act on the frame instead of a single codon. Remove the G from GCU and the message reads AUG CUU GGA AAU AA…, which specifies methionine, leucine, glycine and asparagine. Every codon after the deletion is now read out of frame. This is a frameshift. It happens when an insertion or deletion within a protein-coding sequence disrupts the reading frame by adding or removing a number of bases not divisible by three, changing downstream codons and potentially ending translation early. A missense change alters only one.
One amino acid can be enough. In the beta-globin gene, an A-to-T change on the coding strand turns GAG into GTG, the same GAG codon from the first section, so valine replaces glutamic acid in the protein. Hemoglobin carrying that valine tends to stick together into long fibers after it gives up oxygen. The fibers bend red blood cells into the stiff crescent shape that gives sickle cell disease its name. One base out of hundreds in the gene changes the shape of the cells that carry oxygen.
How Scientists Cracked the Code
The first meaning anyone pinned down was UUU for phenylalanine. In 1961, Marshall Nirenberg and Heinrich Matthaei added synthetic RNA made only of uracil, called poly-U, to a cell-free extract from E. coli. The extract built a chain made only of phenylalanine. Poly-U contains no codon except UUU, so that one test-tube result fixed one codon's meaning.
The same approach filled in more of the table, but RNA made of a single base can answer only a few questions. Har Gobind Khorana extended the work by synthesizing RNA with defined repeating sequences. Alternating UC, for example, reads as alternating UCU and CUC codons and produced a chain alternating serine and leucine. Patterns like that settled assignments that random-sequence RNA could not. Robert Holley determined the structure of a tRNA, the adapter molecule the code depends on.
Nirenberg, Khorana and Holley shared the 1968 Nobel Prize in Physiology or Medicine for this work. By then the 64 standard assignments were essentially complete. Most of the experiments used bacteria. The departures from the standard table were found later, once researchers sequenced mitochondrial genomes and unusual microbes.
Where the Standard Assignments Change
The code is nearly shared across life. Most bacteria use the standard amino-acid and stop assignments, as do most nuclear genes in plants, fungi and animals. That makes the phrase "universal genetic code" close to true but not exact.
Mitochondria provide the best-known exceptions. In vertebrate mitochondria, UGA specifies tryptophan instead of stop, and AUA specifies methionine instead of isoleucine. AGA and AGG, which mean arginine in the standard table, are treated as stops. A human mitochondrial gene read with the standard table would show false stops wherever UGA appears. Sequence-analysis tools therefore ask which code to apply before translating, because the same genetic codon can mean different things in a nucleus and in a mitochondrion.
Nuclear genomes depart from the standard too. Certain ciliates read stop codons as amino acids. In Tetrahymena, UAA and UAG, two of the three standard stop signals, specify glutamine, and only UGA still ends a protein.
Key Takeaways
- The code maps nucleotide triplets to amino acids or termination signals.
- The standard table contains 61 amino-acid codons and three stop codons.
- Read an RNA codon table using mRNA written 5′ to 3′, after converting a coding or template strand.
- The reading frame set by the start codon decides which protein a sequence encodes.
- Several codons can specify the same amino acid without making the code ambiguous.
- Most organisms share the standard assignments, but mitochondria and some ciliates are important exceptions.
Frequently Asked Questions
What's another word for genetic code?
Common alternatives are "codon table" and "triplet code." NCBI uses the term "translation table" for each version of the code. In everyday speech, "genetic code" also stands in for a person's genome, but scientists keep the two ideas separate.
What are the four bases of the genetic code?
In DNA, the four bases are adenine (A), thymine (T), guanine (G) and cytosine (C). RNA uses uracil (U) in place of thymine, which is why codon tables are written with A, U, G and C.
Is your genetic code your DNA?
Strictly speaking, no: your DNA sequence is your genome, including protein-coding and noncoding regions. The genetic code is the rule set used to translate protein-coding regions of mRNA copied from DNA. The rule set is one you share with almost every other organism, although casual speech uses the two terms interchangeably.
Does a stop codon add an amino acid to a protein?
No, a stop codon adds no amino acid. During ordinary termination, proteins called release factors recognize UAA, UAG or UGA and free the finished chain from the ribosome, rather than a tRNA delivering an amino acid. Specialized tRNAs can read these codons in variant codes or during recoding, as described elsewhere in this article.
Can one codon code for more than one amino acid?
Each codon has one assignment in the standard table, but some translation tables explicitly allow alternatives. In NCBI’s The Genetic Codes, table 27 lists UGA as tryptophan or stop; table 28 lists UAA and UAG as glutamine or stop, and UGA as tryptophan or stop. Decoding can depend on context. Some genes carry a signal in the mRNA that leads the cell to insert selenocysteine at UGA, and some archaea insert pyrrolysine at UAG. Outside those contexts, the same codons act as ordinary stops.
Read the Message, Check the Table
The genetic code comes down to a small, largely shared rule set doing a huge amount of work, with variant assignments and context-dependent exceptions. Sixty-four triplets, read in one direction without gaps, specify every protein a cell makes. The same triplets carry nearly the same meanings in bacteria and in people. That sharing is why the 1961 poly-U result mattered so much: a phenylalanine chain built in an E. coli extract told biologists what UUU means in human cells too. It also explains why a single base can matter. In the beta-globin example, GTG in place of GAG changes the encoded amino acid from glutamic acid to valine. Translation follows the altered instruction; this is not a tRNA-charging error that editing would correct. When you translate a sequence yourself, get the strand and the frame right first. The table can only answer the codon you give it.
