Young mice exhibited SP-A variant- and sex-specific differences in survival after infection. Here, SFTPA1 is linked to infection.