The invention relates to a synthetic phytase having an increased thermal stability and also to an isolated nucleic acid sequence encoding a synthetic phytase, and the use of the phytase in an animal feed for reducing the phosphtate content in manure, and also animal feed additives and animal feeds comprising the synthetic phytase.