MgO: Is Magnesium Oxide Covalent or Ionic? Understanding the Bond
Ionic.
Mg has two valence electrons, and O has six. Mg will give up two electrons to become Mg2+, and O will accept two electrons to become O2-. The resulting compound is MgO, which is an ionic compound.