Antimicrobial peptides are important innate effector molecules, playing a vital role in antimicrobial immunity in all species. Glyrichin is a transmembrane protein and an antibacterial peptide, exerting its functions against a wide range of pathogenic bacteria. In this study, cDNA and a BAC clone harboring the glyrichin gene were identified from rock bream and characterized. Genomic characterization showed that the OfGlyrichin gene exhibited a 3 exon-2 intron structure. OfGlyrichin is a 79-amino-acid protein with a transmembrane domain at (22)GFMMGFAVGMAAGAMFGTFSCLR(44). Pairwise and multiple sequence alignments showed high identity and conservation with mammalian orthologues. Phylogenetic analysis showed a close relationship with fish species. Higher levels of OfGlyrichin transcripts were detected in the liver from healthy rock bream which were induced by immunogens like lipopolysaccharide, poly I:C, rock bream irido virus, Edwardsiella tarda and Streptococcus iniae. The synthetic peptide (pOf19) showed antibacterial activity against Escherichia coli, E. tarda, and S. iniae. Analysis of the bacterial morphological features after pOf19 peptide treatment showed breakage of the cell membrane, affirming that antibacterial function is accomplished through membrane lysis. The pOf19 peptide also showed antiviral activity against RBIV infection. The high conservation of the genomic structure and protein, together with the antimicrobial roles of OfGlyrichin, provide evidence for the evolutionary existence of this protein playing a vital role in innate immune defense in rock bream.