Completed O=C=O with two lone pairs on each oxygen. Every atom has eight electrons around it, while the whole drawing contains only sixteen unique electrons.

How Do I Know When a Lewis Structure Needs a Double Bond?

December 02, 2026•7 min read

You’ve connected the atoms. You’ve filled the outside atoms with dots. You’ve used every valence electron you counted.

Then you check the middle atom. It still doesn’t have eight electrons around it.

This is where a Lewis-structure problem can start to feel like you’ve done something wrong, even when you’ve followed the steps correctly.

Let’s work through carbon dioxide, CO₂. You’ll see why it needs double bonds, where those electrons come from, and how to check your drawing without starting over.

Want to start from the beginning? Watch the Lewis Structures and Resonance playlist. It starts with valence electrons and builds one skill at a time. Watch on YouTube.

For the video on this exact step, watch When Do You Use Double or Triple Bonds in a Lewis Structure? Watch on YouTube.

First, give yourself an electron budget

Carbon contributes 4 valence electrons. Each oxygen contributes 6.

4 + 2(6) = 16 valence electrons

Carbon contributes 4 valence electrons and each oxygen contributes 6, for 16 total.

Write 16 at the top of your paper. That’s your total for the entire CO₂ drawing. Every dot counts as one electron. Every bond line between atoms counts as two.

Start with carbon in the center and one single bond to each oxygen:

An unfinished O–C–O skeleton with two single bonds, no lone pairs yet: 4 electrons used and 12 left.

Those two bonds use 4 electrons. That leaves 12.

Put those remaining electrons around the oxygens: three lone pairs on each oxygen. Now you’ve used all 16. Here’s what your paper should show at this point:

Unfinished CO2 drawing: two single bonds and three lone pairs on each oxygen. Both oxygens have octets; carbon has only four electrons around it. Total 16.

So why isn’t it finished?

Check each atom separately

Each oxygen has six electrons in lone pairs and two in its bond to carbon. That makes eight around each oxygen.

Carbon has two single bonds. Two electrons in each bond gives carbon only four electrons around it.

We need to improve the drawing, but we don’t get to increase the budget. Adding four more dots would give us 20 electrons. CO₂ only gave us 16.

Here’s the useful move: use a lone pair that’s already on an oxygen to make another bond to carbon.

Turn a lone pair into a bond

Pick one oxygen. Erase one of its lone pairs and draw a second bond line between that oxygen and carbon.

That pair is now shown as a shared pair. The two atoms share two pairs altogether: a double bond.

Carbon now has six electrons around it: four in the double bond and two in the remaining single bond.

Still short of eight. Here’s the drawing after that first change:

Unfinished O=C–O drawing. Left oxygen now has two lone pairs; right oxygen has three. The new bond line is purple. Both oxygens still have eight electrons around them; carbon has six. Total 16.

Why use the other oxygen?

You could take another lone pair from the same oxygen. That would make a triple bond on one side and leave a single bond on the other.

It would use the right total of 16 electrons, and every atom would have eight around it. So counting electrons alone doesn’t settle this choice.

Let’s compare the two drawings.

Top: O=C=O, each oxygen has two lone pairs; formal charges are 0, 0, 0. Bottom: O triple-bonded to C, which is single-bonded to the other O; the triple-bonded O has one lone pair and +1 formal charge, C is 0, and the single-bonded O has three lone pairs and −1 formal charge. Both total 16 electrons and give every atom an octet. The top is the preferred Lewis structure.

CO₂ has two identical oxygen atoms attached to the same carbon. Matching ends are a useful clue here. But looking balanced isn’t enough to prove a drawing is the best choice. Let’s check the formal charges.

Formal charge is an electron-counting tool. For each atom:

Formal charge = valence electrons − lone-pair electrons − bond lines

Count every individual bond line: two for a double bond, three for a triple bond. A lone pair contributes two electrons. This is a different count from checking an octet.

For oxygen, the three possibilities work out like this:

Formal charge on oxygen

Oxygen’s bonds and lone pairs

Calculation

Two bond lines; two lone pairs

6 − 4 − 2 = 0

Three bond lines; one lone pair

6 − 2 − 3 = +1

One bond line; three lone pairs

6 − 6 − 1 = −1

Carbon has four bond lines and no lone pairs in both drawings: 4 − 0 − 4 = 0.

Using one pair from each oxygen gives us two double bonds and zero formal charge on every atom. Taking both pairs from the same oxygen leaves a +1 on that oxygen and a −1 on the other. The all-zero drawing is preferred here.

The single/triple drawing isn’t an impossible arrangement of dots and lines; it’s a less important resonance contributor. It isn’t the best single Lewis drawing to use for CO₂. The molecule does not switch back and forth between these pictures.

With practice, you’ll start spotting a familiar pattern: an oxygen with two bond lines and two lone pairs has a full octet and zero formal charge. For now, you can check the numbers whenever you need to.

Need that step explained more slowly? Watch How Do You Calculate Formal Charge in a Lewis Structure? Watch on YouTube.

Now finish with a double bond to each oxygen and two lone pairs on each:

Completed O=C=O with two lone pairs on each oxygen. Every atom has eight electrons around it, while the whole drawing contains only sixteen unique electrons.

These are steps for revising a Lewis drawing, not stages of a chemical reaction.

Why doesn’t oxygen lose its octet?

This is the part to slow down for.

Before the change, that oxygen had:

6 lone-pair electrons + 2 bonding electrons = 8

After the change, it has:

4 lone-pair electrons + 4 bonding electrons = 8

Oxygen still has eight around it. Carbon gets to count the newly shared pair toward its octet, too.

The electrons didn’t disappear. We changed how they’re represented in the drawing.

There are two different counts

For the whole molecule, count every electron once.

For an individual atom’s octet, count every electron in the bonds connected to that atom, along with its lone-pair electrons. A shared pair counts toward both bonded atoms’ octets.

That’s why the final CO₂ drawing has eight around each of three atoms without needing 24 separate electrons.

Check the total:

8 electrons in the two double bonds + 8 electrons in lone pairs = 16

The budget still balances.

The mistake to watch for

When you draw the extra bond line, erase the two dots you used.

If you leave the lone pair AND add a bond line, you’ve drawn that pair twice. This is an easy mistake to make when you’re focused on getting carbon to eight.

Deliberately incorrect CO2 example, prominently marked Fix this: two double bonds but three lone pairs still on each oxygen. It contains 20 electrons instead of 16 and gives each oxygen 10 electrons. Remove one lone pair from each oxygen.

You can check it immediately: count the total again. It should still match the number at the top of your paper.

A decision you can use again

For ordinary octet-rule problems involving carbon, nitrogen, and oxygen, use this check after you’ve placed all the available electrons:

  1. Check your total. Does the drawing use exactly the number of valence electrons you counted? For an ion, include its charge in that starting total.

  2. Check each atom. Hydrogen gets two. The carbon, nitrogen, and oxygen atoms in these standard problems need eight.

  3. If one of those atoms is short, look for a lone pair on a neighboring atom that could become another bond. Recount both atoms and the total after each change.

Sometimes one extra shared pair is enough. Sometimes you need another, making a triple bond. Keep counting instead of guessing how many lines look right.

Once the electron counts work, check formal charges to compare possible structures. In the completed O=C=O drawing, all three atoms have a formal charge of zero.

There are exceptions to the octet rule, including electron-deficient molecules, odd-electron species, and expanded-octet drawings. Don’t force this method onto every formula. Learn those as separate cases after the ordinary pattern makes sense.

Your turn

Try CH₂O. Put carbon in the center, with both hydrogens and the oxygen attached to it.

You have 4 + 2(1) + 6 = 12 valence electrons.

Start with single bonds and place the remaining electrons on oxygen. Which bond needs to become a double bond?

CH2O unfinished practice drawing: carbon single-bonded to two hydrogens and one oxygen. Oxygen has three lone pairs. Total 12, but carbon has only six electrons around it.

Pause here and try it before reading the answer.

Custom HTML/CSS/JavaScript

Keep practicing that decision

You don’t have to recognize the finished structure immediately. You can use the electron count to work out your next move.

The Lewis Structures and Resonance kit gives you guided activities, extra practice, and worked answers so you can check where your drawing changed. Activity 9 focuses on this exact decision: when to use double and triple bonds.

Find the kit in the Doc Knott shop: View the kit.

And if your study group keeps running out of electrons, send them this. Nobody needs to borrow any.

Teaching source: Doc Knott Lewis Structures and Resonance workbook, Activity 9. Formal-charge cross-check: OpenStax Chemistry 2e, Formal Charges and Resonance.

Back to Blog