A number of 5-(alkylamino)- or 5-(arylamino)-2H-pyrrolium salts 3 or 5 have been obtained by treating the 1-aza-1,3-diene hydrochlorides 2 with isocyanides R4NC in refluxing acetonitrile or chloroform for a few hours. Depending on the experimental conditions, deprotonation of these species can occur in the reaction medium to furnish the corresponding 2-aminopyrroles 4 and 6. Insertion of isocyanide