In a cohort of 31 children, the gut microbiota of perinatally HIV-infected children (CLWH) did not differ from that of HIV-unexposed uninfected children (HUU), while sex and markers of chronic immune activation were associated with distinct microbial signatures.