Several hydroquinolyl alcohols and amines were electrochemically oxidized in methanol in the presence of sodium methoxide and potassium iodide to afford the corresponding intramolecular cyclization products. Furthermore, several amino malonates were electrochemically oxidized to yield the corresponding heterocyclic compounds through an intramolecular carbon–carbon bond formation in the presence of sodium cyanide in methanol.