We found that the primary gene networks elevated in males compared to females at 12 h after infection involved cholesterol metabolism and activation of the androgen receptor (AR) in immune cells. Here, AR is linked to infection.