Résumé: This article explores the functional diversity and redundancy in a bacterial metacommunity constituted of three habitats (sediment, water column and fish gut) in a coastal lagoon under anthropogenic pressure. Comprehensive functional gene arrays covering a wide range of ecological processes and stress resistance genes to estimate the functional potential of bacterial communities were used. Then, diversity partitioning was used to characterize functional diversity and redundancy within (), between () and across () habitats. It was showed that all local communities exhibit a highly diversified potential for the realization of key ecological processes and resistance to various environmental conditions, supporting the growing evidence that macro-organisms microbiomes harbour a high functional potential and are integral components of functional gene dynamics in aquatic bacterial metacommunities. Several levels of functional redundancy at different scales of the bacterial metacommunity were observed (within local communities, within habitats and at the metacommunity level). The results suggested a high potential for the realization of spatial ecological insurance within this ecosystem, that is, the functional compensation among microorganisms for the realization and maintenance of key ecological processes, within and across habitats. Finally, the role of macro-organisms as dispersal vectors of microbes and their potential influence on marine metacommunity dynamics were discussed.