The structures and binding enthalpies of a variety of gas-phase divalent magnesium ion hydrates containing up to 18 water molecules have been studied computationally. Second-order Møller-Plesset (MP2) perturbation theory and B3LYP hybrid density functional theory, using large basis sets containing both (multiple) polarization and diffuse functions, were employed. A comparison with experimental data is made by use of information on 36 Mg[H 2 O] 6 2+ crystal structures listed in the Cambridge Structural Database. Computational studies indicate that Mg[H 2 O] 5 2+ and Mg[H 2 O] 6 2+ complexes with all the water molecules in the inner coordination sphere are lower in energy than structures with one or two of the water molecules placed in the second coordination sphere; these energy differences are larger for MP2 than for B3LYP calculations, when the same basis set is employed. Hydrated magnesium environments in crystal structures confirm the stability of the Mg[H 2 O] 6 2+ grouping. A new model of a divalent magnesium ion complex with a total of 18 water molecules in two concentric shells of hydration is presented. In this model six water molecules are arranged octahedrally in the first coordination shell and 12 additional water molecules, hydrogen-bonded to those in the inner shell, fill the second shell. This new structure of Mg[H 2 O] 6 2+ ‚[H 2 O] 12 has an integrated hydrogen-bonding network in which water pentamers, composed of four second-shell water molecules and one first-shell water molecule, play a significant role. The geometry is derived from that of a pentagonal dodecahedral arrangement of water molecules enclosing an Mg[H 2 O] 6 2+ octahedron. This model has S 6 symmetry and is calculated to be lower in energy than other forms of Mg[H 2 O] 6 2+ ‚[H 2 O] 12 previously described in the literature (Pavlov et al. J.