NOD2 and TLR5 SNPs were associated with pleuritis, whereas NLRP3 SNPs were associated with an index of mycoplasmal pneumonia. Here, NOD2 is linked to Mycoplasma pneumoniae pneumonia.