Crosslinked aminosiloxanes obtainable by reaction of identical or different aminosiloxanes with identical or different epoxide components which are water-soluble hydrocarbons, the hydrocarbons comprising oxygen as well as carbon, and optionally further elements selected from nitrogen, sulphur and phosphorus, the hydrocarbon having on average more than one terminal epoxy group, the epoxy group being a carbooxirane radical, and, further, not more than 50% of all the amino groups having undergone reaction with an epoxide group.