The invention relates to a thermostable phytase preparation, which comprises phytase and chitosan derivatives, wherein the chitosan derivatives comprise alkyl substituents and carboxymethyl substituents, and the weight ratio of the phytase to the chitosan derivatives is…