Magnesium is an essential nutrient involved in many important processes in living organisms, including protein synthesis, cellular energy production and storage, cell growth and nucleic acid synthesis. In this study, we analysed the effect of magnesium deficiency on the proliferation of SaOS-2 osteosarcoma cells. When quiescent magnesium-starved cells were induced to proliferate by serum addition, the magnesium content was 2–3 times lower in cells maintained in a medium without magnesium compared with cells growing in the presence of the ion. Magnesium depletion inhibited cell cycle progression and caused the inhibition of cell proliferation, which was associated with mTOR hypophosphorylation at Serine 2448. In order to map the intracellular magnesium distribution, an analytical approach using synchrotron-based X-ray techniques was applied. When cell growth was stimulated, magnesium was mainly localized near the plasma membrane in cells maintained in a medium without magnesium. In non-proliferating cells growing in the presence of the ion, high concentration areas inside the cell were observed. These results support the role of magnesium in the control of cell proliferation, suggesting that mTOR may represent an important target for the antiproliferative effect of magnesium. Selective control of magnesium availability could be a useful strategy for inhibiting osteosarcoma cell growth.