An electrochemical method to prepare solutions of samarium diiodide in THF is reported. The simple electrolysis of a samarium rod provides a rapid and straightforward in situ synthesis of SmI2. The electrogenerated complex catalyzes various CC bond formations. The reagent is produced continuously (see scheme) and leads to efficient organic electrosynthesis with significantly smaller amounts of solvent