We have developed a convenient and efficient method for the electrosynthesis of nanosized particles of 2-amino-pyrane derivatives through the reaction of aromatic aldehyde or isatin against malononitrile and 1,3-dicarbonyl compound inside an undivided cell where sodium bromide was present as electrolyte in propanol medium. This procedure resulted in efficient and selective formation of the products.