Writing a complementary DNA strand comes down to two rules: swap each base for its partner, then reverse the sequence so it reads in the correct direction. Once you understand why those two steps matter, you can complement any DNA sequence in seconds.
The Base Pairing Rules
DNA uses four bases: adenine (A), thymine (T), guanine (G), and cytosine (C). They always pair the same way:
- A pairs with T (held together by two hydrogen bonds)
- G pairs with C (held together by three hydrogen bonds)
This isn’t random. The molecular shapes of A and T fit together, and the shapes of G and C fit together, like puzzle pieces. Because G-C pairs have three hydrogen bonds instead of two, they form a slightly stronger connection than A-T pairs. But for the purpose of writing a complementary strand, all you need to remember is: A goes with T, G goes with C, and vice versa.
This pairing relationship is sometimes called Chargaff’s rule, after the biochemist Erwin Chargaff, who discovered in 1950 that in any sample of double-stranded DNA, the amount of A always equals the amount of T, and the amount of G always equals the amount of C. That observation was one of the key clues that led to understanding DNA’s structure.
Why Direction Matters
Every DNA strand has a built-in direction, labeled by its chemical ends: the 5′ (five-prime) end and the 3′ (three-prime) end. These names refer to carbon atoms on the sugar molecule in each nucleotide, but the important thing is that the two strands in a DNA double helix run in opposite directions. When one strand goes 5′ to 3′ from left to right, the other goes 3′ to 5′. This arrangement is called antiparallel.
The scientific convention is to always write a DNA sequence from 5′ to 3′, reading left to right. This matters because the sequence ACGT is not the same as TGCA. If you only swap bases without accounting for direction, you’ll get the right letters but in the wrong order.
Step-by-Step: Writing the Complementary Strand
Here’s the process, broken into two clear steps. Let’s use an example sequence:
Given strand: 5′-ATGCCTA-3′
Step 1: Swap Each Base for Its Complement
Go through the sequence one base at a time and replace each with its partner:
- A → T
- T → A
- G → C
- C → G
- C → G
- T → A
- A → T
This gives you: 3′-TACGGAT-5′
Notice the direction labels flipped. Because the strands are antiparallel, the complement of a 5′-to-3′ strand reads 3′-to-5′.
Step 2: Reverse the Sequence
Since convention requires writing sequences 5′ to 3′, you need to reverse what you just wrote so the 5′ end is on the left:
Complementary strand: 5′-TAGGCAT-3′
That’s it. You’ve written the complementary strand in proper notation.
A Quick-Reference Example
Try it yourself with this sequence: 5′-GCATTAG-3′
Step 1, swap each base: 3′-CGTAATC-5′
Step 2, reverse to write 5′ to 3′: 5′-CTAATGC-3′
If you want to double-check your work, line up the original and complement in antiparallel orientation and confirm every pair is either A-T or G-C:
5′-GCATTAG-3′
3′-CGTAATC-5′
Every column should be a valid base pair. If you see A across from G, or T across from C, something went wrong.
The Most Common Mistakes
The single most frequent error is forgetting to reverse the sequence. If you only swap the bases, you end up with the complement in 3′-to-5′ order, which is technically correct but violates the standard way sequences are written. In a homework problem or lab setting, this will be marked wrong.
Another common mistake is mixing up which bases pair together. A simple memory trick: the straight-line letters (A and T) go together, and the curvy letters (G and C) go together. Or remember that the two bases whose names start with vowel-like sounds (A, T… “ay” and “tee”) pair up, while the others (G, C) pair up. Whatever mnemonic works for you, the key is making the pairing automatic so you can focus on getting the direction right.
What Changes With RNA
If you’re writing a complementary strand from an RNA template instead of DNA, one rule changes: RNA uses uracil (U) instead of thymine (T). So the pairings become:
- A pairs with U (in RNA)
- G pairs with C (unchanged)
This comes up when working with complementary DNA (cDNA), which is a DNA copy made from an RNA molecule. If your template strand is RNA and reads 5′-AUGCCUA-3′, you would replace U with A (since U acts like T) and follow the same swap-and-reverse process. The resulting complementary DNA strand would be 5′-TAGGCAT-3′, identical to what you’d get from the equivalent DNA template.
Why This Process Reflects Real Biology
When your cells copy DNA, an enzyme called DNA polymerase does exactly what you just did on paper: it reads one strand and builds the complement, one base at a time. The enzyme can only add new bases in the 5′-to-3′ direction, which is why directionality isn’t just a notation convention. It’s a physical constraint built into the chemistry of DNA replication. The polymerase “reads” the template strand from its 3′ end toward its 5′ end, and the new strand it builds grows from 5′ to 3′. The base pairing rules ensure the new strand is an accurate copy, with the enzyme physically checking the fit of each incoming base before locking it into place.

