We previously showed that several polymorphisms in genes encoding pattern recognition receptors that cause amino acid substitutions alter pathogen recognition ability and disease susceptibility in pigs. In this study, we expanded our analysis to a wide range of immune-related genes and investigated polymorphism distribution and its influence on pneumonia in multiple commercial pig populations. Among the polymorphisms in 42 genes causing 634 amino acid substitutions extracted from the swine genome database, 80 in 24 genes were found to have a minor allele frequency of at least 10% in Japanese breeding stock pigs via targeted resequencing. Of these, 62 single nucleotide polymorphisms (SNPs) in 23 genes were successfully genotyped in 862 pigs belonging to four populations with data on pneumonia severity. Association analysis using a generalized linear mixed model revealed that 12 SNPs in nine genes were associated with pneumonia severity. In particular, SNPs in the cellular receptor for immunoglobulin G FCGR2B and the intracellular nucleic acid sensors IFI16 and LRRFIP1 were found to be associated with mycoplasmal pneumonia of swine or porcine pleuropneumonia in multiple populations and may therefore have wide applications in the improvement of disease resistance in pigs. Functional analyses at the cellular and animal levels are required to clarify the mechanisms underlying the effects of these SNPs on disease susceptibility.