Blog
Magnesium Oxide Dot-and-Cross Diagram, Step by Step
Short answer: a magnesium atom gives its two outer electrons to an oxygen atom. Magnesium becomes a Mg²⁺ ion and oxygen becomes an O²⁻ ion. In the dot-and-cross diagram, draw each ion inside its own square brackets with its charge outside, at the top right. The oxide ion has eight outer electrons: six of its own and two from magnesium.

Step 1: write the electronic configurations
| Atom | Proton number | Electronic configuration | Outer electrons |
|---|---|---|---|
| Magnesium, Mg | 12 | 2, 8, 2 | 2 |
| Oxygen, O | 8 | 2, 6 | 6 |
Magnesium is a metal in Group 2, so it loses electrons. Oxygen is a non-metal in Group 16, so it gains electrons.
Step 2: move the electrons
Magnesium loses its two outer electrons, and oxygen gains them:
Mg → Mg²⁺ + 2e⁻ (2, 8, 2 becomes 2, 8)
O + 2e⁻ → O²⁻ (2, 6 becomes 2, 8)
Both ions now have the electronic configuration 2, 8, the same as the noble gas neon. One magnesium atom gives exactly the two electrons one oxygen atom needs, so the ions combine in a 1 : 1 ratio and the formula is MgO.
Step 3: draw the finished diagram
- Show outer (valence) electrons only. There is no need to draw circles for the shells or the inner electrons.
- Use one symbol for each atom’s electrons: here dots for magnesium and crosses for oxygen.
- Magnesium ion: magnesium has given away both outer electrons, so draw [Mg]²⁺ with no electrons around it.
- Oxide ion: draw eight electrons in four pairs around the O: three pairs of crosses (its own six electrons) and one pair of dots (the two it received from magnesium).
- Put each ion in its own square brackets, and write the charge outside the top right corner: [Mg]²⁺ and [O]²⁻.
You can also show the transfer as an equation, with the atoms on the left and the ions on the right, as in the diagram above.
Five common mistakes
- One bracket around both ions. Each ion is a separate particle with its own charge, so each needs its own brackets.
- Missing or wrong charges. The charges are 2+ and 2−, not + and −. They must balance: (2+) + (2−) = 0.
- Drawing a shared pair between Mg and O. Sharing electrons is covalent bonding. In MgO the electrons are transferred, not shared.
- Wrong electron count on the oxide ion. O²⁻ has eight outer electrons. Six or seven means the transfer is incomplete.
- Wrong formula. Writing Mg₂O or MgO₂ ignores the charges. Two electrons lost, two gained: one Mg²⁺ for each O²⁻.
Why magnesium oxide has such a high melting point
Magnesium oxide has a giant ionic lattice. Millions of Mg²⁺ and O²⁻ ions are held together by strong electrostatic forces of attraction between oppositely charged ions, and a lot of energy is needed to overcome them. That is why MgO melts at about 2 850 °C.
Compare sodium chloride (about 801 °C). The ions in MgO carry double the charge (2+ and 2− rather than + and −) and are smaller, so the attraction between them is much stronger. At A-level you describe this as MgO having a more exothermic lattice energy than NaCl.
Like other ionic compounds, MgO does not conduct electricity when solid, because the ions cannot move, but it does conduct when molten, because the ions are free to move.
Frequently asked questions
How many electrons does magnesium give to oxygen? Two. Magnesium (2, 8, 2) loses its two outer electrons to become Mg²⁺, and oxygen (2, 6) gains them to become O²⁻.
Why are square brackets used in the dot-and-cross diagram of MgO? To show that each ion is a separate particle carrying its own charge. Draw [Mg]²⁺ and [O]²⁻ in separate brackets, with each charge outside the top right corner.
Is magnesium oxide ionic or covalent? Ionic. It forms between a metal and a non-metal, and electrons are transferred from magnesium to oxygen rather than shared.
Why does magnesium oxide have a higher melting point than sodium chloride? The Mg²⁺ and O²⁻ ions carry higher charges and are smaller than Na⁺ and Cl⁻, so the electrostatic attraction between them is much stronger and more energy is needed to break the lattice.
Practise this
Try the O-level question on this exact diagram: 2024 Paper 1 Q9, and the related 2019 Paper 1 Q7 on ionic compounds.
A-level students can try the H2 dot-and-cross question on barium peroxide, 2019 Paper 1 Q4, and the lattice energy questions 2022 Paper 1 Q10 and 2024 Paper 1 Q8.
For covalent molecules, read how carbon monoxide gets its triple bond in the CO dot-and-cross post, watch the dot-and-cross mini lesson, and build more diagrams step by step in the free Dot-and-Cross Practice simulation on KhemBank.
Book a trial lesson for O-Level Chemistry and learn to draw every bonding diagram the way markers want it.