This simple CD4 genotyping method might be useful for selectively breeding CD4.A or CD4.B homozygous pigs and for developing association studies of immunity to infections and immunologically-related diseases. Here, CD4 is linked to infection.