Abstract An ion chromatography method was established for monitoring trace K+, Mg2+, and Ca2+ in table salt. A valve-switching technique was used as on-line method to eliminate the interference of Na+. The salt sample was dissolved in deionised water, and appropriate amounts were passed through 0.22 μm filter membrane before sampling. The Na+ was transferred to waste while other cations were retained on a Dionex CG12A column and then separated by a Dionex CS12A column.