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