A new electrochemical method for the preparation of isocyanides from easily accessible aminotetrazole derivatives has been developed, which tolerates an unprecedented range of functional groups. The use of chemical, rather than electrochemical, oxidation to afford isocyanides was also demonstrated, which provides access to these compounds for those without electrosynthesis equipment. The practicality of scale-up using flow electrochemistry has been demonstrated, in addition to the possibility of using electrochemically generated isocyanides in further reactions.