Abstract In this work, we investigated the feasibility of ammonium removal by electrodialysis (ED), a well‐known electro‐membrane process, based on the selective migration of anions and cations through anion exchange membranes (AEMs) and cation exchange membranes (CEMs). ED experiments are performed using a laboratory pilot. The ion exchange membranes (IEMs) pair used is AXE/CMX, AXE as an AEMs and CMX as a CEMs. The first tests are performed with real groundwater solutions from Kenitra city (Morocco), spiked with an initial concentration of 3 mg/L NH4Cl. The results gave a specific demineralization (SD) to NH4+ ions of 84.60 %; for a demineralization rate (DR) of 80 % and a time of 60 min. The multivariate principal component analysis (PCA) presents a total inertia of 99.23 %, the majority of the variables of which are positively correlated on the C1 axis with a variance of 95.5 % than that of C2 of 3.78 %. The quality of the diluted water determined by the Legrand‐Poirier method showed that the water was aggressive and that the addition of 4.54 mg/L Ca2+ was necessary to balance the water and make it fit for human consumption.