To investigate the association of single nucleotide polymorphisms (SNPs) of myeloid differentiation factor 88 (MyD88) and Toll-like receptor adaptor molecule 1 (TICAM1) and their interactions with community-acquired pneumonia (CAP) in children. Improved multiple ligase detection reaction assay was used for detecting the polymorphisms of nine tagging SNPs of the MyD88 and TICAM1 genes in 375 children with CAP who attended the Department of Pediatrics of the Second Affiliated Hospital of Yan'an University Medical School from August 2015 to September 2017 and 306 healthy children who underwent physical examination. A logistic regression analysis was used to evaluate the association between the distribution of genotypes and their interactions with CAP in children. The polymorphism of the TICAM1 gene at rs11466711T/C locus was closely associated with the susceptibility to CAP in children (P<0.05). The AA genotype of rs35747610G/A locus significantly reduced risk of sepsis in children with CAP (P<0.05). The AA genotype of rs6510826G/A locus was significantly associated with the increase in C-reactive protein level in children with CAP (P<0.05). The GG genotype of the MyD88 gene at rs7744A/G locus significantly increased the risk of respiratory failure and circulatory failure (P<0.05). The multiplicative interactions between MyD88 gene rs7744A/G and TICAM1 gene rs11466711T/C, rs2292151G/A, rs35299700C/T, and rs35747610G/A loci were significantly associated with the susceptibility to CAP, the severity of CAP, and the risk of sepsis in children (P<0.05). The gene polymorphisms of MyD88 and TICAM1 and their interactions are closely associated with CAP in children, with a synergistic effect on the development and progression of CAP in children.