The invention belongs to the technical field of molecular biology, and particularly discloses a portunus trituberculatus mannose-binding lectin PtMBL gene, an encoding protein thereof and application.The portunus trituberculatus mannose-binding lectin PtMBL gene, the encoding protein and the application have the advantages that PtMBL gene cDNA [complementary DNA (deoxyribonucleic acid)] can be obtained from portunus trituberculatus by means of amplification by the aid of unigene and RACE technologies obtained by means of transcriptome sequencing, and obvious bacterial inhibition, bacterial binding and bacterial agglutination activity of recombinant PtMBL proteins are discovered; obvious inhibition effects can be realized by the recombinant PtMBL proteins for gram-negative bacteria (vibrioalginolyticus and pseudomonas aeruginosa) and gram-positive bacteria (staphylococcus aureus and micrococcus luteus), and the minimum inhibitory concentration is 0.81-1.61 micro-M, 0.81 micro-M, 0.81-1.61 micro-M and 3.22-6.44 micro-M; the recombinant protein PtMBL is obvious in binding activity for the vibrio alginolyticus, the pseudomonas aeruginosa, the staphylococcus aureus, the micrococcus luteus and pichia pastoris; in addition, obvious agglutination effects can be realized by the recombinant protein PtMBL for the vibrio alginolyticus, the pseudomonas aeruginosa, the staphylococcus aureus, the micrococcus luteus and the pichia pastoris in the presence of Ca2+; a foundation can be laid for controlling diseases for the portunus trituberculatus, and the portunus trituberculatus mannose-binding lectin PtMBL gene and the encoding protein have potential application values in the aspects of antibacterial medicine development, bacterial agglutination preparations, novel immunological preparations, feed additive production and the like.