Direct or Ni-catalysed electroreductive homocouplings of organic halides and couplings of organic halides with activated olefins are efficiently conducted by constant current electrolyses in an undivided cell in room-temperature ionic liquids as the solvent–electrolyte media.