Electrosynthesis

Electrosynthesis in chemistry is the synthesis of chemical compounds in an electrochemical cell. Compared to ordinary redox reaction, electrosynthesis sometimes offers improved selectivity and yields. Electrosynthesis is actively studied as a science and also has industrial applications. Electro-oxidation has potential for wastewater treatment as well.
Experimental setup.
The basic setup in electrosynthesis is a galvanic cell, a potentiostat and two electrodes. Typical solvent and electrolyte combinations 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 salts. The choice of electrodes with respect to their composition and surface area can be decisive. 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 that is consumed during the reaction like zinc or lead. Cell designs can be 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 separation simplifies workup. 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.
Reactions.
Organic oxidations take place at the anode. Compounds are reduced at the cathode. Radical intermediates are often invoked. The initial reaction takes place at the surface of the electrode and then the intermediates diffuse into the solution where they participate in secondary reactions.
The yield of an electrosynthesis is expressed both in terms the chemical yield and current efficiency. Current efficiency is the ratio of Coulombs consumed in forming the products to the total number of Coulombs passed through the cell. Side reactions decrease the current efficiency.
The potential drop between the electrodes determines the rate constant of the reaction. Electrosynthesis is carried out with either constant potential or constant current. The reason one chooses one over the other is due to a trade off of ease of experimental conditions versus current efficiency. Constant potential uses current more efficiently because the current in the cell decreases with time due to the depletion of the substrate around the working electrode (stirring is usually necessary to decrease the diffusion layer around the electrode). This is not the case under constant current conditions however. Instead as the substrate's concentration decreases the potential across the cell increases in order to maintain the fixed reaction rate. This consumes current in side reactions produced outside the target voltage.
Cathodic reductions.
and the reduction of 2-methoxynaphthalene: 
or
If the feed is and oxygen is evolved at the anode, the total reaction is:
Electrofluorination.
In organofluorine chemistry, many perfluorinated compounds are prepared by electrochemical synthesis, which is conducted in liquid HF at voltages near 5–6 V using Ni anodes. The method was invented in the 1930s. Amines, alcohols, carboxylic acids, and sulfonic acids are converted to the perfluorinated derivatives using this technology. A solution or suspension of the hydrocarbon in hydrogen fluoride is electrolyzed at 5–6 V to produce high yields of the perfluorinated product.