The invention belongs to the technical field of biological enzymes, and particularly relates to a method for purifying xylanase. The method disclosed by the invention takes coarse xylanase powder which is sold in the market as a raw material, and the raw materials can be produced through steps, including pH regulation, hollow fibrous membrane filtering, ultrafiltration, freeze drying and the like,to obtain purified xylanase. By use of the method disclosed by the invention, ultrafiltration stage treatment is adopted, a purification multiple and efficiency can be effectively improved, production cost is lowered, in addition, liquid nitrogen can be adopted to realize quick cryopreserving of enzyme liquid, enzyme crystal structure change and enzyme activity loss caused by slow pre-freezing can be reduced, and product performance is improved. The method disclosed by the invention has the characteristics of a simple production technology, convenience in production, a high product yield, a low equipment investment and operation cost, a high resource comprehensive utilization rate and the like. The xylanase product purified by the method disclosed by the invention has high activity, can meet the requirement of the medicine industry for high-purity enzyme preparations, and can be widely applied to industries, including medicines, food, chemical engineering and the like.