Urbanisation is a major anthropogenic perturbation presenting novel ecological and evolutionary challenges to wild populations. Symbiotic microorganisms residing in the gastrointestinal tracts (gut) of vertebrates have mutual connections with host physiology and respond quickly to environmental alterations. However, the impact of anthropogenic changes and urbanisation on the gut microbiota remains poorly understood, especially in early development. To address this knowledge gap, we characterised the gut microbiota of juvenile great tits ( Parus major ) reared in artificial nestboxes and in natural cavities in an urban mosaic, employing two distinct frameworks characterising the urban space. Microbial diversity was influenced by cavity type. Alpha diversity was affected by the amount of impervious surface surrounding the breeding location, and positively correlated with tree cover density. Community composition differed between urban and rural sites: these alterations covaried with sound pollution and distance to the city centre. Overall, the microbial communities reflect and are possibly influenced by the heterogeneous environmental modifications that are typical of the urban space. Strikingly, the choice of framework and environmental variables characterising the urban space can influence the outcomes of such ecological studies. Our results open new perspectives to investigate the impact of microbial symbionts on the adaptive capacity of their hosts.