Reaction of diethylaminomalonate with formaldehyde in the presence of suitable dipolarophiles results in the formation of pyrrolidine derivatives. With less reactive dipolarophiles the initially formed azomethine ylid undergoes reaction with the aminomalonate to form tetraethyl methylenebisaminomalonate.