Main

Since the inception of inclusive fitness theory more than 50 years ago, there has been debate on the relative significance of relatedness versus the benefits and costs of reproductive altruism. Hamilton’s rule predicts that reproductive altruism in families can evolve only when the productivity benefit (b) of rearing siblings with relatedness r exceeds the costs (c) of foregone offspring of relatedness 0.5 (such that rb > 0.5c)1. Within this general framework, three additional insights specify key conditions for the evolution of obligate eusociality with a permanent worker caste2,3. First, modelling has demonstrated that haplodiploidy is not unambiguously favourable for the evolution of unmated castes4,5,6,7,8. Second, comparative analysis established that the evolution of unmated workers is often preceded by the co-option of ancestral behavioural or morphological traits in the service of sib-rearing, so that sexual dimorphism for these ancestral traits typically predicts the sex of the evolutionarily derived permanent workers9,10. Third, strict lifetime parental monogamy was inferred to be a necessary (but not sufficient) condition for evolving irreversible adult phenotypes, being either inseminated breeders or unmated workers3,8,11,12.

Irrespective of ploidy, lifetime parental commitment allows consistent selection for further morphological elaborations once permanent caste commitment has evolved, analogous to metazoan germ-soma differentiation evolving from lifetime commitment of two gametes to a zygote12. This explains why just a handful of lineages—ants, corbiculate bees, vespine wasps and evolutionarily derived termites—achieved obligate eusociality, characterized by (barring secondary reductions) specialized reproductives and a lifetime unmated foraging/nursing caste12,13. Breeding is merely cooperative in the other, facultatively eusocial insect lineages. Here, the extent of reproductive division of labour varies widely, but breeder and helper phenotypes are never fixed for life for all colony members, and at least some helpers will retain the ability to mate and reproduce later in life2,12,13,14.

The Australian ambrosia beetle Austroplatypus incompertus (Schedl) (Coleoptera: Curculionidae: Platypodinae) has unfertilized workers15, but its cryptic lifestyle means that few facts about its social organization, mating system and caste commitment have been quantified. It is possible that this ancient lineage16 represents a longer-lived facultatively eusocial system comparable to the phylogenetically independent17,18 haplodiploid Xyleborini ambrosia beetles (Curculionidae: Scolytinae)19. These beetles often have inbred offspring, and multiple generations of breeders per colony are possible. As in most other scolytine ambrosia beetles, their galleries are much shorter-lived than those of A. incompertus because they exploit dead or stressed trees20 where resources are easily accessible but galleries quickly succumb to fungus-garden infections, desiccation and other natural enemies21,22. Alternatively, because all other platypodid beetles studied have monogamous biparental gallery foundation and at least some offspring care20,23,24,25, A. incompertus could be the first example of obligate caste-based reproductive altruism in the Coleoptera, one that shares diploidy with the termites and exclusive female colony founding with the social Hymenoptera. However, social males being unknown in A. incompertus15 then begs the question of how colonies persist for several decades without some form of incestuous breeder succession.

Results

Founding A. incompertus females excavate galleries in live Eucalyptus trees26 that are later also occupied by new generations of females, along with larvae and eggs15. Their multi-branched horizontal gallery systems have been found in 19 species of Eucalyptus in eastern Australia27 (Fig. 1a). We investigated 468 gallery systems by either felling live trees or monitoring entrances and collecting emerging adults in situ (Fig. 1b and Supplementary Table 1). Gallery systems follow a predictable sequence of slow protracted growth, taking four years from gallery initiation by a lone foundress until dispersal of the first adult offspring (Figs. 1c and 2 and Supplementary Information). We destructively sampled galleries of all developmental stages outside the annual period in which adult offspring disperse (late March to early May) (Supplementary Table 1). Galleries contained 0–100 larvae and eggs and 1–13 adult female residents, distinguishable from adult females dispersing in other times of the year by the almost universal lack of tarsal segments (Fig. 3a,b, Supplementary Information and Supplementary Tables 2 and 3). Loss of tarsal segments (especially claws) makes it impossible to move around outside the confines of the gallery, so these females will never be able to reach any other gallery system15 (Supplementary Information).

Fig. 1: Distribution, sampling and gallery phenology.
figure 1

a, A. incompertus gallery systems are found within live Eucalyptus trees in southeastern Australia. Black dots are recorded beetle occurrences and the shaded region indicates the approximate distribution of their 19 known host trees27. Sampling site locations are indicated in red. b, A billet of a felled Eucalyptus trunk of approximately 45 cm diameter at breast height with an exposed horizontal gallery system for further dissection with a hatchet/chisel to allow collection of beetles and brood and assessment of gallery phenology. c, Typical entrances of gallery systems (‘kino’ tubes) aged around 1, 4, 10 and 30 years, supplemented by representative drawings of the horizontal gallery systems and their vertical pupal chambers.

Fig. 2: Schematic overview of the phenology of gallery founding and colony growth in A. incompertus.
figure 2

Coloured horizontal bars represent year-specific categories of gallery excavation and later branching for the first two years (yellow, entrance gallery; orange, first and second primary branches excavated by the foundress), the next two years (red, secondary branching excavated by the 5th (last) instar larvae), the start of worker recruitment (early year 5) and the subsequent obligately eusocial iteroparous phase (open-ended but defined by the start of worker recruitment and the likely maximum year range of colony survival). The first two cohorts are produced a year apart and consist of only 1–2 and 2–3 offspring, respectively, with the first cohort emerging as adults after four years, and any females among them being recruited as workers (purple box early in year 5) and all males dispersing (green box). The second cohort (hatched from eggs laid in year 3) emerges a year later with some of the daughters being recruited (purple box early in year 6) and other daughters and all males dispersing. Text boxes attached to the bars highlight the presence of different developmental stages and schematic drawings illustrate the habitus of larvae and adults. The bottom of the diagram (years 6 to about 40) characterizes the recurrent part of the iteroparous colony life cycle, in which 5th instar larvae of subsequent yearly cohorts continue to excavate new secondary galleries (red), adults of both sexes disperse every year (green), recruitment of workers continues (presumably subject to the number of older workers already present) (purple), and eggs, 1st–4th instar larvae, 5th instar larvae, pupae and newly eclosed callow adults continue to appear in a predictable seasonal pattern that follows the same phenology as in year 5. The adult foundress is always drawn looking to the left and newly recruited or older workers always look to the right.

Fig. 3: Morphological characterization of colony residents and reproductive differences between foundresses and unmated daughter workers.
figure 3

a, Scanning electron microscopy (SEM) micrograph of the mid-tibia of a resident female, displaying the characteristic loss of the tarsal segments 2–5, leaving only the longest first segment attached (numbered 1); resident females cannot survive outside the gallery system where tarsi and claws are essential for staying attached to the bark. b, SEM micrograph of a dispersing female’s mid-tibia displaying the normal (numbered 1–5) tarsal complement and claw. c, The small and inactive ovaries of a representative resident daughter worker with a brown transparent (and thus empty) ovoid spermathecae (arrowed). d, The much larger and active ovaries of a representative reproductive foundress with clearly differentiated oocytes and eggs, and an opaque (filled) spermatheca (arrowed). Scale bars, 500 μm.

Dissections of adults (n = 76) from from 16 colonies covering all developmental gallery stages (Fig. 1c) revealed that there was never more than one female that showed clear signs of having reproduced, that is, having both developed ovaries with visible oocytes or eggs, and a filled sperm storage organ (spermatheca; Fig. 3c,d). Non-reproducing residents, always with empty spermatheca and vestigial ovaries, were only found in galleries at least four years old, consistent with an earlier report15 (Fig. 2). The total number of broods per colony increased linearly with the number of resident females, with only a small non-significant quadratic term. This suggests that reproductive returns remain constant, with each unmated worker in the older colonies that we sampled raising a similar number of dispersing siblings each year (Fig. 4a). Under outbreeding (see below), A. incompertus should invest equally in dispersing males and females28, which was supported by our overall sex ratio estimate. Using micro-cages (Supplementary Information), we collected 411 dispersing females and 418 males from 36 active colonies over five years, which produced a numerical ratio not significantly different from 1:1 (χ2 = 0.059, d.f. = 1, P = 0.808; Fig. 4b).

Fig. 4: Colony productivity and sex allocation.
figure 4

a, The relationship between the number of adult female residents and colony fecundity for 62 active gallery systems for which full census data could be obtained from tree felling and gallery examination. Less than half of these gallery systems (n = 26) contained more than one resident female and had six or more immature offspring. Differences between sites (P = 0.418) or Eucalyptus tree species (P = 0.771) were not significant, and the remaining variation could be described (R2 = 0.845) with the polynomial regression equation: offspring number = 9.6(resident females) − 0.12(resident females)2 − 7.10, having a significant linear slope (P < 0.0001) and a non-significant quadratic slope (P = 0.302), the latter indicating that decline in colony fecundity in larger (older) colonies is very minor. b, Yearly colony-level production of dispersing adult females as a function of the number of dispersing adult males for 36 active colonies that were monitored over a five-year period (resulting in 98 sets of micro-cage/dispersal samples). The variation could be described (R2 = 0.825) with the polynomial regression equation: females = 0.56males + 0.02(males)2 + 0.73, having both a significant linear slope (P < 0.0001) and a significant quadratic slope (P < 0.003), showing that small (young) colonies produce fewer dispersing females and large (old) colonies overproduce dispersing females relative to the overall mean. Some points fell on top of each other so that only 25 of the 26 observations are visible in a and only 50 of the 98 observations are visible in b.

The significant quadratic term in polynomial regression (Fig. 4b) of dispersing females on dispersing males indicates that young colonies recruiting workers for the first time release an excess of males, while old colonies contribute relatively more dispersing females. This is consistent with negative frequency dependent selection maintaining an equilibrium population-wide sex ratio to which colonies contribute in a split manner depending on developmental stage. An alternative analysis dividing gallery systems into three productivity classes confirmed that the sex ratio was significantly male biased only in young colonies that produced 1–5 dispersing adults (χ2 = 8.00, d.f . = 1, P < 0.005), consistent with female helpers being disproportionally recruited at this low-productivity stage of gallery development (see Methods and Supplementary Information). Apart from being perennial, this pattern is similar to variation in bivoltine halictid bees, where first-brood sex ratios are male biased because daughters are retained as helpers while second-brood sex ratios are female biased8,29.

Genotyping of 559 specimens (workers, pupae, larvae and eggs) from 33 galleries for eight microsatellite loci showed that colony members jointly never had more than four alleles per locus (except for a few cases explainable as 2 bp slipped strand mutations at a single locus), indicative of strict parental monogamy. In the gallery systems where we could also genotype the foundress (n = 9, Supplementary Tables 4 and 5), all other individuals from the same gallery shared at least one allele at each locus with this female, consistent with all of them being her offspring, and the remaining alleles were consistent with being contributed by a single diploid father. These results underline the permanency of full siblingship, because families sampled in year 5 (Fig. 2) will have had a four-year age difference between genotyped eggs and adult workers (Supplementary Table 5), and this age difference will have been >20 years for some of the larger genotyped colonies with about 10 workers (Fig. 4a). For 10 genotyped colonies we also had trapping data of dispersers from two subsequent years, which did not yield any new alleles in the second year (Supplementary Information). Full-sibling relatedness thus appears to be maintained, consistent with neither the foundress re-mating later in life nor any helping daughter becoming inseminated after having assumed sterile worker tasks. These data also showed that colony usurpation by a newly mated younger breeder had not occurred (see Supplementary Information).

To complement our pedigree reconstructions, we performed maximum likelihood analysis using COLONY software30, which assigned all offspring individuals as full siblings to their nestmates with inclusion probabilities of ≥0.98 in 32 of the 33 galleries. The inclusion probability for the remaining colony was 0.88, but here the maternal genotype was known and pedigree analysis consistent with a single father (Supplementary Table 5). The average observed relatedness among colony inhabitants was 0.499 ± 0.006 (95% confidence interval, CI) (Supplementary Table 5), consistent with the theoretically expected value of 0.5 for outbred full siblings (P = 0.762). Observed relatedness values were not significantly different from a simulated distribution of relatedness values for 6,000 full-sibling dyads randomly generated from our population-wide allele frequency distributions (P = 0.61), which produced an expected nestmate relatedness of 0.497 ± 0.003 (95% CI).

Discussion

Our results strongly suggest that the extremely long-lived galleries of A. incompertus are never inhabited by any beetles other than the single female foundress and her full-sibling offspring. As we discuss below, this inference is consistent with universal tarsal loss of resident females, which precludes mating and new gallery initiation later in life, both for foundresses and for unmated workers. Below, we evaluate additional life-history data that explain the extent to which males and 5th (final) instar larvae contribute labour to social colony life, before proceeding to a more general interpretation of our results.

Mating, tarsal loss and daughter sterility without further specialization

A. incompertus workers were always un-inseminated, consistent with them never mating with brothers inside galleries and with being fully sterile, as both sexes in A. incompertus are diploid so males cannot develop from unfertilized eggs. A. incompertus galleries are known to always be initiated by already inseminated females15, and our genetic data demonstrate 100% parental outbreeding after using a substantial set of markers that reliably discriminated between candidate parents and other first-degree relatives (Supplementary Information). Lifetime (unconditional) unmatedness of workers is a hallmark of obligate eusociality12,13. This advanced state of social organization is restricted to the ants, the evolutionarily derived termites, crown-group corbiculate bees and vespine wasps, and is never found in cooperative breeders such as naked mole rats and meerkats or facultatively eusocial invertebrates13, including other ambrosia beetles such as X. saxeseni, which belongs to the distantly related haplodiploid Xyleborini.

Mating in Platypodinae occurs on a substrate and not in flight23,24, making it impossible for females without a full tarsal complement with claws on most legs to either mate and initiate a new gallery or to usurp an existing one31,32. For example, in Megaplatypus mutatus (Chapuis), even slight damage to the tarsi prevents reproduction because the male cannot traverse the bark and the females cannot participate in courtship33. The universal loss of almost all tarsal segments shortly after committing to a gallery (Supplementary Information) is therefore key to understand the difference between cooperative breeding ambrosia beetles, whose helpers often have later dispersal and/or mating opportunities, and obligate eusociality, where sterile workers have no reproductive potential later in life. Few Platypodines have been studied, but tarsal loss shortly after gallery foundation has been reported in at least seven other Platypodines31,32,34,35,36,37 and applies to both sexes in proportion to their workload in one better-studied case32. Consistent with males having secondarily lost their social roles, tarsal loss is female specific in A. incompertus, but the rate of tarsal loss has remained comparable to non-social sister lineages and is likely to remain proportional to the amount of work done. Hence, foundresses lose their tarsi in a matter of weeks after gallery initiation and workers in a few months after committing to their natal gallery (Supplementary Tables 2 and 3). Tarsal loss in A. incompertus thus happens at a scale never documented in haplodiploid Xyleborini and other cooperatively breeding ambrosia beetles19,25,38. Here dispersal is a condition-dependent decision of adult females after evaluating the need for help in their natal gallery and assessing the potential indirect fitness pay-offs emanating from delaying dispersal and becoming helpers39.

Females of the relatively well-studied xyleborine species X. saxeseni can start their galleries after first having been helpers at the natal nest39, suggesting that selection for well-functioning tarsi and claws is maintained throughout life. We hypothesize that lifetime commitment of all females to a single gallery system has relaxed selection for maintaining strong tarsal joints, quite possibly already in the ancestors of A. incompertus. Tarsal loss reduced female mobility and restricted mating to the first weeks of adult life, thus reinforcing the maintenance of full-sibling colonies throughout the lifespan of galleries. We expect that tarsal loss in workers is due to wear and tear similar to tarsal loss in foundresses (see Supplementary Information) rather than to active shedding or maternal mutilation, because there is little parent–offspring conflict that needs to be resolved by maternal coercion when relatedness to siblings is identical to relatedness to offspring. Lifetime parental monogamy combined with consistently favourable benefit/cost ratios of reproductive altruism in an existing colony that survived against dismal foundation odds (see below and Supplementary Information) thus provides a credible ultimate explanation for the evolution of lifetime worker unmatedness in A. incompertus.

The intriguing difference between A. incompertus and all other obligately eusocial insects is that caste differentiation did not proceed beyond the strict (un)matedness dichotomy. This makes sense when realizing that gallery life with small colonies did not impose selection for enhanced breeder fertility and that ambrosia fungus farming never requires foraging outside the gallery20. Constant gallery diameter also implied that body size could neither increase nor decrease as the latter would have jeopardized the efficiency of gallery entrance blocking. Platypodid larvae are comparatively independent, move freely around the galleries, feed themselves, and extend galleries when they reach the 5th instar25, similar to the Xyleborini19 (see Supplementary Information). This contrasts with the larvae/nymphs of the obligately eusocial Hymenoptera and termites, which are intensively provisioned and/or nursed by workers1,40. This might explain why morphological adaptations for advanced brood care have not evolved in the lifetime unmated workers of A. incompertus. This monotypic beetle lineage thus appears to represent an incipient stage of obligately eusocial superorganismality41, characterized by the hallmark trait of lifetime unmatedness for all workers, but with very limited additional adaptation due to constraints of fungus farming in self-sufficient galleries of constant diameter. A diagrammatic summary of our reconstruction of the caste-specific phenology of A. incompertus females is shown in Fig. 5.

Fig. 5: Summary of the social phenology of A. incompertus female castes.
figure 5

Two virgin sisters eclosing in the same colony cohort shortly before the yearly dispersal period irreversibly embark on alternative trajectories as either inseminated foundress queen of a new gallery system elsewhere (top) or as lifetime-unmated worker daughter in the natal colony (bottom). With negligibly few exceptions, dispersal starts in late March, with more males dispersing earlier in this period and female numbers catching up by mid April.

Monogamy first and ecological benefits second

The monogamy hypothesis claims that parental commitment for life was a necessary condition for evolving irreversible reproductive division of labour. The Hamiltonian benefit-cost ratio (b/c) then was the secondary sufficiency condition that allowed some lineages to evolve lifetime unmated castes, while precluding many other monogamous taxa from achieving similar transitions because the b/c ratios of reproductive altruism remained too variable over time. All other studied platypodid ambrosia beetles are monogamous with biparental gallery foundation and brood care but, as far as known, without helpers or a worker caste25,42. This indicates that outbred maximal relatedness among siblings was established first and that, as expected3,13, efficiency advantages of worker altruism accumulated afterwards, starting with marginal benefits (b/c > 1) and ultimately reaching substantial indirect fitness returns (cf. Figure 4a).

Although few platypodid beetles have been studied in detail, a robust genus-level phylogeny is available which allowed us to use natural history data to shed light on the order in which monogamy and nesting habits evolved (Fig. 6). The genus Austroplatypus evolved ca. 55 Ma in the early Eocene as the most basal branch of the tribe Platipodini16. The evolutionarily older Tesserocerini tribe that probably completed its deeper diversification in the Cretaceous appears to be universally characterized by a single male excavating a nest-founding gallery and attracting a female, after which mating takes place at the gallery entrance23. The female then continues excavation and the pair cooperates in gallery maintenance, with the female specializing on gallery hygiene and the male on defensive entrance blocking, which also prevents mobile larvae from falling out, and assisting with waste removal and microclimate regulation to secure stable fungus-garden growth23,24,25. The later evolving sister lineages of Austroplatypus within the Platypodini represent most of the extant diversity of the Platypodinae (Fig. 6). Some of the better studied species in these lineages appear to have marginalized male-roles to primarily involve entrance guarding25,42 while retaining the use of dead or dying trees for nesting.

Fig. 6: Phylogenetic placement of A. incompertus and other live-tree-tunnelling platypodid beetle species.
figure 6

A stylized phylogeny for the diploid subfamily Platypodinae16 showing the evolutionary position of A. incompertus relative to other Platypodinae. Austroplatypus is most likely to have evolved in the early Eocene around 55 Myr ago (Ma) (95% CI of posterior value 45–64 Ma16) and is monotypic, that is, has only a single known extant species A. incompertus. Its lifestyle of tunnelling in live hardwood Eucalyptus trees is likely to be ancestral, as the genus Eucalyptus is generally acknowledged to have evolved approximately 52 Ma (also in the early Eocene)59. Most diversification in Platypodinae happened in the sister branches of A. incompertus within the Platypodini tribe, which retained ancestral biparental gallery founding in dead wood (black branches). Several derived and isolated other transitions to live hardwood tunnelling are known, including one in the Neotropics (Megaplatypus mutatus (Chapuis)), one in the Afrotropics (Trachyostus ghanaensis Schedl), one in Indo-Malaya (Dendroplatypus impar (Schedl)) and two in distantly related Australian lineages (Platypus tuberculosus Strohmeyer and Notoplatypus elongatus Lea)16,25. All six species lineages that tunnel in live trees are highlighted in green when sequence data were available or with dashed green lines when phylogenetic positions could only be approximately inferred. The inset schematic tree depicts the well-supported evolutionary relationships across the weevil (Curculionidae) subfamilies17. Ploidy varies across the branches of the Curculionidae, but has rarely been directly confirmed. The Scolytinae include both haplodiploid and diploid taxa, and the better-known examples of cooperative breeding are all from the haplodiploid tribe Xyleborini within the subfamily Scolytinae38,39,60.

The phylogenetic distribution of tunnelling inside live trees (Fig. 6) strongly suggests that the switch from dead, decaying wood to live stems was the decisive sufficiency condition for obligate eusociality in A. incompertus to evolve. This may have happened only once after the necessary condition of lifetime monogamy was broadly established ancestrally, and after male paternal roles had subsequently become reduced to mere entrance defense and finally to survival as stored sperm only. Only a handful of other, evolutionary-derived switches to using live trees have been documented among the approximately 1,400 extant species of platypodid beetles16,25 (Fig. 6). Detailed studies of these species would be valuable to elucidate whether convergent forms of reproductive altruism might have evolved in these platypodids and how such derived social systems would correlate with putative losses of social roles in males. It would also be interesting to investigate whether the exceptionally potent chemical defenses of Eucalyptus trees might have been a facilitating factor for prolonged colony life across A. incompertus and the two other live-Eucalyptus-tunnelling species in Australia.

Increased sexual dimorphism and lifetime sperm storage

Sexual dimorphism in A. incompertus appears to reflect obligate eusocial breeding. In other platypodid species, male body size is either the same or very slightly smaller than female body size, but A. incompertus males are always recognizably smaller than females, consistent with males no longer having entrance-guarding or colony-founding behaviours either before or after mating43. However, A. incompertus males have remained responsible for locating a suitable host tree where they settle in the bark and probably use a pheromone to attract a female for mating, as in other platypodines44,45. This derived male life-history probably explains that A. incompertus males have lost the posterior armature of spines43, elytral modifications hypothesized to aid in gallery entrance defence20,31,32,35 that males, and to a lesser extent females, of the phylogenetically basal platypodid Notoplatypus elongatus (Lea) have46. In contrast, A. incompertus females have not only retained their abrupt elytral declivity (sharp downward posterior slope) but these became reinforced with series of central and peripheral spines, making them both suitable for gallery blocking and for hygienic waste shovelling within the gallery. In addition, the mycangia (specialized structures to transport fungus, often present in both male and female Platypodinae) have been lost in A. incompertus males but retained in all females43.

The life history traits that our study has uncovered indicate that A. incompertus follows the general rule that parental care in sister lineages without social breeding predicts the sex of an evolutionarily derived permanent worker caste9,10. Over evolutionary time, the tunnelling and nursing roles of males disappeared (now only found in extant sister lineages), so it was to be expected that A. incompertus males would not evolve permanent worker functions, provided that females could evolve the male-like morphological modifications that enabled them to be efficient entrance guards43. Strictly monogamous biparental care thus appears to have been replaced by lifetime sperm storage and exclusive maternal care, in contrast to the diploid termites that retained the biparental colony founding habits of their cockroach ancestors when evolving social colonies, both initially when becoming wood-dwellers nesting inside logs, and later when evolving true workers and superorganismal colonies with central place foraging12,13,41. Our data on A. incompertus confirm that the evolution of lifetime sperm storage is not just a hymenopteran idiosyncrasy47,48, but a pre-adaptation facilitating the evolution of lifetime sterile castes independent of ploidy because it helps securing lifetime monogamy3,13.

General implications of a lifetime sterile caste in a long-lived ambrosia beetle

Two final implications of our study deserve to be made explicit. First, that the evolution of phenotypically plastic helpers in cooperatively breeding lineages has been proposed to be driven by either the need for ‘fortress defence’ or ‘life insurance’1, an argument that is also valid for the haplodiploid Xyleborini ambrosia beetles19. However, these mechanisms do not apply in A. incompertus because workers are not present during the first four years after colony founding (Fig. 2) when gallery systems are most likely to fail (Supplementary Information). This is because lone foundresses are vulnerable to predation in their entrance gallery, and can perish when their gallery entrance is flooded by Eucalyptus kino26. Chemical host tree defenses and predation risk continue throughout the lifespan of the colony, but after the first workers are recruited the foundress is unlikely to be exposed close to the gallery entrance and the risk of being overwhelmed by kino is much reduced. This suggests that especially the first workers obtain substantial indirect fitness benefits by staying rather than dispersing and pursuing the perilous life of a lone foundress (Fig. 5).

The second general implication arises as a consequence of improved colony survival. Once foundresses have survived long enough to produce their first dispersing sons and recruit their first worker daughters, they have potential future life expectancies of 10, 20 or even 30 or more years15,26. This huge contrast between mortality before and after reaching the age of first reproduction selects for extreme longevity49,50 and our data suggest that selection for long lifespan may have been extended to the unmated workers of A. incompertus. This offers an interesting contrast with the (obligately eusocial) superorganismal central-place-foraging Hymenoptera and termites12, where workers are much shorter-lived than their well-protected mother queens (and kings in termites) who may have similar lifespans as A. incompertus foundresses48. Although A. incompertus workers are unable, and have no reason, to leave the gallery to forage, their entrance guarding duties will impose higher extrinsic mortality risks than those experienced by their mothers. Life history theory51 would thus predict that sterile workers have shorter lifespans than breeders, but that their rate of ageing may also be very low compared to other ambrosia beetles.

Methods

Sampling

Several sampling regimes were employed at three locations in New South Wales, Australia (Supplementary Table 1): Olney State Forest (33° 5′ 51.42″ S, 151° 20′ 59.94″ E), Ourimbah State Forest (33°17′38.11″ S, 151°20′30.38″ E) and Cumberland State Forest (33° 44′ 42.37″ S, 151° 2′ 21.31″ E; Fig. 1a). Whole-log processing of Eucalyptus pilularis and E. agglomerata trees enabled the investigation of gallery system phenology (n = 230 galleries) and colony demography (collecting/counting all adults, larvae/pupae and eggs from 62 active gallery systems) (Supplementary Table 1). All inhabitants from a subset of gallery systems collected in 2010 (n = 16, adult beetles, larvae and eggs) were also collected for genetic marker analyses. In addition to whole-log processing, brass gauze micro-cages were placed over the entrances of gallery systems to trap beetles during their annual dispersal period (late March to early May) when males fly from their natal galleries to locate a host tree, settle in the bark and attract females to mate (Fig. 2). These collections allowed us to estimate sex ratios of dispersing adult offspring produced by 64 colonies. Each of these gallery systems was tagged to enable its tracking over subsequent years. Once dispersal of beetles commenced, the micro-cages and gallery entrances were inspected at varying time intervals (dependent on specific objectives in early studies; see the Supplementary Information) to collect trapped beetles whose typical behaviour was noted before they were sorted according to sex. One individual emerging from each of the 96 caged gallery systems in Olney State Forest was preserved in 90% ethanol for obtaining unbiased reference population allele frequencies for microsatellite marker loci. For a subset of 20 gallery systems all adults emerging over two consecutive years were collected for genetic analyses of possible changes in family composition over time. In this instance, 10 larger/older gallery systems (characterized by a protruding kino tube with finely granulated frass; Fig. 1c, third and fourth photographs) and 10 smaller/younger gallery systems (characterized by a shorter red kino tube with frass of wood slivers/granules; Fig. 1c, first and second photographs) were sampled (Supplementary Table 1; see also Supplementary Information). This implies that a variety of gallery age classes was represented in our total sample of colonies used for our genetic analyses.

Gallery phenology and seasonal activity

Gallery systems (E. pilularis n = 58 or E. agglomerata n = 172) of various ages were examined to investigate the typical sequence of gallery development. For each gallery system, the location, status (inactive vs active) and developmental stage (detailed below) were assessed with reference to previous general sources of information pertaining to the beetles’ life history15,26. Monitoring and sampling of galleries occurred over a series of years at different times of the year outside of the dispersal period of adult beetles (late March to early May). This allowed us to reconstruct the entire life cycle of A. incompertus, from gallery initiation, via recruitment of the first workers after four years, and throughout the long iteroparous final phase, including the seasonal phenology events of brood development (Figs. 1c and 2; Supplementary Information; Supplementary Tables 13).

The observed horizontal gallery systems showed a number of common features and a consistent sequence of development which included three distinct phases (Supplementary Information). (1) Entrance stage: the initial gallery excavated by the lone foundress leads straight into the tree (roughly perpendicular to the tree surface) without branching and stops just short of the pith. (2) Primary branching stage: once the entrance gallery is near the pith, it radially branches off to the left or right following a growth ring (Fig. 1c, first drawing). After this branch has been completed another is excavated in opposite direction, starting at the point where the previous primary branch diverged from the entrance gallery. (3) Secondary branching stage: after completion of the primary branches, secondary branches and pupal cells (short vertical galleries with concave ends in which larvae pupate) are excavated by 5th instar larvae (Supplementary Information). Once this stage has been reached, the gallery ‘bauplan’ is essentially complete (Fig. 1c, second drawing). From now on the gallery system will continue to develop in complexity for as long as the colony lives, via additional galleries being excavated by 5th instar larvae away from the pith into the heartwood (Fig. 1c, third drawing), so the gallery system merely increases in overall diameter and overall gallery length (Fig. 1c, fourth drawing) until the colony ultimately fails after up to about 40 years15,26

Colony demography and sex ratio

For 62 active gallery systems collected via destructive sampling, the stage of gallery development was recorded as described above (Fig. 1c). This included noting the sex and presence/absence of claws of each adult, and the number of eggs and larvae—the latter sorted into instar cohorts according to previously documented morphological characteristics43. The ovaries of all resident females from 16 of these gallery systems were examined by dissection in saline solution at 40× magnification, and their spermathecae removed and ruptured onto a slide to check for the presence of sperm by viewing with a compound microscope.

To investigate the sex ratios of adults emerging from active gallery systems, micro-cages were placed on the entrances of 64 active A. incompertus colonies, which allowed 829 emerging beetles to be collected from 36 of these colonies over a five-year period giving a total of 98 sampling events (Supplementary Table 1). Beetles disperse from their colonies during late March to early May (Supplementary Information) so the micro-cages were inspected monthly from July to February and weekly from March to April until beetle dispersal commenced. Micro-cages were then inspected daily (78%) or every second day (14%) (generally until June) and the collected beetles were counted and sorted according to sex43 (the remaining 8% of cases involved longer trap inspection intervals (3 days on 5 occasions; 4 days on 3 occasions and 6 days on a single occasion). For data analysis, these gallery systems were divided into three productivity classes based on numbers of dispersing adults in each year (using total annual productivity as a proxy of colony age, but corresponding with kino tube age estimations; Fig. 1c), giving three categories: small (1–5 dispersers, n = 64), medium (6–15 dispersers, n = 22), and large (16–82 dispersers, n = 12). We used polynomial regression to analyse sex ratio variation across the entire data set (n = 98).

The extent and pattern of tarsal loss

Tarsi and claws are essential for platypodine beetle mobility outside the gallery system so females without tarsi can neither leave their colony on foot nor disperse to other trees on the wing because they are unable to cling to the bark when landing on trees31,32,34. We investigated the extent and nature of tarsal loss in A. incompertus beetles using: 1. Tree felling and gallery dissection in the months of January, February, June, August, October and November, all of which are outside the late March to early May dispersal period; 2. Monitoring gallery initiation occurring in late May; 3. Inspecting micro-cages which collected dispersing offspring from late March to early May and some non-dispersing females from early March to late June, and 4. Opportunistic collection of non-dispersing females from kino tubes (Supplementary Table 1). Frequency distributions of the presence or absence of claws and tarsal segments at specific collection dates were examined (Supplementary Table 2 and 3), which allowed us to evaluate the timing of tarsal loss and whether tarsal loss implied clean breaks between segments (almost always) or possible cases that could be consistent with segments having been actively broken/torn off (Supplementary Information).

Microsatellite genotyping

Total genomic DNA was extracted from the heads of adults or approximately half of the body mass of 3rd, 4th or 5th instar larva using an ammonium acetate precipitation protocol. A 10% Chelex-solution (Sigma-Aldrich) was used to extract DNA from eggs and 1st or 2nd instar larva (100 µl of 10% Chelex and 10 µl of 10 µg proteinase K, Sigma-Aldrich, 10 hr at 56 °C, 100 °C for 15 min, then 10 min at 21,000g, after which supernatant was collected). Individuals were genotyped for eight loci; Ai152, Ai3, Ai5, Ai6, Ai9, Ai12, Ai19 and Ai2053. Welded fluorochromes (Applied Biosystems) were incorporated into the forward primer for PCR and later electrophoresis with an ABI 3130 Genetic Analyser (Applied Biosystems). Allele sizes were estimated against an internal size standard LIZ using Peak Scanner Software v1.0 (Applied Biosystems). More than 15% of samples were re-analysed (different ones for each locus) to ensure consistency and repeatability of allelic scores when first round banding patterns were ambiguous. Primer details, loci properties, PCR conditions and allele sizing protocols have been published previously52,53.

Summary statistics (Supplementary Table 4) include the number of alleles per locus, measures of observed and expected heterozygosity, and tests for deviation from Hardy-Weinberg Equilibrium, based on the genotypes from our reference population (single individuals from 96 colonies at Olney State Forest) and computed using CERVUSv3.0.354. Originally, nine loci were genotyped, but one locus showed a significant deficiency of heterozygotes compared with expected Hardy-Weinberg equilibrium, most likely due to null alleles, and was discarded from further analyses. None of the remaining eight loci deviated significantly from Hardy–Weinberg equilibrium (examined using micro-checker55 v.2.2.3 and CERVUS). Combined, these eight loci provided considerable power for assigning pedigree relationships (Supplementary Table 4) with a mean polymorphic information content of 0.69 and a combined CERVUS probability of overlooking a putative second insemination of 0.0008, implying that the probability of detecting multiple paternity (if it existed) with this marker set was high.

Colony genetic structure

Pedigree relationships among the genotyped inhabitants (n = 590) of 36 colonies were initially investigated by visual inspection of genotypic arrays. Because both sexes in A. incompertus are diploid52, a maximum of four alleles per locus is expected among offspring when a breeding female is inseminated by a single male. Visual appraisal of pedigree genotypes where the maternal genotype was known (n = 10) also allowed us to reconstruct the other parental genotypes which always yielded a single diploid mother and father. Putative genetic inconsistency with a single mother and father (>4 alleles at a locus per colony, or a combination of alleles inconsistent with the two inferred parental genotypes) was identified for only 7 out of 580 individuals, and always occurred at only a single locus per individual, suggestive of a genotyping error or mutation. In three of these cases the mismatched locus was homozygous, indicative of a low frequency of null alleles (allelic dropouts) in the population. In three other cases, the mismatched individual also concerned a single locus and an allele differing by just two base pairs from the expected common parental allele, consistent with an occasional slipped strand mutation. Finally, there was one egg that appeared to be homozygous for all eight loci with all alleles being maternal, suggesting it was unfertilized but had undergone some cell divisions (and thus amplified). These seven individuals were removed from subsequent analyses.

Within-colony pedigree relationships were further investigated by implementing a maximum likelihood approach in COLONY30 to assign full-sibling relationships among individuals based on their multilocus genotypes (and the associated probability of each assignment). As before, the population-wide allele frequencies (calculated using GenALEx56), obtained from a single individual per colony (n = 96), were used as background reference in this analysis. No a priori assumptions of relationships were made, that is, no kin structure was entered into the analyses up front. The pedigree reconstructions always yielded simple family structures consistent with just two monogamous parents. Full siblingship obtained via COLONY30 was further verified by estimating relatedness coefficients. For this approach, individuals were omitted if there were missing data for four or more loci, or if they were members of a colony for which only four or fewer individuals were genotyped. These stringent criteria excluded three colonies, including one small gallery for which emerging adults had been sampled over two years, and two galleries which had been sampled via whole-log processing (including one of the ten that had a putative foundress collected; hence n = 33 in Supplementary Table 5). All remaining putative foundresses (n = 9) were also excluded (as not being offspring), and relatedness57 among putative sibling colony members was estimated in COANCESTRY (v1.0.1.5)58 for the remaining 550 individuals (from 33 colonies; Supplementary Table 5). We used the same program to simulate the mean and colony-level variation in relatedness estimated from 6,000 pairs of first-degree relatives randomly generated from the reference population allele frequencies and compared the outcome with our observed relatedness distribution using a randomization test based on the difference in means between the observed and simulated data sets after 1,000 permutations.

Reporting Summary

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

Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request. The main background data are provided via Supplementary Tables 15, among which Supplementary Tables 13 summarize all information relevant for the present study from the unpublished PhD thesis of D.S.K. (2001, University of Sydney).