The difference in one line
Electron geometry is where all the electron domains point. Molecular geometry is where the atoms are. When the central atom has no lone pairs the two answers are the same; every lone pair makes them differ.


In the right-hand picture the two translucent lobes are oxygen's lone pairs. Cover them with your thumb and what is left, two hydrogens at an angle, is the molecular geometry.
Every case where they differ
| AXE | Electron geometry | Molecular geometry | Examples |
|---|---|---|---|
| AX2E | trigonal planar | bent | SO2, O3 |
| AX3E | tetrahedral | trigonal pyramidal | NH3, PCl3 |
| AX2E2 | tetrahedral | bent | H2O, H2S |
| AX4E | trigonal bipyramidal | seesaw | SF4, SeF4 |
| AX3E2 | trigonal bipyramidal | T-shaped | ClF3, BrF3 |
| AX2E3 | trigonal bipyramidal | linear | XeF2, I3− |
| AX5E | octahedral | square pyramidal | BrF5, IF5 |
| AX4E2 | octahedral | square planar | XeF4, ICl4− |
If the AXE class has no E, both geometries share one name; the VSEPR chart lists those rows too.
Which one is the question asking for?
- "Electron geometry", "electron domain geometry", "electron pair geometry", "electron arrangement": count lone pairs.
- "Molecular geometry", "molecular shape", "shape of the molecule": atoms only.
- "Hybridization" follows the electron geometry: water is sp3 because its electron geometry is tetrahedral, not because it is bent.
- "Polarity" depends on the molecular geometry: water is polar because it is bent.
Quick check
SO2: electron geometry and molecular geometry?
Three domains (2 O, 1 lone pair): trigonal planar electron geometry, bent molecular geometry.
XeF2: electron geometry and molecular geometry?
Five domains (2 F, 3 lone pairs): trigonal bipyramidal electron geometry, linear molecular geometry.
CO2: do the two geometries differ?
No. Carbon has two domains and no lone pairs, so both are linear.
The quiz at the top of the page deals random molecules and asks for the electron geometry; switch the question type to Molecular geometry to drill the other half.
Sources: OpenStax Chemistry 2e, §7.6 Molecular Structure and Polarity.