Electro-electrodialysis is an electromembrane process utilizing three compartments, which combines electrodialysis and electrolysis. It is commonly used to recover acid from a solution using AEM, CEM and electrolysis. The three compartments are separated by two barriers, which are the ion exchange membranes. The compartment in the middle has the water to be treated. The compartments located on the sides contain clean water. The anions pass through the AEM, while the cations pass through the CEM. The electricity creates H in the anions side and OH in the cations side, which react with the respective ions.