<p>The position of the critical point determines the top of the liquid-vapor coexistence dome, and is a physical parameter of fundamental importance in the study of high-energy shocks, including those associated with large planetary impacts. For most major planetary materials, like oxides and silicates, the estimated position of the critical point is below 1 g/cm<sup>3</sup> at temperatures above 5000 K. Here we compute the position of the critical point of one of the most ubiquitous materials: MgO. For this, we perform first-principles molecular dynamics simulations. We find the critical density to be in the 0.4 - 0.6 g/cm<sup>3</sup> range and the critical temperature in the 6500 - 7000 K range. We investigate in detail the behavior of MgO in the subcritical and supercritical regimes and provide insight into the structure and chemical speciation. We see a change in Mg-O speciation towards lower degrees of coordination as the temperature is increased from 4000 K to 10000 K. This change in speciation is less pronounced at higher densities. We observe the liquid-gas separation in nucleating nano-bubbles at densities below the liquid spinodal. The majority of the chemical species forming the incipient gas-phase consist of isolated Mg and O atoms and some MgO and O<sub>2</sub> molecules. We find that the ionization state of the atoms in the liquid phase is close to the nominal charge, but it almost vanishes close to the liquid-gas boundary and in the gas phase, which is consequently largely atomic.</p><p>&#160;</p><p>This research was supported by the European Research Council under EU Horizon 2020 research and innovation program (grant agreement 681818&#8211;IMPACT to RC). This research was performed by access to supercomputing facilities via eDARI stl2816 grants, PRACE RA4947 grant, Uninet2 NN9697K grant.</p>