Nature Microbiology, Published online: 14 September 2026; doi:10.1038/s41564-026-02488-z Air pollution increases the risk of invasive pneumococcal disease and bacterial lineage changes the timing of that risk, making pathogen genomic diversity an effect modifier.