Disodium hydrogen phosphate test

What is the test for Mg²⁺ in salt analysis?

When Groups I to V are absent, disodium hydrogen phosphate (Na₂HPO₄) is added to the ammoniacal solution and the inner walls of the test tube are scratched with a glass rod. A white crystalline ppt of magnesium ammonium phosphate, Mg(NH₄)PO₄, confirms Mg²⁺.

The disodium hydrogen phosphate test is the Group VI test for Mg²⁺. In the NCERT scheme it is done on the original solution once Groups I to V are absent (or on the filtrate of Group V). The ppt forms slowly, so warming and scratching the tube help crystals to start.

Checked against the NCERT Lab Manual (Class XII, Unit 7: Systematic Qualitative Analysis). Updated 27 Nov 2026.

  • DetectsMg²⁺
  • Positive resultA white crystalline ppt of magnesium ammonium phosphate.

Reagents

  • Ammonium chloride
  • Ammonium hydroxide solution
  • Disodium hydrogen phosphate solution (Na₂HPO₄)

Procedure

  1. Take the original solution (Groups I to V being absent), or the filtrate of Group V.
  2. Add NH₄OH (with a little NH₄Cl) to make it ammoniacal.
  3. Add disodium hydrogen phosphate solution.
  4. Warm the solution and scratch the inner walls of the test tube with a glass rod.

Observation

A white crystalline ppt of magnesium ammonium phosphate.

Equations

  • Mg²⁺ + HPO₄²⁻ + NH₄OH → Mg(NH₄)PO₄ ↓ (white crystalline) + H₂O
  • MgCl₂ + Na₂HPO₄ + NH₄OH → Mg(NH₄)PO₄ ↓ + 2NaCl + H₂O

Why it works

In ammoniacal solution HPO₄²⁻ combines with Mg²⁺ and NH₄⁺ to form sparingly soluble magnesium ammonium phosphate. The solution easily becomes supersaturated, and scratching the glass gives rough sites on which crystals start to grow. NH₄Cl keeps [OH⁻] low so that Mg(OH)₂ does not precipitate instead.

Precautions

  • Groups I to V must be completely removed; Ca²⁺, Sr²⁺ and Ba²⁺ also give white phosphate ppts.
  • Scratch the walls and wait; the ppt is slow to form from dilute solutions.
  • Add NH₄Cl before NH₄OH so that gelatinous Mg(OH)₂ does not form.

Viva questions on the disodium hydrogen phosphate test

  1. What is the white crystalline ppt in the Mg²⁺ test?

    Magnesium ammonium phosphate, Mg(NH₄)PO₄.

  2. Why are the walls of the test tube scratched?

    Scratching gives rough points where crystals of the supersaturated ppt can start forming.

  3. Why must Group V be absent?

    Barium, strontium and calcium also give white ppts with phosphate.

  4. Why is NH₄Cl added?

    Its common NH₄⁺ ion lowers [OH⁻] from NH₄OH, so Mg(OH)₂ does not precipitate.

  5. Which other test confirms Mg²⁺?

    Magneson I reagent in alkaline solution gives a blue ppt (blue lake).

Ions it detects

Salts where you use it

Other tests

All tests on one page: the salt analysis chart.