In cystic fibrosis, gastrointestinal dysfunction and lower airway infection occur early and are independently associated with poorer outcomes in childhood. This study aimed to define the relationship between the microbiota at each niche during the first 2 years of life, its association with growth and airway inflammation, and explanatory features in the metabolome.