Peptidoglycan recognition protein (PGRP) is an essential molecule in innate immunity for both invertebrates and vertebrates, owing to its prominent ability in specifically recognizing bacterial peptidoglycan (PGN) and eliminating the invading bacteria. In the present study, the full length cDNA of two PGRP genes, CgPGRPS2 and CgPGRPS4, were cloned from oyster Crassostrea gigas. Their amino acid sequences both contained one signal peptide, one typical PGRP/amidase domain with conserved catalytic residues responsible for amidase activity (55H, 90Y, 164H, 172C in CgPGRPS2, and 98H, 133Y, 207H, 215C in CgPGRPS4), and specific PGN recognition (84R, 85W, 104R, 109V in CgPGRPS2, and 127G, 128W, 147R, 152V in CgPGRPS4), and they shared 55.9% sequence similarity. The mRNA transcripts of CgPGRPS2 and CgPGRPS4 were constitutively expressed in all the examined tissues, including haemocytes, hepatopancreas, mantle, gonad, heart, adductor muscle and gill, with the highest expression level in adductor muscle and hepatopancreas, respectively. Both CgPGRPS2 and CgPGRPS4 proteins were mainly localized in the cytoplasma. The recombinant protein of CgPGRPS2 (rCgPGRPS2) could bind lipopolysaccharide (LPS), PGN and mannan (Man), as well as various microorganisms including Gram-negative bacteria Escherichia coli, Vibrio anguillarum, Gram-positive bacteria Staphylococcus aureus and fungi Yarrowia lipolytica. The recombinant protein of CgPGRPS4 (rCgPGRPS4) exhibited higher binding affinity to PGN, lower binding affinity to LPS, while no binding activity to Man and Y. lipolytica. The results indicated that CgPGRPS2 and CgPGRPS4 could function as pattern recognition receptors (PRR) in the innate immune response of oyster, and they exhibited a certain degree of functional differentiation in recognition of Man.