The invention discloses a method which adopts tannin to process silkworm cocoon processing wastewater and recycle sericin protein. The method is characterized in that: firstly, tannin solution is prepared by a conventional method; secondly, under the condition of stirring, sulphuric acid or hydrochloric acid is added to wastewater containing sericin; thirdly, under the condition of complete stirring, the tannin solution is added until the sericin protein is completely precipitated, and the turbid wastewater can be clarified; fourthly, standing is carried out for solid-liquid separation; fifthly, after sand in water is filtered, the wastewater reaches the grade 2 discharge standard and then is discharged or recycled; and sixthly, solid substances are cleaned and treated by alcohol to causethe solid-liquid separation, and after the solid is dried the sericin protein can be obtained. The method has the advantages that the tannin is the pure natural and environment-friendly protein flocculant and is available; tannin can fast and efficiently act with the sericin protein, the sericin protein can be separated out more completely than other methods, the formed floccule is easy to precipitate, the separation technology is simple, and the COD removal rate is high.