The co-expression of multiple antimicrobial peptides (AMPs) in genetically modified (GM) crops can give plants a broader antibacterial spectrum and lower the pathogen risk of drug resistance. Therefore, four penaeidins (shrimp-derived AMPs) were fused and encoded in an artificial gene (PEN1234), driven by the seed-specific promoter Pzein, with the aim of co-expression in seeds of transgenic rice. The resistant rice plants, acquired via Agrobacterium-mediated transformation and glufosinate screening, were identified by PCR and the modified disk-diffusion method, and eight GM lines with high AMP content in the seeds were obtained. Among them, the PenOs017 line had the largest penaeidin content, at approximately 251-300μg/g in seeds and 15-47μg/g in roots and leaves. The AMPs in the seeds kept their antibacterial properties even after the seed had been boiled in hot water and could significantly inhibit the growth of methicillin-resistant Staphylococcus aureus, and AMPs in the leaves could effectively inhibit Xanthomonas oryzae pv. Oryzae. The results indicate that PenOs017 seeds containing AMPs are an ideal raw-material candidate for antibiotic-free food and feed, and may require fewer petrochemical fungicides or bactericides for disease control during cultivation than conventional rice.