The invention discloses a pair of polypeptides specifically identifying a porcine NFkappaBp65 gene, and a coding gene and an application thereof. The polypeptides comprise a polypeptide A and a polypeptide B; double-strand amino acids in the polypeptide A sequentially comprise amino acid residues having site numbers of 2-3, 36-37, 70-71, 104-105, 138-139, 172-173, 206-207, 240-241, 274-275, 308-309, 342-343, 376-377, 410-411, 444-445, 478-479, 512-513 and 546-547 in a sequence 3; and double-strand amino acids in the polypeptide B sequentially comprise amino acid residues having site numbers of 2-3, 36-37, 70-71, 104-105, 138-139, 172-173, 206-207, 240-241, 274-275, 308-309, 342-343, 376-377, 410-411, 444-445, 478-479, 512-513 and 546-547 in a sequence 5. The polypeptides can specifically identify the porcine NFkappaBp65 gene, and can be used for the knockout or reconstruction of the porcine NFkappaBp65 gene to obtain porcine disease resistance breeding materials, xenograft donors and human disease animal models.