BACKGROUND: There are a number of articles related to removal of boron by electrocoagulation using aluminium electrodes, but there are fewer articles describing the use of magnesium as the anode material. The main disadvantage of aluminium electrodes is the residual aluminium present in the treated water due to cathodic dissolution, which can create health problems. In the case of magnesium electrodes, there is no such disadvantage. This paper presents the results of studies on the removal of boron using magnesium and stainless steel as anode and cathode, respectively.