Main

Global ecosystems have experienced unprecedented human-induced change in the past decades1,2,3, with serious consequences for ecosystem functioning and resilience, as well as human well-being4. Understanding patterns of biodiversity change in the Anthropocene is crucial for its future protection. To achieve this, standardized, long-term and taxonomically broad biomonitoring data are essential5,6. Such data, however, are lacking for most taxa and ecosystems5,7. Available time series are often short or incomplete and limited to a few target taxa and study locations7,8,9.

A promising solution to this problem is offered by environmental specimen banks (ESBs)—long-term pollution monitoring archives that collect indicator organisms from various terrestrial and aquatic ecosystems10. The samples are collected according to highly standardized protocols and stored at low temperatures, which ensures that not only the pollutants, but also the sample-associated nucleic acids, are excellently preserved10,11. The indicator species collected by ESBs are associated with diverse communities of interacting taxa, each of which leaves a trace of its DNA in the sample12,13,14. Recent work has shown that many ESB indicator species are excellently suited as ‘natural DNA samplers’15 for studying their surrounding biota via DNA metabarcoding12,13,14. The long-term archives of ESBs can thus provide the standardized time series data so urgently needed to understand biodiversity change10,11.

Here we use metabarcoding of samples from the German Environmental Specimen Bank, one of the largest, most technologically advanced and longest-operating ESBs, to reconstruct biodiversity change across broad taxonomic, spatial and temporal scales. Using archived leaves from tree canopies, we characterize communities of canopy-associated fungi, bacteria and arthropods. Samples of a dominant European marine macroalgal species reveal coastal bacterial and animal communities associated with the alga. Finally, marine and limnic mussels provide an imprint of the surrounding bacterial and eukaryotic communities in coastal waters and rivers.

Using these data, we explore common patterns of biodiversity change across the tree of life in terrestrial, marine and limnic habitats in Germany over the past four decades. Recent work has highlighted different responses of biota to changing environmental conditions in the Anthropocene13,16,17,18,19,20,21,22,23. We explore the generality of these responses by testing three hypotheses for the temporal variation of biodiversity: (1) stressful conditions may have led to extinctions of species at individual sites, that is, local declines of α-diversity16,20,23; (2) alternatively, we test whether losses of species are countered by the immigration of novel taxa, leading to a pattern of biotic turnover (β-diversity)17,19,22. This turnover could occur (2a) gradually with the changing environment17 or (2b) rapidly, when the community reaches a tipping point19,22. (3) Finally, we test whether the immigration of species across broad geographic scales, for example, of widespread invasive taxa, leads to a pattern of biotic homogenization, that is, a decrease of β-diversity across space13,18. To test these hypotheses, we developed a dynamic model for community assembly based on the equilibrium theory of island biogeography (ETIB)24, which generates null expectations of diversity trends in the absence of disturbance. We further analyse the inferred patterns within the conceptual framework of Blowes et al.21.

Results

Natural DNA samplers recover biodiversity across ecosystems

We metabarcoded 550 samples of archived natural sampler organisms from three marine, nine limnic and nine terrestrial sites in Germany (Fig. 1a and Supplementary Data 1). Using time series of leaves from trees (1985–2022), marine macroalgae (1985–2021) and marine (1985–2020) as well as limnic mussels (1994–2020), we reconstructed communities associated with these organisms at the time of sampling. Rarefaction and bootstrapping analyses indicated sufficient sequencing depth and sampling size for biodiversity estimations at both local and regional scales (Extended Data Fig. 1 and Extended Data Table 1). Our analysis recovered highly diverse prokaryote and eukaryote communities (Fig. 1b), a total of 66,184 zero-radius operational taxonomic units (OTUs) in 751 orders and 102 phyla. Tree leaves recovered 5,183 OTUs of bacteria in 94 orders, 6,250 fungal OTUs in 113 orders and 3,275 metazoan (mainly arthropod) OTUs in 24 orders. We found 5,474 bacterial OTUs in 101 orders and 787 metazoan OTUs in 78 orders in marine macroalgae. We found 21,266 OTUs of bacteria in 180 orders and 3,551 OTUs of microeukaryotes (mainly algae and protozoa) in 160 orders in marine blue mussels. In limnic zebra mussels, we found 14,292 bacterial OTUs in 184 orders, 5,587 microeukaryote (mainly algae and protozoa) OTUs in 173 orders and 523 metazoan OTUs in 71 orders (Fig. 1b and Supplementary Data 2).

Fig. 1: Overview of sampling sites and recovered biodiversity from ESB samples from terrestrial, limnic and marine ecosystems spanning a time window from 1985 to 2022.
figure 1

a, ESB sampling sites of tree leaves, zebra mussels, bladderwrack and blue mussels across Germany. b, Total OTU and order level richness (log scale) of different taxonomic groups across the tree of life associated with tree leaves, zebra mussels, bladderwrack and blue mussels. Taxonomic groups are represented by different colours. Icons refer to sampled species.

Source data

The detected communities accurately represented their respective ecosystems and natural sampler organisms (Fig. 2 and Supplementary Data 3). For example, various typical coastal metazoans were found in bladderwrack samples and numerous OTUs of eukaryotic algae reflect the phytoplankton community surrounding mussels. Typical canopy-dwelling arthropods and leaf-associated fungi and bacteria were recovered from leaves (Supplementary Data 3). The OTUs detected in tree canopies showed a high specificity for their respective host tree, with each tree species harbouring a unique community of leaf-associated taxa (Extended Data Fig. 2). Typical monophagous arthropods or host-specific microorganisms were exclusively found on their respective host tree (Supplementary Data 3). The communities recovered from all sample types were also site-specific, with many taxa limited to single sites, probably indicating their specific ecological requirements or biogeographic affinities. For example, highly disparate communities were associated with bladderwrack and blue mussels from the Baltic versus the Northern Sea; these two seas are distinguished by pronounced salinity differences25. Additionally, our two Northern Sea sampling sites, which are separated by about 200 km, harboured different sets of taxa. The same held true for the leaf-associated communities at different forest sites across Germany and the zebra mussel-associated communities in different river systems (Extended Data Fig. 2), which have different biogeographic affinities26.

Fig. 2: Taxonomic composition of bacteria, microeukaryotic plankton, metazoa and fungi detected in ESB samples from 1991 to 2021.
figure 2

Taxonomic composition is based on OTU occurrence and is shown for five time periods, each spanning several consecutive years per sampling type. Community composition is shown at phylum level for bacteria, microeukaryotic plankton and aquatic metazoans. Terrestrial metazoans are shown at order level and fungi at class level. Taxonomic groups are represented by different colour palettes. Icons refer to sampled species.

Source data

Natural DNA samplers reveal temporal biodiversity change

We analysed temporal patterns of α-diversity (local OTU richness), temporal β-diversity (changes in community composition over time), spatial β-diversity (biotic homogenization or differentiation of communities across sites) and γ-diversity (regional OTU richness). To evaluate the significance of the observed trends, we compared them with null expectations of community change in the absence of anthropogenic disturbances. These expectations were based on a dynamic model of community ecology that we developed, built upon the ETIB17,24 (Fig. 3 and Methods). We validated this model using simulations (Extended Data Table 2 and Extended Data Fig. 3).

Fig. 3: A model of community ecology to assess temporal and spatial change in communities associated with natural sampler organisms from the ESB.
figure 3

a, Schematic visualization of the non-neutral dynamic model for community assembly derived from the ETIB. b, Estimated parameters of extinction rate (ei), immigration rate (mi) and detection probability (ρi) in different taxonomic groups. Box plots show the median (centre line), the 25th and 75th percentiles (bounds of the box), and the minimum and maximum values (whiskers). No outliers were present in the data. For sample sizes underlying box plots see Data availability statement. Taxonomic groups are represented by different colours. Icons refer to sampled species.

Source data

We identified no universal trend for α-diversity. Irrespective of ecosystems and taxonomic groups, richness remained stable, increased or declined (Fig. 4a,e, Extended Data Fig. 4a and Extended Data Table 3). A particularly pronounced drop in richness was found in marine prokaryotes. In contrast, richness strongly increased in limnic prokaryotes across the studied river systems. Interestingly, a reverse pattern was found for aquatic microeukaryotes, which showed α-diversity decreases in limnic habitats, but increases in marine sites (Fig. 4a,e). A more consistent pattern was found in terrestrial ecosystems, where most studied communities showed a slight increase of α-diversity across sites. This included a slight, albeit significant, increase in richness for some terrestrial arthropod communities (Fig. 4a,e and Extended Data Fig. 4a).

Fig. 4: Multidecadal trends of α-diversity, temporal and spatial β-diversity, and γ-diversity in communities across the tree of life associated with natural DNA sampler organisms from the ESB.
figure 4

a, Trends of OTU richness (α-diversity) of the associated communities from 1991 to 2021. b, Temporal changes in community compositions (β-diversity measured using Jaccard distance) as a function of the time interval (in years) between samples from the same sampling site. c, Trends in spatial β-diversity (degree of dissimilarity in community composition between different sampling locations, measured using Jaccard distance) of the associated communities from 1991 to 2021. Results for temporal and spatial β-diversity are qualitatively similar when using only the turnover component of Jaccard distance for β-diversity (Extended Data Fig. 5). d, Bootstrap estimates of regional diversity (γ-diversity) for the associated communities from 1991 to 2021. All diversity indices were summarized as mean with standard error bars across sampling locations and/or time windows (and for terrestrial samples across tree species). For a more detailed visualization see Extended Data Fig. 4; for sample sizes underlying means with error bars see Data availability statement. eh, Diversity trends from a (e), b (f), c (g) and d (h) reduced to their respective slopes. Filled circles indicate significant departures from the null expectations generated through the dynamic model for community assembly, suggesting an out-of-equilibrium dynamic. Different ecosystems and taxonomic groups are represented by different colours. Icons refer to sampled species.

Source data

In contrast to α-diversity, a clear universal trend was found for changes in community composition over time (temporal β-diversity). This trend significantly deviated from the null expectations in all studied communities. We found considerable local extinctions of OTUs in all communities, which, however, were countered by the immigration of other taxa, leading to an out-of-equilibrium dynamic with a stronger-than-expected change in community composition (Fig. 4b,f, Extended Data Figs. 4b and 5a,c and Extended Data Table 3). Slightly distinct temporal dynamics of compositional change were observed across different taxonomic groups (Fig. 3b). In metazoans and microeukaryotes, very high rates of local extinction, combined with high rates of immigration, led to OTU-poor, rapidly changing communities. Bacterial communities were also characterized by high immigration rates, but had lower local extinction rates in comparison with metazoans and microeukaryotes. This resulted in more diverse, dynamic communities. In contrast, lower extinction and immigration rates observed in fungi (Fig. 3b) generated slower compositional change compared with other communities, but still faster than expected. The observed changes were gradual in all communities: no abrupt breaks of community composition were detected (Fig. 4b,f and Extended Data Figs. 4b and 5a,c). Also, the compositional change did not affect higher taxonomic ranks: the temporal composition of phyla, classes and orders associated with the natural samplers remained remarkably stable (Fig. 2). The changes in community composition can be seen at the level of thousands of individual OTUs within our data. Each sampler type and data set showed replacements of various OTUs, with immigrations and local extinctions approximately balanced (Extended Data Fig. 6). We also detected various novel colonizers, among them typical invasive species like the Pacific oyster (Crassostrea gigas) or plant pathogens infesting trees across Germany (Supplementary Data 4). At the same time, declines in the occurrence of several taxa are evident, for example, the common periwinkle (Littorina littorea) in marine ecosystems and the green silver-lines (Pseudoips prasinana) in forest ecosystems.

Fig. 5: Temporal variation of γ-diversity (regional richness) as a function of the temporal variation of α-diversity (local richness).
figure 5

Following the conceptual framework of Blowes et al.21, Δα < Δγ indicates spatial differentiation of community composition, whereas Δα > Δγ corresponds to spatial homogenization. The significance of the multidecadal variations of α- and γ-diversities of different communities associated with natural DNA sampler organisms from the ESB was assessed by measuring deviations from null expectations generated using the dynamic model for community assembly. Taxonomic groups are represented by different colours. Shapes refer to sampled species with their size indicating the significance level of Δα and Δγ.

Source data

We then assessed the evidence of biotic homogenization by exploring patterns of spatial β-diversity. Similar to α-diversity, no universal trend across ecosystems and taxonomic groups was evident (Fig. 4c,g, Extended Data Figs. 4c and 5b,d and Extended Data Table 3). Most aquatic communities did not show a clear trend of spatial homogenization over time. Some became even more differentiated across space, for example, marine metazoans. The increasing spatial heterogeneity was especially evident in prokaryotes and microeukaryotes across limnic sites (Fig. 4c,g and Extended Data Fig. 5b,d). In contrast, a general pattern of homogenization across space was evident in terrestrial canopy ecosystems. Nearly all the taxonomic groups, from prokaryotes to fungi and arthropods, showed a (significant) spatial homogenization of communities over time in the terrestrial samples (Fig. 4c,g and Extended Data Figs. 4c and 5b,d). As in the temporal β-diversity, the observed change was gradual rather than abrupt.

We found no universal pattern of γ-diversity across ecosystems and different taxonomic groups (Fig. 4d,h, Extended Data Fig. 4d and Extended Data Table 3). In general, regional richness (γ-diversity) trends roughly reflect local richness (α-diversity) trends, for example, with marine prokaryotes showing a strong decline, while a pronounced increase was found for limnic prokaryotes.

Finally, we explored the spatial variation of community composition within the conceptual framework of Blowes et al.21. This confirmed that most of the studied communities underwent a biotic homogenization (9/15 with Δα > Δγ), while others (6/15 with Δα < Δγ) experienced spatial differentiation (Fig. 5). Spatial differentiation was particularly significant in prokaryotes and metazoans in limnic sites and in fungi associated with Norway spruce, probably linked to the immigration of low-occupancy taxa across different sites (0 < Δα < Δγ; Fig. 5). For instance, a bryozoan Paludicella OTU newly colonizing four out of nine sites in German river systems demonstrates this pattern of spatial differentiation. In contrast, spatial homogenization occurred in most terrestrial and marine communities associated with natural samplers. Yet, these communities exhibited variations in the type of homogenization. In most bacterial communities, the homogenization was owing to the local extinction of low-occupancy taxa at the different sites (Δγ < Δα < 0; Fig. 5). This is exemplified by the disappearance of a Wenyingzhuangia (Bacteroidetes) OTU, which was unique to one of the North Sea bladderwrack sites, or the loss of an endophytic Gluconacetobacter (Pseudomonadota) OTU at the few beech sites previously inhabited by the genus. In other communities, homogenization can rather be linked to the widespread immigration of high-occupancy taxa (0 < Δγ < Δα; Fig. 5), probably corresponding to invasive species or pathogens like Taphrina, a fungus newly infesting both our poplar sites (Supplementary Data 4).

Discussion

Standardized time series data are critical to understand biodiversity change in the Anthropocene5,6,17. These data, however, are lacking for most taxa and ecosystems5,7,8,9. Here we show that archived natural samplers provide biodiversity time series data of unprecedented standardization across ecosystems and the tree of life10,13.

Biodiversity decline is often assumed to be driven by local losses of α-diversity8,16,20,23,27,28. However, our data do not support universal declines of α-diversity, refuting our first hypothesis. Most ecosystems did not lose diversity across individual sites; in fact, many communities even showed an increasing α-diversity. For instance, the analysis of archived leaf samples confirms the findings by Krehenwinkel et al.13, suggesting that forest canopy arthropods are not affected by pronounced insect decline at local scales.

Instead of universal declines of α-diversity, we observe a widespread taxonomic replacement across all studied taxonomic groups. Our data indicate that thousands of species have disappeared from Germany’s aquatic and terrestrial ecosystems in the past decades. The local extinctions of species, however, are countered by the immigration of novel, possibly better adapted taxa, supporting our second hypothesis14,17. This corresponds to an out-of-equilibrium dynamic in both aquatic and terrestrial ecosystems in Germany, potentially driven by anthropogenic disturbances29. The compositional change appears gradual across all taxonomic groups and ecosystems, following our hypothesis (2a). Also, taxonomic replacement mostly affects rather closely related taxa, with no distinct changes in higher-level taxonomic groups. This suggests that the studied communities have probably retained their ecological make-up and taxonomic replacements are functionally redundant30,31,32. Considering this background, we reject the hypothesis of rapid state shifts in communities that have reached tipping points (2b)19,22. The observation of a gradual compositional turnover as a predominant pattern of biodiversity change in the Anthropocene is well supported by other recent work5,17,33,34. The relatively similar rates of compositional change across all sampler organisms suggest a common driver, for example, climate change2.

Our results highlight another facet of environmental change: gradual biotic homogenization across space21,28,35, especially in terrestrial and marine ecosystems. In bacterial communities associated with beech leaves and marine samples, the observed homogenization is probably due to the local extinction of rare taxa21. In contrast, other communities showing biotic homogenization may have acquired novel widespread taxa. Such widespread generalist species frequently benefit from environmental change and replace more locally adapted, specialized species21,36,37,38. Consequently, the results support our third hypothesis for marine and especially terrestrial ecosystems. Interestingly, limnic ecosystems show contrasting patterns. The increasing geographic differentiation of aquatic communities in Germany over time might be caused by the ongoing spreading of invasive taxa and/or the immigration of novel taxa. The latter may be facilitated by artificial links between river systems, for example, the Rhine–Main–Danube Canal or shipping39,40. Results involving γ-diversity should, however, be interpreted with caution due to few sampling sites and their heterogeneous availability at different times (Supplementary Data 1) in some datasets. Also, some communities shifted from an upward to a downward diversity trend (or vice versa) over time. These limitations may have led to the slight inconsistencies in spatial β-diversity trends (Fig. 4g) and the framework of Blowes et al.21 (Fig. 5) in limnic and beech-associated metazoans. Yet, the overall picture of either spatio-temporal homogenization or differentiation across different taxonomic groups and ecosystems is consistent across both approaches and supported by recent work on time series data from all across the globe21,41.

The majority of the increasing or declining taxa that we observe are highly cryptic and rarely detected by monitoring programmes, which focus on prominent taxa like plants42 or vertebrates43. Yet many of the taxa we observe represent critical elements in food webs, for example, phytoplankton in aquatic ecosystems or arthropods in tree canopies44,45,46. Future work should further explore the ecological role of the recovered taxa in their respective ecosystems and food webs. ESB samples can serve as an important early warning system for both the decline of local species and the emergence of pathogens or problematic invaders13,14.

We here focused on ecosystems across Germany, but future work on natural sampler organisms from other ESBs may also enable the study of biodiversity change at broader geographical scales. ESBs have been established in various countries47, holding the potential to explore global patterns of biodiversity change with natural samplers. Moreover, recent work has shown that DNA in natural samplers can show a remarkable temporal stability, even without long-term cold storage48. For example, community-level DNA has been successfully isolated from plant herbarium specimens49, which opens up natural history collections as a promising source for future studies on biodiversity change. Natural sampler organisms thus hold great promise to provide the long-term global data that are so direly needed to understand and mitigate biodiversity decline.

Methods

Specimen bank data

This research complies with all relevant ethical regulations. All study protocols are approved by the German Environment Agency.

The German Environmental Specimen Bank (ESB) has been in operation since the early 1980s. The ESB collects samples of indicator species from various terrestrial and aquatic ecosystems. These species serve as accumulators of environmental chemicals and provide a detailed image of pollution and ecosystem health. To make pollution analysis comparable between years, ESB samples are collected according to highly standardized protocols. Samples are taken at the same time of the year, at identical sites and using identical protocols. Collection is done using sterile equipment to avoid carryover of even trace amounts of pollutants between samples. To ensure preservation of unstable chemical compounds, the samples are stored over liquid nitrogen after collection and for the long term, halting all chemical and biological degradation. To acquire an integrative view of pollution in an ecosystem, ESB samples are large, each one including hundreds to thousands of specimens or tissue compartments (leaves in case of trees)10,50,51,52,53,54,55. Each sample is cryomilled to a fine powder of a grain size of 200 µm, thoroughly homogenizing all traces of chemicals56.

Recent work shows that ESBs are ideal for studies on biodiversity change. ESB indicator species can be considered natural community DNA samplers, which preserve an imprint of the surrounding biological community at the time of sampling. The highly standardized and contamination-free sampling and sample processing conditions, coupled with storage at ultra-low temperatures, make ESB samples perfectly suited for metabarcoding. The cryomilling of large ESB samples also guarantees an even distribution of community DNA traces among the sample and breaks open cell walls of various microorganisms, whose DNA is then uniformly released. Previous studies have already extensively tested and highlighted the suitability of different ESB samples for retrospective biodiversity monitoring12,13,14. Here, we use four different types of ESB samples from terrestrial, limnic and marine habitats as natural community DNA samplers to measure biodiversity change across four decades.

Tree leaves

The ESB collects leaves from three common tree species in Germany, namely European beech (Fagus sylvatica), Norway spruce (Picea abies) and Lombardy poplar (Populus nigra). The leaves are collected once annually or biannually and serve as samplers for aerial pollutants deposited on the leaves51,52,54. ESB leaf samples are collected from different forest ecosystem types, spanning a land use gradient from core zones of national parks to timber forests, forests neighbouring agricultural sites, and urban parks. Sample series from nine sites were included in this study, starting from 1985. Each sample contains hundreds of leaves from at least 15 individual trees, milled to a fine powder51,52,54,56. These samples contain DNA traces of all organisms that interacted with the tree canopy at the time of collection13. Here, we characterize communities of canopy-associated arthropods, fungi and bacteria. The results for arthropod diversity shown in our study represent a novel dataset compared with Krehenwinkel et al.13, including additional and longer time series and an improved DNA extraction protocol to deal with polymerase chain reaction (PCR) inhibitors. Only the poplar datasets as well as the 16S ribosomal DNA (rDNA) datasets were taken from the original dataset by Krehenwinkel et al.13.

Bladderwrack (Fucus vesiculosus)

This macroalgae is widespread along the European coastline, where it makes up a substantial part of the biomass. Marine pollutants are enriched in the tissue of the algae, making it an ideal sentinel species for pollution monitoring53. Three sites have been sampled annually or biannually for bladderwrack thalli beginning in 1985. ESB samples from two North Sea sites are collected at intervals of two months, six times a year, and then merged into a pooled annual sample. The third site at the Baltic Sea is sampled twice a year. Bladderwrack is a critical species in coastal ecosystems, providing a habitat for countless taxa. All these taxa leave detectable DNA traces in the ESB sample12. Here we characterize communities of animals and bacteria that interacted with the bladderwrack.

Blue mussels (Mytilus edulis)

This is the most common mussel in coastal ecosystems of northern and central Europe. Blue mussels constantly filter the water column for planktonic organisms and organic particles. In doing so, they enrich pollutants in their tissue, making them an excellent sentinel species for pollution monitoring55. The ESB has collected blue mussels at three coastal sites in Germany since 1985. The mussel’s entire soft tissue including respiratory water is used for the ESB sample. Annual or biannual samples of hundreds of mussels are compiled from six sampling events at the North Sea and two at the Baltic Sea. With each mussel filtering roughly 1 litre of water per hour, these samples contain a comprehensive imprint of the annual planktonic biodiversity at the sampling site12. Here we characterize communities of eukaryotic plankton and mussel-associated bacteria.

Zebra mussels (Dreissena polymorpha)

The limnic zebra mussel is an invasive species from the Black Sea region, which has colonized nearly all major rivers of Germany since the 1960s57. Like the blue mussel, zebra mussels are highly efficient filter feeders. Since the 1990s, zebra mussels are reared by the ESB on special plate stacks, which are then placed in four major German rivers for about one year, allowing the mussels to accumulate pollutants in their tissue. The mussels are then collected from the plate stacks, immediately deep-frozen and a sample of soft tissue including respiratory water is compiled from thousands of mussels50. The samples from nine sites used here provide an overview of limnic biodiversity from major rivers of Germany12. Here we characterize communities of animals, eukaryotic plankton and mussel-associated bacteria.

Laboratory workflow and sequence processing

Samples were processed as described in refs. 13,14. Work steps were performed on clean benches to avoid carryover and cross-contamination. We isolated DNA from 200 mg of homogenate from each sample. This amount was shown to be sufficient to recover the sample-associated diversity in ESB leaf samples13 and is assumed to apply to all ESB sample types due to the identical grinding process56. DNA was extracted in one or two replicates depending on the sample type (Supplementary Data 5) using a CTAB protocol (OPS Diagnostics), which proved best suited to extract high-purity DNA from these sample types. The DNA extracts were then amplified for different DNA metabarcode markers to enrich various taxonomic groups from the samples (for a list of metabarcode markers and PCR conditions see Supplementary Data 5). PCR was performed using the Qiagen Multiplex PCR Kit in 10-µl volumes according to the manufacturer’s protocols. Primers were chosen to amplify the associated community, but not the ESB indicator species itself, whose DNA dominates the extract. To characterize bacterial communities (all sample types), we amplified the V1 or V5–7 region of 16S rDNA58,59,60. For the bladderwrack and tree samples, mitochondrial and chloroplast DNA will be greatly overrepresented over bacterial DNA in the samples. We thus used primers that exclude chloroplast and mitochondrial amplification for these samples. This may also result in slightly lower species numbers of bacteria recovered, but should not affect the community composition within sample types. For terrestrial arthropods (tree leaf samples), we used a mitochondrial cytochrome oxidase I (COI) marker48. For fungi (tree leaf samples) we used the ITS1 region of the nuclear ribosomal cluster61,62. The variable V9 region of nuclear 18S rDNA was targeted to characterize communities of aquatic animals and eukaryotic plankton (bladderwrack and mussel samples12; for primer details, see Supplementary Data 5). PCR success was checked on 1.5% agarose gels, and the PCR products were then amplified in another round of PCR to add Illumina TruSeq adaptors and unique combinations of dual indexes63 (Supplementary Data 5). All final libraries were pooled in approximately equimolar amounts, cleaned of leftover primers using 1X AMPure beads XP (Beckman Coulter) and then sequenced on an Illumina MiSeq using paired-end sequencing with 500-cycle V2 and 600-cycle V3 kits. To ensure reproducibility of our data and to recover rare species, we ran several PCR replicates for every sample, which were indexed and sequenced separately. The number of PCR replicates was adapted based on sample type and marker, and varied between three and six (Supplementary Data 5). Blank DNA extractions were included in every batch of extractions, and non-template control PCRs were run alongside all PCR reactions. All controls were sequenced along with the samples to provide a baseline for carryover or cross-contamination during processing.

Forward and reverse reads were merged using PEAR64 with a minimum quality of 20 and a minimum overlap of 50 base pairs (bp). The merged reads were then quality-filtered by limiting the number of expected errors in a sequence to 1 (ref. 65) and transformed to FASTA format using USEARCH66. Primer sequences were trimmed off using Unix scripts. Long 18S rDNA amplicons (~350 bp) of limnic metazoan and microeukaryotic plankton generated from zebra mussels were trimmed to match the corresponding short amplicon of ~150 bp. As both metazoan and phytoplankton amplicons span exactly the same nuclear 18S rDNA region, all sequences were combined into one file. Likewise, reads generated from the three tree species were saved to one file for each marker. After trimming, the resulting file for each marker and sample type was dereplicated and clustered into zero-radius OTUs using the USEARCH pipeline. OTU tables were built for each sample type and marker, also using USEARCH. Taxonomy was annotated using blast2taxonomy script v1.4.2.67 after BLAST searching68 against the entire National Center for Biotechnology Information GenBank database for 18S rDNA and COI with a maximum number of ten target sequences. The SILVA database69 was used for annotating 16S rDNA sequences, and the UNITE database70 for fungal ITS1. The FungalTraits database71 was used for the functional annotation of fungi. Taxonomic assignments based on BLAST hits with a base pair length of less than 80% of the amplicon length and/or less than 85% sequence identity were removed. We excluded all taxa except bacteria, algae/protozoa, metazoa or fungi from the respective datasets. Some fungal and bacterial DNA in the samples may also stem from small metazoans associated with the samples. These may bias the recovered diversity patterns from these microorganisms. To ensure independence between recovered biodiversity trends of different taxonomic groups, we functionally annotated fungi and bacteria in our terrestrial dataset and excluded those associated with arthropods. Results for the calculated diversity trends did not differ from those presented in Fig. 4. Furthermore, we used the FungalTraits71 and PLaBAse72,73 databases to check for the proportion of plant-associated fungi and bacteria in our terrestrial dataset. Of all OTUs with a genus-level annotation and a match in the respective reference database, we verified 34% (fungi) and 76% (bacteria) as plant-associated taxa.

Per OTU and sample replicate, we removed all reads below 3, as this is the read carryover between samples commonly observed in our workflows. The OTU tables were checked for contamination using negative controls by excluding OTUs present in the negative controls from the dataset (typical laboratory contaminants). We only detected negligible contamination in the samples. PCR replicates were merged and all datasets were checked for sufficient sequencing depth and sampling size (Extended Data Fig. 1; for resulting sampling and OTU count as well as number of phyla and orders see Supplementary Data 2 ‘Cleaned dataset’).

Statistical model and analyses of community diversity

For each sample type, we (1) only selected sites that were sampled for at least 5 years; (2) only kept sampling years represented by at least 50% of the sites; and (3) removed years that were isolated from the others (>2 years). We also removed samples with low read coverage (less than 50% of the median number of reads). Finally, because OTU read abundances from metabarcoding datasets are subject to many biases74, we converted OTU abundances into binary presence/absence data and only analysed trends in terms of OTU occurrence. To limit cross-contamination, we considered an OTU as present in a sample if it represented at least 0.01% of the total reads. A total of 537 samples were included in the analysis (for resulting sampling and OTU count as well as number of phyla and orders per dataset; see Supplementary Data 2 ‘Filtered dataset (model)’ and Extended Data Table 1).

We measured community diversity trends in four different ways. First, in each community, in each year, we computed the α-diversity using the OTU richness as a measure of local diversity at a given time. Second, we computed β-diversities between pairs of communities (1) sampled at the same site in different years; or (2) sampled at different sites in the same year. Option (1) gives an idea of changes in community composition over time (temporal β-diversity), whereas (2) indicates changes in community composition across space (spatial β-diversity). We measured β-diversities using the full Jaccard distances (turnover and nestedness) and the turnover component of the Jaccard distances alone (R package betapart75). Last, for each dataset, each year, γ-diversity (regional diversity) was computed using bootstrapping with the specpool function (R package vegan76).

To identify temporal trends in these diversity indices, temporal models were fitted using mixed linear models accounting for the temporal autocorrelation between sampling years and the effect of the different sampling sites. We used the lme function (R package nlme77) with the corAR1 temporal correlation and the different sites as random effects. We fitted these temporal models with either the α-diversities, the temporal or spatial β-diversities, or the γ-diversities as response variables.

The significance of the observed trends was evaluated by comparing them with null expectations of community changes. Changes in community composition occur as a result of immigration and local extinction events, which are influenced by neutral and/or niche factors. This generates a dynamic equilibrium with ever-changing communities, even in the absence of any kind of disturbance. Following ref. 17, we built upon the ETIB24 to set up a dynamic model for community assembly that generates null expectations of diversity trends in the absence of disturbance (Fig. 3a). The ETIB is a lineage-based model of species colonization of a local community (the island) from a metacommunity (the continent). In its simplest form24, at each time step, it assumes that each OTU has a probability mi to migrate from the metacommunity to the local community i, and once settled in the community, each OTU has a probability ei to go extinct. The number of new immigration events (that is, of OTUs not already in the community i) per time step is given by mi(S − si), where S is the total number of OTUs in the metacommunity and si is the number of OTUs already present in community i; it declines as the number of OTUs in the community increases. The number of local extinction events per time step, given by eisi, increases with the number of OTUs in the community. An equilibrium is reached when the number of immigration events per time step equals the number of extinction events, that is, mi(S − si) = eisi. The equilibrium number of OTUs in the community is given by si = miS/(mi + ei). This simple form of ETIB implies a linear decrease (respectively, increase) of the number of new immigration events (respectively, extinction events) per unit of time with the number of settled OTUs in the local community. It assumes that all OTUs have the same probabilities to migrate or go extinct (neutrality), and that these probabilities do not depend on the number of OTUs in the community, implying that there is a negligible influence of interspecific competition on immigration and extinction. It thus applies best to communities that are far from carrying capacity. This model has the advantage of being very straightforward to simulate using a simple discrete-time Markov chain78.

Given the incomplete sampling of communities typically achieved with metabarcoding techniques, we assumed that each OTU present in community i is observed at each time step with a fixed probability ρi. This extra parameter can be handled using hidden Markov models. We assumed that the rates mi, si and ρi vary from one community to the other due to various extrinsic and intrinsic factors (for example, distance to the metacommunity, community size and environmental factors).

Assuming neutrality, that is, that all OTUs have the same immigration and extinction rates, is a strong assumption often proved to be unrealistic79. We therefore relaxed the assumption of neutrality. In our non-neutral model, we assumed that immigration (respectively, extinction) rates for each OTU are sampled from a beta distribution with parameters α and α(1 − mi)/mi (respectively, α(1 − ei)/ei). The rates are therefore sampled around mi (respectively, ei) with a variance that is inversely proportional to α: a large α corresponds to scenarios of neutrality whereas α closer to 0 indicates that immigration and extinction rates are very different across OTUs. While each OTU has specific immigration and extinction rates in each community, we assumed that the ranks of the OTUs in terms of immigration and extinction rates are conserved across communities (that is, an OTU with a low extinction rate in community i compared with other OTUs also has a low extinction rate in community j). We thus obtained a non-neutral model derived from the ETIB, which assumes that the presence of an OTU in a community results from the balance between immigration and local extinction, and that each OTU is characterized by specific rates of immigration and local extinction centred around the average rates. At equilibrium, some OTUs are more likely to be present in the community (for example, OTUs with higher immigration and lower extinction rates).

Instead of testing different parameter values chosen a priori17, we implemented an inference strategy to adjust the model parameters to the empirical data using a sequential technique (Fig. 3a). First, in each community, the sampling fraction ρi was inferred using ACE (R package vegan80). Second, we estimated the average rates mi and ei by fitting the neutral model to each community using a hidden Markov model (R package seqHMM81). We used these estimates as community-specific estimates of the average rates of immigration and extinction of the non-neutral model. Third, given ρi, mi and ei, we used simulation-based inferences using artificial neural networks to estimate the parameters S and α. We generated a large number of simulated datasets by sampling S and log α from uniform prior distributions and simulating the corresponding non-neutral model of community assembly, and for each of these simulations, we recorded ɑ-, spatial and temporal β-, and γ-diversities through time across all the sampled sites. We specifically incorporated subsampling into the simulations (with probability ρi), such that not all OTUs present in the local communities are observed, mimicking the detection bias of metabarcoding: simulated ɑ-, spatial and temporal β-, and γ-diversities are therefore directly comparable to empirical diversites. For S, we used a uniform prior distribution between the number of observed OTUs and three times the estimated γ-diversity; for log α, we used a uniform prior between 1 and 5. We started the simulations at year 1500 (providing ample time to ensure they reach equilibrium) with a random community composition at each site (each OTU has a probability si/S to be initially present in the community, where si is the theoretical number of species at equilibrium in the neutral model, given S, mi and ei: si = miS/(mi + ei)). Next, we simulated community composition over time in each site until 2023, sampled the communities according to ρi and recorded community composition through time for the years of sampling. We then computed for each simulation the ɑ-, β- and γ-diversities: we used the same methods and sampling scheme as for empirical data (the number of sampling sites varied through time) to obtain comparable measures of ɑ-, spatial and temporal β- as well as γ-diversities. We trained an artificial neural network to estimate S and log α from time series of ɑ-, β- and γ-diversities using the Python library Keras82, with 100,000 simulations per dataset until reaching a sufficient predictive power. Once trained, the artificial neural network takes as input ɑ-, β- and γ-diversities through time and outputs estimates of S and log α. We used a neural network with three intermediate layers, containing 132, 64 and 32 neurons respectively, and with exponential linear unit (ELU) activation functions. We prevented overfitting by using a dropout of 0.5 at each intermediate layer. Input and output data were scaled between 0 and 1 before fitting, and the simulations were split between the training set (90%) and the test set (10%). Once validated (Extended Data Fig. 3), we finally applied the trained neural network to our empirical data, and obtained corresponding S and log α values.

Given the estimated S and log α values, we simulated our non-neutral model 1,000 times with these parameters to generate time series of ɑ-, β- and γ-diversities under an equilibrium model of community assembly. We then compared empirical and simulated temporal trends and considered an empirical trend to be significant if it fell outside the central 95% of the distribution of the simulated trends. P values were computed as the proportions of simulated trends that were higher or lower than the empirical trend. We interpreted significant deviations from the simulated equilibrium model of community assembly as indicative of out-of-equilibrium dynamics in the empirical data, potentially driven by anthropogenic disturbances.

We used simulations to test the validity of our approach that assesses the significance of the observed trends by comparing them to null expectations of community changes under the non-neutral dynamic model for community assembly. We simulated two scenarios: (1) a scenario without any disturbance; and (2) a scenario of biotic homogenization and regional diversity loss. To generate realistic simulations, we designed them using the number of sites, the total number of OTUs, the rates of immigrations and local extinctions, and the sampling probabilities estimated from the bacterial communities of beech (one of the largest datasets). In the first simulated scenario, we simply simulated community changes under the assumptions of our non-neutral dynamic model for community assembly—we therefore did not expect any deviations from the null expectations when applying our approach. Conversely, in the second simulated scenario, we simulated the regional extinctions of 10% of the OTUs and their replacement by widespread invasive OTUs across all communities—we therefore expected no variation of ɑ-diversities, a decrease of spatial β-diversities (spatial homogenization) as well as a decrease of γ-diversities (regional diversity loss). We performed ten simulations for each scenario. When applying our approach, we correctly recovered the simulated scenario in almost all cases (Extended Data Table 2), confirming the validity of our approach.

To interpret the observed variations of community compositions, we used the conceptual framework of Blowes et al.21. For each sample type and taxonomic group, we plotted the temporal variation log γ-diversities as a function of the temporal variation of log ɑ-diversities. By construction, Δα < Δγ indicates spatial differentiation of the community composition (increase of spatial β-diversities), whereas Δα > Δγ corresponds to spatial homogenization (decrease of spatial β-diversities).

Finally, we investigated the temporal trends of OTU occurrences, as some OTUs may be recent invaders and others may have gone extinct at the regional scale. For each sample type and taxonomic group, we only looked at OTUs present in at least 10% of the samples and across at least two sites. For each OTU, we first tested whether its occurrence in the communities tended to vary through time. To do so, we fitted a generalized linear mixed model with a binomial response (presence/absence of the OTU in a community) and considered the sampling site as random effects.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.