A cleaner composition which comprises at least one surfactant, at least one builder and at least one nitrogen-containing polymer is described. The nitrogen-containing polymer is, for example, an alkoxylated polyvinylamine, an alkoxylated, acylated or alkylated polyaminoamide or a polyurethane-urea with tertiary amino groups. The nitrogen-containing polymers facilitate soil release.