Penaeidins are an important family of antimicrobial peptides (AMPs) in penaeid shrimp. To date, five groups of penaeidins have been identified in penaeid shrimp. All are composed of a proline-rich N-terminus and a C-terminus containing six cysteine residues engaged in three disulfide bridges. In this study, a new type of penaeidin from Marsupenaeus japonicus was identified. The full-length penaeidin contains a unique serine-rich region and a penaeidin domain, which consists of a proline-rich region and a cysteine-rich region. Here, we classify all penaeidins into two subfamilies. All reported penaeidins are in subfamily I, and the new penaeidin identified in M. japonicus is designated as Penaeidin subfamily II (MjPen-II). MjPen-II was expressed in hemocytes, heart, hepatopancreas, gills, stomach and intestine, and was upregulated after bacterial challenge. A liquid bacteriostatic assay showed that MjPen-II had antibacterial activity to some Gram-positive and Gram-negative bacteria. MjPen-II could bind to bacteria by binding to polysaccharides on the surface of bacteria, thus promoting bacterial agglutination. The serine-rich region enhanced the agglutination activity of MjPen-II. The proline-rich domain had a stronger bacterial-binding activity and polysaccharide-binding activity than the cysteine-rich domain. MjPen-II was also found to be involved in the phagocytosis of bacteria and efficiently improved the phagocytosis rate. Therefore, MjPen-II eliminates bacteria through direct bacterial inhibition as well as by promoting phagocytosis in shrimp.