The invention relates to a selfcrosslinking heat-hardenable binder, in particular for electropaints, which is based on an organic synthetic resin which contains hydroxyl groups and esterified carboxyl groups in the form of carbalkoxymethyl ester groups and is water-dilutable by partial or complete acid-neutralization of amino groups present in the resin.