How to Draw Lewis Structures Step by Step
Follow a reliable six-step method for Lewis structures, with worked examples for molecules and ions and checks that catch common errors.
Key takeaways
- Always begin by counting valence electrons, adding one for each negative charge and subtracting one for each positive charge.
- Hydrogen forms only one bond, so it always sits at the edge of a structure.
- Complete the octets of outer atoms first, then place leftover electrons on the central atom.
- If the central atom lacks an octet, turn a neighbor's lone pair into a shared pair.
- The finished drawing must use exactly the number of electrons you counted.
To draw a Lewis structure, count the valence electrons, connect the atoms with single bonds, fill out lone pairs from the outside in, and convert lone pairs into multiple bonds where a central atom is still short. Then check that the electron count and charge match what you started with.
A Lewis structure is a map of which atoms are connected and where the valence electrons sit. It does not show true angles or distances, but it is the starting point for predicting both.
Before you start
You need the number of valence electrons for each atom. For main-group elements it follows from the group number: group 1 has one, group 2 has two, and groups 13 to 18 have three to eight (helium, with two, is the exception). See how to count valence electrons.
A line between atoms stands for a shared pair, or two electrons. A pair of dots stands for a lone pair on one atom. Your goal for most second-period atoms is eight electrons, and for hydrogen two.
The method
- Count all valence electrons, adjusted for any charge.
- Arrange a skeleton. The least electronegative atom other than hydrogen usually goes in the center.
- Connect each outer atom to the center with a single bond, using two electrons each.
- Complete the octets of the outer atoms with lone pairs (hydrogen needs none).
- Place any remaining electrons on the central atom.
- Shift lone pairs from outer atoms into double or triple bonds until the central atom has an octet.
Worked example: water and ammonia
These need only the first five steps.
H₂O
count: 2(1) + 6 = 8 electrons
skeleton: H−O−H uses 4
outer: hydrogens are already full
center: 4 left → 2 lone pairs on O
check: O has 2 bonds + 2 lone pairs = 8
NH₃
count: 5 + 3(1) = 8 electrons
bonds: 3 N−H bonds use 6
center: 2 left → 1 lone pair on N
check: N has 8 Worked example: carbon dioxide
Here step 6 comes into play.
CO₂
count: 4 + 2(6) = 16 electrons
skeleton: O−C−O uses 4, leaving 12
outer: 3 lone pairs on each O uses all 12
center: C has only 4 electrons: not enough
shift: move one lone pair from each O into a C=O bond
result: O=C=O with 2 lone pairs on each O
check: 8 bonding + 8 lone = 16 Why one pair from each oxygen and not two from one? Both choices give carbon an octet. The symmetrical structure keeps every formal charge at zero, while the alternative with a triple bond to one oxygen does not. Formal charge shows how to compare them.
Worked example: hydrogen cyanide
HCN has 1 + 4 + 5 = 10 valence electrons. Hydrogen cannot be central, and carbon is less electronegative than nitrogen, so the skeleton is H−C−N.
Two single bonds use 4 electrons. Give nitrogen three lone pairs with the remaining 6. Carbon now has only 4. Move two of nitrogen's lone pairs into the C−N bond.
The result is H−C≡N with one lone pair on nitrogen. Count to confirm: 2 (H−C) + 6 (triple bond) + 2 (lone pair) = 10. Hydrogen cyanide is a highly toxic substance, and this is strictly a drawing exercise.
Worked examples with charge
Ions need an adjusted count and square brackets with the charge written outside.
NH₄⁺
count: 5 + 4(1) − 1 = 8
bonds: 4 N−H bonds use all 8
result: [NH₄]⁺ with no lone pairs
CO₃²⁻
count: 4 + 3(6) + 2 = 24
bonds: 3 C−O bonds use 6, leaving 18
outer: 3 lone pairs on each O use 18
center: C has 6
shift: make one C=O double bond
result: [CO₃]²⁻ with one double and two single bonds
check: 8 bonding + 16 lone = 24 In carbonate, any of the three oxygens could carry the double bond. The three drawings are equivalent, and the real ion is a blend of them with three identical bonds. That is resonance.
Choosing the skeleton
The formula alone does not always tell you the connections. Some guidelines help.
- Hydrogen and the halogens are usually outer atoms, since they commonly form one bond. Halogens can be central when bonded to oxygen or to other halogens.
- In many oxoacids, such as HNO₃ or H₂SO₄, the hydrogens are attached to oxygen, not to the central atom.
- Small molecules often favor a compact, symmetrical arrangement.
- Organic condensed formulas give the order directly: CH₃CHO means a CH₃ group bonded to a CH group that carries an oxygen.
Different skeletons for one formula can both be real compounds. These are isomers, and experiment tells them apart.
A longer example: nitric acid
Larger molecules use the same steps, applied with a little care. Nitric acid is HNO₃, and its hydrogen is bonded to an oxygen.
count: 1 + 5 + 3(6) = 24 electrons
skeleton: H−O−N, with two more O on N
bonds: 4 single bonds use 8, leaving 16
outer O: each of the two end oxygens takes 3 lone pairs (12)
middle O: the O bonded to H takes 2 lone pairs (4)
leftover: 16 − 12 − 4 = 0
center: N has only 6 electrons
shift: one end oxygen donates a pair to make N=O The finished structure has one N=O double bond, one N−O single bond to a terminal oxygen, and the N−O−H group. Nitrogen has four bonds and a formal charge of +1, and the singly bonded terminal oxygen carries −1. The total charge is zero.
Either of the two terminal oxygens could take the double bond, so the pair of N−O distances at that end of the molecule are equal in reality. The bond to the O−H oxygen is longer.
Notice how a procedure that seems mechanical delivers chemical information. The drawing suggests that the hydrogen sits on a different kind of oxygen from the other two, and that the negative charge left after losing H⁺ can be spread over all three. Nitric acid is corrosive and a strong oxidizer, so real handling follows the safety data sheet and instructor direction.
When you have two central atoms
For molecules such as ethene (C₂H₄) or hydrazine (N₂H₄), neither atom is the single center. Link the two heavy atoms first, attach the hydrogens evenly, and then distribute what is left.
C₂H₄
count: 2(4) + 4(1) = 12
bonds: C−C and 4 C−H use 10, leaving 2
place: a lone pair on one carbon leaves the other short
shift: share that pair to give C=C
N₂H₄
count: 2(5) + 4(1) = 14
bonds: N−N and 4 N−H use 10, leaving 4
place: one lone pair on each N, and both have octets The same skeleton, with one or two more electrons per heavy atom, changes the central bond from double to single.
When the octet does not fit
Odd electrons. Nitrogen monoxide has 11 valence electrons. One atom must end with an unpaired electron, and nitrogen is the usual place, since oxygen is more electronegative.
Short central atoms. For BF₃ (24 electrons), the standard drawing leaves boron with six and does not force a double bond onto fluorine.
Extra electrons. For SF₄ (34 electrons), four S−F bonds and three lone pairs on each fluorine use 32. The last pair goes on sulfur, giving it ten in the drawing. Only atoms from the third period down are treated this way.
SF₄
count: 6 + 4(7) = 34
bonds: 4 × 2 = 8, leaving 26
outer: 4 F × 6 = 24, leaving 2
center: 1 lone pair on S These cases are collected in the octet rule and its exceptions.
Checking your work
Run through this short list before you move on.
| Check | Question to ask |
|---|---|
| Electron total | Do bonds and lone pairs add up to your count? |
| Hydrogen | Does each H have exactly one bond and no lone pairs? |
| Second period | Does any C, N, O or F exceed eight? |
| Charge | Do the formal charges add to the ion's charge? |
| Plausibility | Are negative formal charges on electronegative atoms? |
If the electron total is off by two, you have probably added or lost a lone pair, or forgotten the charge.
Where students usually go wrong
A few errors account for most wrong drawings, and each has a quick cure.
Forgetting the charge. A carbonate ion drawn with 22 electrons cannot give everyone an octet, and the temptation is to leave an atom short. Recount first: the 2− charge adds two electrons.
Putting hydrogen in the middle. Hydrogen has room for only two electrons, so it cannot link two other atoms in an ordinary Lewis structure.
Adding electrons to make octets. You may only rearrange what you counted. If the center is short, share existing lone pairs. Never invent new ones.
Making double bonds to fluorine. Fluorine holds its lone pairs very tightly and is shown with a single bond in ordinary structures.
Reading geometry from the page. Drawing water in a straight line is not wrong as a Lewis structure, but concluding that water is linear would be. The paper layout carries no angles.
Stopping at the first answer. When more than one arrangement uses the right number of electrons, compare them before choosing, and say so if two are equivalent.
A useful habit is to write the count at the top of your work and tick it off as you place pairs. At the end, a running total that matches is quick evidence that the drawing is at least self-consistent.
From drawing to shape
Once the structure is correct, count the electron groups around each central atom: each bond, single or multiple, counts as one group, and so does each lone pair. Water has four groups and a bent shape. Carbon dioxide has two and is linear. This is the basis of VSEPR theory.
Practice set
Try formaldehyde (CH₂O), nitrogen (N₂) and the hydroxide ion (OH⁻), then compare.
- CH₂O: 12 electrons. A C=O double bond, two C−H bonds and two lone pairs on oxygen.
- N₂: 10 electrons. A triple bond and one lone pair on each nitrogen.
- OH⁻: 8 electrons. One O−H bond and three lone pairs on oxygen, with the negative charge on oxygen.
Speed comes with repetition. After a dozen examples you will start to recognize familiar fragments, and the full count becomes a check more than a construction method.