An efficient electrochemical system for the construction of diselenytlated indolizines from available pyridines, ketones and diselenides under undivided electrolytic conditions was developed. No external oxidants and transition-metal catalysts are needed for achieving this three-component tandem reaction realizing C-C, C-N and C-Se bond formations.