Test for Magnesium ion (Mg²⁺)
What is the confirmatory test for Mg²⁺?
Disodium hydrogen phosphate test: Na₂HPO₄ added to the ammoniacal original solution, with warming and scratching, gives a white crystalline ppt of magnesium ammonium phosphate, MgNH₄PO₄.
Mg²⁺ is the Group VI cation. It is not precipitated by (NH₄)₂CO₃ in Group V because the NH₄Cl present keeps the carbonate ion concentration low. After Groups I to V are absent, Na₂HPO₄ in ammoniacal solution gives a white crystalline ppt, and Magneson I gives a blue lake.
Checked against the NCERT Lab Manual (Class XII, Unit 7: Systematic Qualitative Analysis). Updated 27 Nov 2026.
- TypeCation (basic radical)
- GroupGroup VI
- NCERT practical listIn the NCERT ion list
How to spot Mg²⁺
- Magnesium salts are white.
- No ppt in Groups I to V, including none with (NH₄)₂CO₃.
- The phosphate ppt forms slowly; scratching the walls of the tube speeds it up.
Tests for Mg²⁺: experiment, observation, inference
| Experiment | Observation | Inference |
|---|---|---|
| If Groups I–V are absent, add solid NH₄Cl, NH₄OH and disodium hydrogen phosphate solution to the original solution, warm and scratch the inner walls with a glass rod | A white crystalline precipitate of magnesium ammonium phosphate is formed | Mg²⁺ is confirmed |
| Magneson Test (confirmatory) To the salt solution add 2–3 drops of Magneson I reagent (p-nitrobenzeneazoresorcinol) and then NaOH solution | A blue precipitate (blue lake) is formed | Mg²⁺ is confirmed |
Equations
- Mg²⁺ + HPO₄²⁻ + NH₃ → MgNH₄PO₄ ↓ (white crystalline)
- MgCl₂ + Na₂HPO₄ + NH₄OH → MgNH₄PO₄ ↓ + 2NaCl + H₂O
- Mg²⁺ + 2OH⁻ → Mg(OH)₂ ↓ (adsorbs Magneson I to give a blue lake)
Named tests used
Salts with Mg²⁺
- Magnesium Sulphate (MgSO₄)
- Magnesium Chloride (MgCl₂)
- Magnesium Bromide (MgBr₂)
- Magnesium Iodide (MgI₂)
- Magnesium Fluoride (MgF₂)
- Magnesium Nitrate (Mg(NO₃)₂)
- Magnesium Carbonate (MgCO₃)
- Magnesium Sulphide (MgS)
- Magnesium Sulphite (MgSO₃)
- Magnesium Phosphate (Mg₃(PO₄)₂)
- Magnesium Nitrite (Mg(NO₂)₂)
- Magnesium Acetate (Mg(CH₃COO)₂)
- Magnesium Oxalate (MgC₂O₄)
Common mistakes
- Adding Na₂HPO₄ without NH₄Cl and NH₄OH, so the ammonium phosphate ppt cannot form properly.
- Reporting Mg²⁺ without first showing that Group V is absent.
- Giving up too soon; the white crystalline ppt can take a few minutes to appear.
Viva questions on Mg²⁺
Which group does Mg²⁺ belong to?
Group VI, the last group in the scheme.
Why is Mg²⁺ not precipitated in Group V?
NH₄Cl suppresses the carbonate ion concentration from (NH₄)₂CO₃ (common-ion effect), so the ionic product of MgCO₃ stays below its solubility product.
Why is the inside of the test tube scratched with a glass rod?
Scratching gives rough sites for crystals to start forming, so the slow crystalline ppt appears sooner.
What is the white ppt in the confirmatory test?
Magnesium ammonium phosphate, MgNH₄PO₄.
What is Magneson I?
p-Nitrobenzeneazoresorcinol, a dye that is adsorbed on Mg(OH)₂ in alkaline solution to give a blue lake.
Why must Group V ions be absent before the phosphate test?
Ca²⁺, Sr²⁺ and Ba²⁺ also give white phosphate ppts and would give a false result.
Other cations
Printing a summary? Get the one-page salt analysis chart.