Genetic variants that influenced expression of immunologically relevant infection-related proteins, including ITGB6 and TLR5, predicted brain volume loss. Here, ITGB6 is linked to infection.