Provided is polypeptide which derives from wild type TNF a and inhibits necrocytosis. The polypeptide contains 10-200 amino acid residues and a sequence QLWPSE. Also provided is a pharmaceutical composition containing polypeptide. The polypeptide and the pharmaceutical composition containing the polypeptide are capable of inhibiting necrocytosis, thereby being used for treating inflammatory diseases.