 We know that the microbiome changes during a person's life. It's usually established in the womb and reaches an adult-like state after the first few years of life. From then on, diet becomes a major factor shaping the composition of the gut microbiome, though other factors can affect it too.