Higher serum IgA and IgG levels were associated with pneumonia, pneumonia-related mortality, and PRISm in middle-aged and older individuals from the general population. This evidence concerns the gene CD79A and susceptibility to pneumonia measurement.