The RV144 vaccine trial showed reduced risk of HIV-1 acquisition, but mechanisms underlying protection are poorly understood. Here, Fourati et al. assess the transcriptomic profile of blood collected from 223 vaccinees and 40 placebo recipients and identify IRF7 as a mediator of protection.