Introduction

Host–symbiont relationships range from tight associations, where the partners cannot survive without each other, to highly flexible and facultative associations that can be entirely environmentally determined [1,2,3]. It is becoming increasingly clear that host-associated microbiomes can differ widely among individuals and populations of the same species in affinity, species composition, and abundance across different temporal and spatial scales [4,5,6,7,8,9]. To understand the temporal and spatial variation in microbiome composition and dynamics observed in wild populations, it is key to establish how the microbiome is transmitted within and across generations [10, 11]. Historically, symbiont transmission has been studied under two different strategies: vertical transmission takes place when symbionts are transferred from the parental generation to the offspring, i.e., across generations, whereas horizontal transmission happens when symbionts are acquired from the environment or from co-occurring host individuals within the same generation. Vertical transmission can occur through the germ line from mother to offspring, or by other modes of transmission from the parental generation to the offspring. Vertical and horizontal transmission modes are not mutually exclusive, and symbiont transmission can be facilitated by a combination of both modes of transmission, i.e., mixed mode transmission [12]. Both facultative and obligate associations can be maintained by vertical or horizontal transmission, or by a combination of both, with important consequences for shaping host–symbiont relationships, e.g., partner fidelity and symbiont genome evolution [10, 12,13,14]. Although theory predicts that stable associations are best governed by vertical transmission, there are many examples of horizontal transmission governing tight host–symbiont relationships. The establishment of stable symbioses may further rely on a critical temporal acquisition window: in corals, the acquisition of photosymbionts at the juvenile stage is not beneficial for the host [15]; the infection of the stinkbug Riptortus pedetris by its beneficial symbiont Burkholderia is determined by host development and life stage [16]; the nephridial symbionts of earthworms only colonize the embryo before the opening of the nephridial pore [17], and transmission of Actinobacteria symbionts occurs at a very narrow post-eclosion inoculation period in in leaf-cutting ants [18]. The complexity of these examples highlights the importance not only of disentangling vertical and horizontal modes of transmission and their fidelity, but also the timing in the development of the host for when symbiont infections occur, to shed light on the formation of stable host–symbiont associations.

Social interactions can mediate partial or complete symbiont transmission among host individuals [19,20,21,22]. Group living enhances the likelihood of social transmission of symbionts because of the close proximity and frequent interactions among host individuals [20, 21]. Social interactions such as grooming, or mouth-to-mouth feeding, should promote repeated inoculations governing transmission, exchange, and homogenization of symbionts among individuals within and between generations [21,22,23,24]. A close association between social transmission and group living is found in different taxa, with examples including primates [24], mice [23], honey bees [25], bumble bees [26], and termites [27]. Social transmission has the capacity to maintain host–symbiont associations of both intracellular (e.g., Wolbachia in ants [28] and Arsenophonus in honey bees [29]) and extracellular symbionts (e.g., Streptomyces in ants [30]), gut microbiota in social bees, reviewed in [31]) and can be an important driver for the evolution of symbiosis and group living [19, 20].

In spiders, sociality has evolved independently in at least 22 species within 6 families [32]. The social species build communal nests and capture webs with hundreds of inbred individuals, which cooperate on prey capture and offspring care [32]. Microbiomes have been studied for the three social species of the genus Stegodyphus (Eresidae), S. sarasinorum, S. mimosarum, and in particular for S. dumicola [33, 34]. This species occurs in southern Africa and harbors a low-diversity bacterial microbiome with five core endosymbionts (prevalence >50%), of which one or two typically dominate an individual spider [33]. The endosymbionts include spider-specific relatives of the genus Mycoplasma and Borellia (Ca. Arachnospira), and the obligate intracellular arthropod symbiont Diplorickettsia; none of them appears to be obligate for the spider host. Within a social group (nest), microbiome composition is very similar among individuals and over time, both within and across generations, but it can vary significantly among social groups within a local area [4, 33]. While it is unknown to what extent social interactions shape this pattern [33, 35, 36], several characteristics of the social spider biology would facilitate social transmission: first, living in communal nests entails a high frequency of social interactions. Second, communal feeding leads to an exchange of digestive fluids and possibly endosymbionts, when several spiders inject digestive fluids into the same prey and suck up a mixture of these fluids and digested prey [32, 37]. Third, only approximately one-third of the females reproduce, but all of them provide extended maternal care by regurgitation feeding of the offspring with a mixture of digested prey and dissolved intestinal lining [38]. This is followed by the consumption of all females (matriphagy) once the offspring are ready to catch prey independently [32, 39]. The combination of reproductive skew and allomaternal care by helper females is predicted to favor horizontal transmission, since non-reproductive individuals would represent a dead-end for vertically transmitted symbionts [28, 40]. On the other hand, regurgitation feeding and matriphagy also provide a route for vertical transmission across generations from the mother or from the helping females (allomothers) to offspring.

We, therefore, hypothesized that (i) endosymbionts in S. dumicola are maintained by horizontal transmission, at least partially mediated by social interactions. (ii) Social transmission occurs among group members and acts to homogenize the microbiome within a nest. We tested these hypotheses by a combination of life cycle analyses, cross-fostering experiments, and mixing of adult spiders with different endosymbionts to trace transmission routes within and across generations using 16S rRNA gene amplicon sequencing and quantitative polymerase chain reaction (qPCR).

Material and methods

Spider collection and maintenance

Nests containing family groups of spiders were collected in Namibia and Botswana between April 2017 and November 2019 (Supplementary Table S1) and transported to the lab in Aarhus University, Denmark. Spiders were kept in a 13:11 light cycle with a fluctuating temperature from 20° (night) to 29 °C (day); (7.30–8.30 a.m.: from 20° to >24°; 8.30 a.m.–8.30 p.m.: from 24° to >29°; 8.30–9.30 p.m.: from 29° to >24°; 9.30 pm: from 24° to >20°). Spiders were watered every day and fed twice a week with crickets (Gryllus bimaculatus) and blue bottle flies (Calliphora vomitoria). Based on previous studies, we know that the microbiomes of individual spiders are highly similar within a nest [4, 33]. Thus, in the following experiments, 2–3 spiders were considered to be representative of the individual microbiomes of the entire nest and/or life stages.

Life cycle experiment

We investigated bacterial symbiont transmission across the life cycle of S. dumicola, to determine whether females deposit bacterial symbionts in the eggs, or whether and at which stage of the life cycle the offspring acquire microbial symbionts. Females produce egg sacs of spider silk which encapsulate the eggs. First instar offspring hatch inside the egg sac and after one molt, second instar offspring emerge from the egg sac. The different instars can be recognized by morphological characteristics such as size, presence of hairs, and by feeding behavior (Fig. 1). We monitored four nests with adult females that harbored different bacterial symbiont communities based on 16S rRNA gene amplicon sequencing (see “Adult” columns in Fig. 2 and below for method details), and for each developmental instar from egg to adult, we sampled three individuals from each nest for analyses. Samples were collected for DNA extraction, 16S rRNA gene amplicon sequencing, and quantitative PCR. Spiders were collected in 1.5 mL microcentrifuge tubes and immediately placed at −80 °C until further processing.

Fig. 1: Life stages of the social spider Stegodyphus dumicola that were sampled during different stages of development.
figure 1

Eggs and Instar 1 occur inside egg sacs. Matriphagy (the consumption of mothers and female helpers, by large juveniles) occurs in instars 5–7. Pink bars are 500 µm.

Fig. 2
figure 2

Absolute abundances in 16S rRNA gene copies per host gene of the main ASVs (bacterial symbionts) at different life stages in the social spider S. dumicola (A= Adult, E = Egg, I1-9= Instar one to nine) in four different nests. Sample size is indicated for each life stage. Life stages that could not be sampled are colored in gray and left empty. The size of the circle indicates the absolute abundance of the ASV. Colors correspond to symbiont taxonomy.

Cross-fostering experiment

The experiment was carried out in two rounds; the first experiment was conducted in winter (northern hemisphere) 2019 with six nests collected in October 2018 in Botswana. The second experiment was conducted in the spring (northern hemisphere) 2020 with seven nests collected in November 2019 in Namibia (Table S1). For both experiments, the microbiome composition of 2 individual adult female spiders from each nest was analyzed by 16S rRNA gene amplicon sequencing. For the cross-fostering experiments, we selected egg sacs originating from nests that differed in microbiome composition from that of foster females (Table 1). Thirteen nests were used for the cross-fostering experiment, two of which were used only for the control/natal nest treatment, while 11 nests were used for both control and cross-fostering treatments. Females were randomly chosen from each nest and placed in experimental boxes, each containing 15 adult females. Egg sacs were collected from the nests and marked with non-toxic acrylic paint to keep track of nest origin, and then distributed among the experimental boxes. Thirteen experimental boxes received an egg sac from the same nest as the females originated from (control, natal nest) and 15 experimental boxes received an egg sac from a nest with a different microbiome (foster nest) (Table 1; Fig. 3A). Boxes were checked every day to remove unmarked newly produced egg sacs. After hatching, the offspring were left to grow until they started to participate in prey capture and feed by themselves (instar 5, Fig. 1). Three individuals of each instar 5–9 and one female per experimental box were sampled in a 1.5 mL microcentrifuge tube and immediately stored at −80 °C for subsequent DNA extraction and 16S rRNA gene amplicon sequencing. Microbiome composition of the offspring raised by their natal mother was compared to that of their natal mother (control), and microbiome composition of offspring raised by a foster mother was compared to that of their natal mother or their foster mother, using a Wilcoxon rank sum test with FDR-adjusted p-values.

Table 1 Dominance and Shannon Index and relative abundances of the most abundant ASVsa in nests used for the cross-fostering or mixed microbe experiments.
Fig. 3: Cross-fostering experiment.
figure 3

A Experimental scheme. Females received either eggsac coming from their original nest (control, natal mother, blue) or from another nest (foster mother, yellow). Microbiome composition of the offspring raised by their natal mother was compared to that of their natal mother (control) while the microbiome composition of offspring raised by foster mother was compared to that of their natal mother (Natal mother) or their foster mother (Foster mother). B Bray-Curtis dissimilarity between the microbiomes of offspring and that of their natal mothers or foster mothers. Letters indicate significant differences between the two groups (Wilcoxon rank sum test, FDR-adjusted p value < 0.001).

Mixing spiders with different microbiomes

Spiders were collected in November 2019 in Namibia (Table S1), and the microbiome composition of two individual adult female spiders from each nest was analyzed by 16S rRNA gene amplicon sequencing. Three nests with different dominant symbionts were chosen for the experiment. We made this selection based on the most abundant ASVs present in the nests used both for the cross-fostering and mixed microbe experiments, as we know these six ASVs can become dominant in a nest, and they are part of the core microbiome[4, 33]. Randomly chosen individuals from each nest were marked on their abdomen with water-based acrylic paint to track their nest origin. Spiders from nest es16 were mixed with spiders from either nest mm1 or nest es12 into groups of 10 or 12 spiders, and individuals from each nest were represented in three different ratios; 6:6, 2:8, and 8:2, giving two replicates for each ratio. The aim of the experiment was to assess whether and how different proportions of hosts with different dominant symbionts influence homogenization by social transmission. The boxes were examined daily for 39 days, and if any of the individuals had molted, the acrylic paint was re-applied to track the origin of the individuals until the end of the experiment, when all individuals were sampled into 1.5 mL microcentrifuge tubes and stored at −80 °C for DNA extraction and 16S rRNA gene amplicon sequencing. Two spiders died during the experiment.

DNA extraction, 16S rRNA gene amplicon sequencing, and quantitative PCR

Each spider was homogenized in liquid nitrogen using a microcentrifuge tube pestle directly in the tubes used for collection and storage. After crushing, DNA was extracted using DNeasy Blood and Tissue Kit (Qiagen), following the standard animal tissue protocol. With every round of DNA extraction, a blank (i.e., a tube with no sample) was included as a contamination control.

16S rRNA gene amplicon libraries were prepared according to Illumina’s 16S Metagenomic Sequencing Library Preparation guide, using Bac341F and Bac805R primers [41] to amplify the variable regions V3 and V4. For each round of sequencing, all samples and negative controls were pooled and sequenced on a MiSeq Desktop sequencer (Illumina) using the 2 × 300 bp paired-end sequencing kit according to the provided preparation guide.

qPCR was used to determine the bacterial load in adults and all instars throughout the lifecycle of S. dumicola. The bacterial load was determined as the ratio between bacterial 16 S rRNA gene copies and gene copies of a conserved Stegodyphus gene as described previously [4].

16S rRNA gene amplicon sequencing analysis

All analyses were performed in R v 4.1.2 (R Core Team 2021). Sequences were trimmed to remove barcodes and primers using cutadapt v 0.1.1 [42]. Each sequencing run was processed independently for quality filtering, denoising, and paired-end merging using the R package ‘DADA2’ v. 1.18.0 [43] with filter settings maxEE = (2, 2), truncLen = 230, and truncQ = 2 to identify Amplicon Sequence Variants (ASVs). Data from the different sequencing runs were then merged for chimera finding and classification using DADA2 and Silva SSU reference database nr. 132 [44]. All further data analyses were done using the R packages Phyloseq v. 1.34.0 [45], Microbiome v1.12.0 [46], vegan v2.5.7 [47], ggplot2 v3.3.5 [48], and custom R scripts, if nothing else is specified. After taxonomic classification, the ASVs were filtered to only include those classified as Bacteria. Nucleic acid extraction blanks and PCR negatives were used for decontaminating the data using the R package Decontam v 1.10.0 [49]. Putative contaminants were identified using the prevalence method with a threshold of 0.3 and were subsequently removed from the data.

Results

Microbiomes of the S. dumicola spiders used in the study

Adult female spiders of all 14 sampled nests had low diversity microbiomes (Shannon index = 0.012 - 1.874), which were strongly dominated (53-100% relative abundance; McNaughton’s dominance index = 0.762-1) by either of the four endosymbionts Mycoplasma, Diplorickettsia, Ca. Arachnospira, or Acaricomes (Table 1). In addition, some nests consistently harbored a few ASVs of Staphylococcus and of an uncultured member of the Weeksellaceae in low abundance.

Endosymbiont acquisition during spider life cycle

No bacterial 16S rRNA genes were detected in the eggs or first instar, which occurs within the closed egg sac, neither by qPCR nor amplicon PCR assays (Fig. 2). Bacteria were first detected in Instar 2, in which the offspring emerge from the egg sac (Figs. 1, 2). For each of the four nests investigated, all bacterial symbionts (ASVs) carried by the parent generation were already found in the offspring at this stage (Fig. 2). For each nest, also one additional ASV, not found in the adult spiders, was detected in very low abundance and in only some individuals and life stages in the offspring. Overall, the bacterial community composition in the offspring was remarkably similar to that of the adults based on Bray Curtis dissimilarities (Supplementary Fig. S1). We observed a linear relationship between bacterial load (number of 16S rRNA gene copies/number of spider gene copies) and spider body size (Adjusted R2 = 0.4244, p < 0.00001, Supplementary Figure S2). This increase in absolute bacterial abundance varied among ASVs and nests, with Mycoplasma load increasing rapidly in all nests and Ca. Arachnospira more gradually. In contrast, Diplorickettsia load remained low throughout ontogeny and first in the last developmental stages approached the high values seen in the parent generation.

Effect of cross-fostering on the microbiome of spider offspring

Offspring that remained in their natal nest had a similar microbiome composition to that of the females that reared them (mean Bray-Curtis dissimilarity of 0.316, Wilcoxon rank sum test, FDR-adjusted p value < 0.001), which included their biological mothers and female helpers (Fig. 3B, “Control”). Offspring that hatched from egg sacs cross-fostered to a nest with females that carried a different microbiome composition, acquired a microbiome composition similar to that of their foster mothers (mean Bray–Curtis dissimilarity = 0.384, Wilcoxon rank sum test, FDR-adjusted p-value < 0.001, Fig. 3B, “Foster mother”), and dissimilar to that of their biological mothers and female helpers (mean Bray–Curtis dissimilarity = 0.724, Fig. 3B, “natal mother”, Wilcoxon rank sum test, FDR-adjusted p value < 0.001). Overall, bacterial symbiont composition (at ASV level) of the offspring was always similar to that of the adult female group members with whom they shared the nest (Supplementary Fig. S3).

Microbiome homogenization upon mixing individuals with different symbionts

Spiders were selected from three nests that differed markedly in their microbiomes (Table 1). After combining individuals from two different nests for 39 days in the same box, when an equal number of individuals (six from each nest; 6:6) were combined, the resulting symbiont composition was a combination of the two original microbiomes, and highly similar across all individuals (Fig. 4A, B, Mixing ration 6:6). When combining individuals in unequal ratios (2:8 and 8:2), the transmission of the symbionts was dependant on the type of the symbionts. Ca. Arachnospira was transmitted to individuals no matter the ratio and the abundance. Diplorickettsia remained in similar abundance in spiders of the original nest but was lower in the newly infected individuals. For Mycoplasma, it depended on the ASV type and the context of other ASVs: ASV4 transferred well (also from a few individuals, Fig. 4B) when there was no ASV5 in the mix. But when ASV4 and ASV5 co-occurred (Fig. 4A), they both transferred poorly: ASV5 did not transfer at all, and ASV4 transferred successfully only in the 8:2 ratio. Three ASVs that were not detected in the individuals from the original nests were detected after 39 days of merging individuals: Diplorickettsia ASV 22, Ca. Arachnospira ASV_9 and Mycoplasma_ASV_16. Acaricomes were detected in the original nest but were very rare in the mixed groups.

Fig. 4: Bubble plot illustrating the relative abundances of symbionts for two mixing experiments.
figure 4

The two left-most panels show the relative abundance of symbionts in the original nests prior to mixing. The remaining panels show the relative abundance of symbionts by the end of the mixing experiment (39 days). The mixing ratios, original nest numbers, and number of individuals are indicated at the top. Bubble size corresponds to the relative abundance according to ASVs in the legend. A First mixing experiment. B Second mixing experiment.

Discussion

Mixed mode transmission maintains endosymbionts between generations in S. dumicola

Under the assumption that vertical transmission denotes transmission across generations, i.e., from the parental to the offspring generation, the cross-fostering experiment clearly showed that transmission occurs from the maternal generation (mothers, helping females, or foster mothers) to the offspring, i.e., by vertical transmission. Social living, especially in systems with division of labor and reproductive skew, is expected to exert selection on the symbionts for horizontal transmission [19,20,21, 28]. We therefore hypothesized that horizontal transmission would also occur in social spiders to avoid a symbiotic dead-end in non-reproducing female helpers [28, 40]. The very low intra-host diversity of the social spider microbiome, on the other hand, with few ASVs dominating each host group ([4, 33]; Figs. 2,4; Table 1), points to a vertical or at least tightly controlled transmission route [50]. The combination of life-cycle analysis and cross-fostering experiments shows that symbionts of the social spider S. dumicola are transferred by a combination of horizontal and vertical (but not transovarian) transmission: eggs and instar 1 (both enclosed in the egg sac, Fig. 1) carried no bacterial symbionts; yet as soon as regurgitation feeding started (instar 2, Fig. 1), the offspring acquired microbiomes highly similar to that of the rearing females (Fig. 2). In the cross-fostering experiment, we observed high microbiome similarity between foster mothers and offspring, and low microbiome similarity between cross-fostered offspring and females from their natal nest (Fig. 3). During regurgitation feeding, the tiny offspring are literally attached to the female while feeding on regurgitated fluids from her mouth [39]; it is likely that regurgitated gut content also contains endosymbionts from the gut lumen and gut linings [33]. We did not directly test whether symbionts are transmitted from the biological mother, or from one or more of the helping females. However, the fact that the offspring aquire a microbiome similar to that of the rearing females (whether mother, helper, or foster-mother), combined with the fact that co-occurring females have similar microbiomes, shows high-fidelity transmission across generations by non-transovarian vertical transmission.

A similar mixed-mode of transmission is observed among social and gregarious insects through a combination of mouth-to-mouth feeding (trophallaxis), offspring consumption of the mother’s feces, or regurgitation feeding [21, 51, 52]. In social spiders, regurgitation feeding of offspring occurs in biological mothers as well as in female helpers [38, 39], and our study suggests that regurgitation feeding is both key and sufficient for the vertical symbiont transfer from rearing females to offspring. Although bacterial symbiont transmission via the consumption of infected conspecifics has been observed in isopods [53] and in another (solitary) spider species [54], matriphagy (the consumption of mothers and female helpers by large juveniles) that occurs much later in the spider life cycle (instar 5–7, Fig. 1) is not necessary for reliable symbiont transfer between generations in the social spider S. dumicola. Likewise, communal feeding, where spiders share and exchange a mixture of digested prey and digestive liquids [32, 55], only occurs from instar 5 and is not required for transgenerational symbiont transfer.

Mixed mode of transmission of the dominating endosymbionts in S. dumicola is consistent with the limited information available for their transmission (or that of their close relatives) in other systems, which all point to tightly controlled but not necessarily transovarian routes: many mycoplasmas are horizontally transmitted either via direct contact or vectors, while in certain subgroups, e.g., the genus Spiroplasma, transmission can be vertical or even transovarian [56]. Some Borrelia can be transmitted vertically through the ovaries of ticks or insects [57] but most show horizontal transmission via vertebrate hosts [58,59,60], which may include mixing of several Borrelia strains via co-feeding of the arthropod on the same host [61]. The mite pathogen Acaricomes [62] is transmitted vertically within a given species but horizontally between different mite and insect species [63]; the transmission mode of the obligate intracellular tick symbiont Diplorickettsia is unknown [64]. In conclusion, it seems that the social lifestyle of the spiders has indeed been selected for closely associated endosymbionts. Our study shows that tight host–symbiont associations are maintained by a combination of vertical (but not transovarian) and horizontal transmission routes.

Social transmission homogenizes microbiome composition within generations in S. dumicola

Homogenization of ASV composition between co-inhabiting spiders (Fig. 4) demonstrates that bacterial symbionts are also transmitted socially among adult nest mates. This intragenerational transmission might take place during close contact with adults inside the nest and especially during communal feeding, which, similarly to trophallaxis in insects [21], should facilitate both transmission of symbionts and transfer of nutrients or digestive enzymes. Importantly, intragenerational transmission and homogenization of the individual microbiomes within a nest can occur throughout the life span of S. dumicola (Fig. 4), and likely contributes to the long-term stability of the microbiomes observed in S. dumicola groups [4]. While environmental sources such as the communal nest theoretically could also act as reservoir to facilitate transmission and homogenization of the spider microbiome, a study of the S. dumicola nest microbiome, i.e., the microbes that occupy the actual silk retreat and not the spiders, showed relatively little overlap between the microbiome composition of the spiders and that of their silk nest [65]. This indicates that the silk nest does not mediate environmental transmission of host endosymbionts. In contrast, it is conceivable that Mycoplasma, Ca. Arachnospira, Acaricomes, or Diplorickettsia could be transferred via spider vectors or insect prey (see discussion and references above), potentially leading to mixing with the indigenous microbiome of a spider group. Since the extent of mixing and homogenization appears to be dependent on the mixing ratio (Fig. 4), a singular mixing event will probably not have a lasting imprint on the microbiome of an existing larger group. However, once different symbionts dominate different social groups, repeated transfers or transfers during the founding phase of a new nest may lead to more efficient homogenization and may at least partially explain the divergent microbiomes observed within groups from the same geographic area [4].

In that context, it is interesting to note that, despite the overall high fidelity transmission, not all symbionts and symbiont combinations established equally well: Mycoplasma ASV_4 and ASV_5 seem to be almost mutually exclusive (Table 1) and rarely coexisted when mixed together (Fig. 4). This indicates some incompatibility or in-host competition, in agreement with the theoretical prediction that intra-host diversity of symbionts should be low to avoid competition, maybe even host-controlled [50], unless there is a clear functional diversity among the symbionts [66]. Another example is Acaricomes, which was poorly established in the mixing experiment (Fig. 4), but was reliably transferred between generations (Fig. 2, SI Table S2), possibly because it requires a certain minimum load in a nest to be infectious [63]. Finally, Diplorickettsia was more abundant in the adult life stage than in juveniles, and increased in abundance after the juveniles were participating in communal feeding (from instar 5–7). This increase could be due to access of new resources associated with feed intake and host development. Alternatively, as proposed for the two Mycoplasma ASVs above, interactions among bacterial symbionts could play a role in determining the succession and transmission of symbionts across host life stages [67]. For example, changes in abundance of specific symbionts across host life stage were shown in the coral Orbicella faveolate, where photosymbionts are beneficial to the adult stage but detrimental to the larval stage [15, 68].Furthermore, competition between symbionts may affect their abundances and functions, as shown for the pea aphid Acyrthosiphon pisum; this aphid carries one obligate and several facultative symbionts, Hamiltonella defensa and Rickettsiella viridis, conferring protection against parasitoid and fungal pathogens respectively. Co-infection of these two symbionts affects the abundance of H. defensa and protective functions of R. viridis [69]. Moreover, co-infected aphids have reduced survival and fecundity compared to aphids harboring only one symbiont [69, 70]. Whether competition among symbionts or specific trade-offs with life stage applies to the observation that Diplorickettsia was more abundant in adult spiders than in juveniles is unknown at this stage, but our results show that Diplorickettsia can co-exist with most other symbionts (Table 1, Figs. 2,4).

The genetic background of the host may influence host-microbiome composition, as co-infection or mutual exclusion could be affected by host genetics [71]. Host genetic structure could then generate structure in microbiome composition [72,73,74]. Despite obligatory inbreeding in our study species S. dumicola [32], population genetic analysis showed highly similar genetic composition among nests (groups) within populations due to frequent extinction and colonization events [75]. A separate analysis found no correlation between genetic divergence and microbiome composition of the most prevalent symbionts in S. dumicola [33]. It is therefore unlikely that host genetics influences co-infections or mutual exclusions of symbionts in our study system.

High-fidelity social transmission and sociality

Although horizontal transmission can maintain tight host–symbiont associations, it is expected to be less efficient than vertical transmission in shaping the evolution of obligate associations [10]. Nevertheless, specific conditions such as group living may favor both vertical and horizontal social transmission if tight host-microbe associations are beneficial for the host and/or the symbionts [76, 77]. Horizontal transmission may evolve to enhance transmission fidelity in social animals with reproductive division of labor, to mitigate the risk of vertical transmission of symbionts to non-reproducing workers, which would be a dead-end for the symbiont. The symbiont Arsenophonus is transmitted vertically in solitary bees [78], whereas they are horizontally (or both vertically and socially) transmitted in social bees, with higher prevalence of horizontal transmission in non-reproductive workers [29]. This pattern suggests that mixed transmission can evolve in response to the evolution of cooperative breeding. Social transmission facilitiates both modes of transmission and is therefore expected to play a role in shaping stable host–symbiont associations in social systems. In some social insects, the offspring hatch symbiont-free and subsequently acquire bacterial symbionts via close contact with non-reproducing workers (honey bees [25], Acromyrmex leaf-cutting ants [18]), emphasizing the role of social transmission in maintaining host–symbiont associations.

In our study of the social spider S. dumicola, we found evidence for mixed transmission between generations and social transmission among individuals of the same generation. High temporal stability in microbiome composition between and within generations indicates tight host–symbiont associations in S. dumicola [4, 33], highlights the functional significance of social transmission, and suggests relatively high interdependency between the spider host and its symbionts. Whether the mode of group-living shapes microbiome assembly and dynamics, or the microbiome influences various aspects of social behavior, including cooperative breeding [76, 77], remains open research questions.