Electrocoagulation consists of the in-situ generation of the coagulant by the electro dissolution of sacrificial electrodes (Mg and Al). This technique, besides being normally used for water treatment, can be used to synthesize Layered Double Hydroxides (LDH) or Hydrotalcites (HT) such as green rust, MgAlCl/LDH, and other oxides as Magnetite. The HT has a high tendency for water in the interlayer to be replaced by anions, these exchange characteristics generate a high interest in the fields of drug administration, photodegradation, catalyst supports, supercapacitors, and water oxidation. There are several routes of synthesis for these compounds such as co-precipitation, hydrolysis of urea, hydrothermal treatment and a novel route by electrocoagulation (EC).This work discloses the data of the energy consumption at laboratory-scale production in the synthesis of hydrotalcite (HT) or Layered Double Hydroxides (LDH) by electrocoagulation, the values obtained through these experiments are intended to provide support due to the lack of information on the energy consumption of this novel production method. Aluminum and AZ31 electrodes were used as a cations source during two- and four-hours operation, at 50 °C with 5 mA cm−2 of current density, and 5 minutes of polarity change for Aluminum and 8 minutes for AZ31 (Magnesium alloy).