Infants with perinatal HIV-1 infection have higher IL-7, higher frequency of naïve CD4+ T cells and retained innate effectors. Here, IL7 is linked to HIV-1 infection.