The effect of electrocoagulation treatment was investigated on black liquor from soda-anthraquinone (AQ) pulping of wheat straw. Removal of phenol, chemical oxygen demand (COD), color, total suspended solids (TSS), total dissolved solids (TDS), and total solids (TS) from black liquor was investigated at different current densities by using aluminum electrodes at various electrolysis times (10, 25, 40, 55, and 70 min) and pH levels (3, 5, 7, 9, and 10.5). It was observed that at 16 V, electrolysis time of 55 min and current density of 61.8 mA/cm(2) were sufficient for the removal of the pollutants. Energy consumption was evaluated as an important cost-relation parameter. Results showed that the electrocoagulation treatment reduced color intensity from the high initial value of 18,750 to 220 PCU. This was strongly influenced by the pH level of the wastewater. In addition, it was found that the removal efficiency increased with increasing of current density. The maximum efficiencies for removal were 98.8, 81, 80, 92, 61, and 68 % for color, phenol, COD, TSS, TDS, and TS, respectively. The lowest energy consumption values were obtained at neutral pH after 55 min. Electrocoagulation was found to be an effective, simple, and low-cost technique to treat black liquor.