An oxymethylene copolymer comprising oxymethylene units and oxyalkylene units having at least two carbon atoms, wherein the proportion of oxyalkylene units, based on the proportion of oxymethylene units, is between 0.001 mol % and 0.05 mole %, the copolymer further comprising a proportion of terminal alkyl ether groups and of terminal hydroxyalkylene groups having at least two carbon atoms, the proportion of terminal alkyl ether groups, based on all terminal groups, being at least 80% and the proportion of terminal hydroxyalkylene groups having at least two carbon atoms, based on all terminal groups, being up to 20%, wherein terminal hydroxyalkylene groups are present on the copolymer.