The invention relates to an antimicrobial polypeptide, and a preparation method and application thereof, belonging to the field of biomedicine. The amino acid sequence of the antimicrobial polypeptide provided by the invention is disclosed as SEQ ID NO.2. The preparation method comprises the following steps: after linearizing the coding sequence of the antimicrobial polypeptide with restriction endonuclease, transforming into Pichia pastoris GS115 by an electric shock method, recombining onto the Pichia pastoris chromosome by homology, screening high-expression strains with G418, and inducingthe expression with methanol, thereby obtaining the antimicrobial polypeptide. The test proves that the antimicrobial polypeptide has the functions of inhibiting and killing multiple bacteria, viruses, tumor cells, carcinomatous solid tumors, fungi and protozoa, can not easily generate resistance, and thus, can be used as an ideal antibiotic substitute, biological medicine for human and livestock, feed additive, preservative, bactericide or the like.