Abstract Several ketone allylhydrazones were electrochemically oxidized in methanol in the presence of sodium methoxide and potassium iodide to afford the corresponding azines. The electro-oxidation involves formation of a new carbon–nitrogen double bond between an allylic carbon atom and the nitrogen atom of a hydrazone to afford a conjugated system. Optimal yields were obtained when 0.5 equivalents