The establishment of coral microbial communities in early developmental stages is fundamental to coral fitness, but its drivers are largely unknown, particularly for bacteria. Using an in situ reciprocal transplant experiment, we examined the influence of parental, planulation and early recruit environments on the microbiome of brooded offspring in the coral Pocillopora damicornis. 16S rRNA and ITS2 rDNA gene metabarcoding showed that bacterial and microalgal endosymbiont communities varied according to parental and planulation environments, but not with early recruit environment. Only a small number of bacterial strains were shared between offspring and their respective parents, revealing bacterial establishment as largely environmentally driven in very early life stages. Conversely, microalgal communities of recruits were highly similar to those of their respective parents, but also contained additional low abundance strains, suggesting both vertical transmission and novel ('horizontal') acquisition. Altogether, recruits harboured more variable microbiomes compared to their parents, indicating winnowing occurs as corals mature.