Block copolymers of poly(N-formylethyleneimine) or poly(N-acetylethyleneimine) with poly(N-acylethyleneimine or poly(N-acylpropyleneimine) having a molecular weight of 500 to 50,000 and a method for their production. These block copolymers are useful as surface active agents.