Over the past decade, the important role of the gut microbiome in health and disease has become increasingly clear. While the gut microbiome is composed of hundreds of different bacteria, a few bacterial species have unique effects on the host. One species, Segmented filamentous bacteria (SFB), have been shown to play an outsized role in the education of the host immune system during early life and has been linked to increased colonization resistance against pathogens both in and outside of the gut. Conversely, due the potent immunostimulatory potential of SFB and its pleiotropic effect on the host immune system, SFB has been linked to the exacerbation of disease phenotypes in a number of mouse models while also ameliorating disease in other instances. Understanding the interaction of this unusual bacterium with the host is therefore important for both health and disease but remains largely uncharacterised due to the only limited ability to propagate this fastidious anaerobe outside of its host. While SFB appears to be a ubiquitous bacterium in vertebrates, its colonization is host species-specific. Colonization of SFB involves its intimate attachment to the host epithelium, a pathogenic pattern generally absent in commensal bacteria. While this attachment to the epithelial surface is a prerequisite for its immunostimulatory effect on the host, little is known about this unusual feature and how SFB has evolved to colonize this specific niche at the intestinal surface. A better understanding of this interaction is therefore integral to elucidating how SFB mediates its protective role against pathogens and how it influences disease progression. The EU-funded NicheAdapt project aims to elucidate this host-bacterial interaction in more detail and to uncover the adaptations of this bacterium that allow it to colonize its unique replicative niche. Using a combination of comparative genomics approaches as well as high resolution microscopy and gnotobiology models, we are addressing the genetic variability between SFB from phylogenetically distant hosts and are working to identify structural features and molecular details that are involved in this unique host-bacterial interaction and in the immunological stimulation of the host.