(EN) The end group content of polyamide in the solid state may be reduced b treating the polyamide with gas-phase acid, anhydride, or amine. Stain- or dye-resistant polyamide fibers can be made by reducing the number of amino end groups. Reduction in the number of carboxylic end groups reduces the rate of regeneration of starting monomers during extrusion.