Electrosynthesis in chemistry is the synthesis of chemical compounds in an electrochemical cell. The main advantage of electrosynthesis over an ordinary redox reaction is avoidance of the potential wasteful other half-reaction and the ability to precisely tune the required potential. Electrosynthesis is actively studied as a science and also has many industrial applications. Electrooxidation is studied not only for synthesis but also for efficient removal of certain harmful organic compounds in wastewater.
The basic setup in electrosynthesis is a galvanic cell, a potentiostat and two electrodes. Good electrosynthetic conditions use a solvent and electrolyte combination that minimizes electrical resistance.Protic conditions often use alcohol-water or dioxane-water solvent mixtures with an electrolyte such as a soluble salt, acid or base. Aprotic conditions often use an organic solvent such as acetonitrile or dichloromethane with electrolytes such as lithium perchlorate or tetrabutylammonium acetate. Electrodes are selected which provide favorable electron transfer properties towards the substrate while maximizing the activation energy for side reactions. This activation energy is often related to an overpotential of a competing reaction. For example, in aqueous conditions the competing reactions in the cell are the formation of oxygen at the anode and hydrogen at the cathode. In this case a graphite anode and lead cathode could be used effectively because of their high overpotentials for oxygen and hydrogen formation respectively. Many other materials can be used as electrodes. Other examples include platinum, magnesium, mercury (as a liquid pool in the reactor), stainless steel or reticulated vitreous carbon. Some reactions use a sacrificial electrode which is consumed during the reaction like zinc or lead. The two basic cell types are undivided cell or divided cell type. In divided cells the cathode and anode chambers are separated with a semiporous membrane. Common membrane materials include sintered glass, porous porcelain, polytetrafluoroethene or polypropylene. The purpose of the divided cell is to permit the diffusion of ions while restricting the flow of the products and reactants. This is important when unwanted side reactions are possible. An example of a reaction requiring a divided cell is the reduction of nitrobenzene to phenylhydroxylamine, where the latter chemical is susceptible to oxidation at the anode.