Using the Skyrme functional with SIII, SKM*, SLy4, and UNE0 sets of parameters and the Hartree–Fock–Bogoliubov mean-field method; the ground-state properties of even-even and even-odd neutron-rich Mg isotopes have been investigated. The results of calculations of the binding energy per nucleon (B/A), the one- and two-neutron separation energies (Sn and S2n), proton and neutron rms radii, neutron pairing gap, and quadrupole deformation parameter (B2) have been compared with the available experimental data, the results of Hartree–Fock–Bogoliubov calculations based on the D1S Gogny force, and predictions of some nuclear models such as the Finite Range Droplet Model (FRDM) and Relativistic Mean-Field (RMF) model. Our results show good agreements in comparison with the experimental data and the results of the mentioned models.