Azoles and organoselenium compounds are pharmacologically important scaffolds in medicinal chemistry and natural products. We developed an efficient regioselective electrochemical aminoselenation reaction of 1,3-dienes, azoles, and diselenide derivatives to access selenium-containing allylazoles skeletons. This protocol is more economical and environmentally friendly and features a broad substrate scope; pyrazole, triazole, and tetrazolium were all tolerated under the standard conditions, which could be applied to the expedient synthesis of bioactive molecules and in the pharmaceutical industry.