Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Social attraction in Drosophila is regulated by the mushroom body and serotonergic system

An Author Correction to this article was published on 06 November 2020

This article has been updated


Sociality is among the most important motivators of human behaviour. However, the neural mechanisms determining levels of sociality are largely unknown, primarily due to a lack of suitable animal models. Here, we report the presence of a surprising degree of general sociality in Drosophila. A newly-developed paradigm to study social approach behaviour in flies reveal that social cues perceive through both vision and olfaction converged in a central brain region, the γ lobe of the mushroom body, which exhibite activation in response to social experience. The activity of these γ neurons control the motivational drive for social interaction. At the molecular level, the serotonergic system is critical for social affinity. These results demonstrate that Drosophila are highly sociable, providing a suitable model system for elucidating the mechanisms underlying the motivation for sociality.


Social affiliation is a fundamental behaviour in many species. In social animals, individuals in a population tend to associate in groups, and, in the case of humans, form cooperative societies. Moreover, social motivation deficits are common phenomena in mental disorders, including autism, depression, and anxiety disorder1,2,3,4. Understanding sociality and related disorders require a clear understanding of the evolutionary roots and neural substrate of the desire for social affiliation. Such an understanding would also help to elucidate how complex features, such as emotions and desires, emerge from networks of neurons in general.

Similarly to humans, many non-human animals exhibit a natural tendency to approach and investigate unfamiliar conspecifics, as reported in fish5, mouse6, and rat7. Social approach behaviour was measured initially by observing mice interacting freely in an open field8 and later in a three-chambered assay9. Deficits in the social approach exhibited in mice models of mental disorders, such as autism10, depression11, schizophrenia12, and anxiety disease13. However, the mechanisms determining levels of sociality are largely unknown, and systematically revealing the neural substrates of social approach behaviour would require a high-throughput approach to effectively screen a large number of genes or different strains.

As a basic instinct, sociality is reported to exist in insects, with well-known examples of highly social insects, such as honeybees, ants, and wasps. In contrast, Drosophila are typically thought to be largely solitary, exhibiting very limited social behaviour. Male-initiated types of communication have been extensively studied in fruit flies, including those for mating purposes, such as aggression14,15, courtship16,17, and copulation18,19. Nevertheless, transient social interactions between fruit flies within a group exhibit dynamic patterns20, and flies aggregate to form organized networks21,22. Experienced flies have been reported to transfer knowledge about oviposition sites and parasitoid threats to naive flies23, suggesting that Drosophila are capable of certain types of sociality beyond the purposes of mating24. However, the prevalence, intensity, and motivation of social interactions, as well as the underlying neural circuitry, remain ill-defined. The current study provides evidence that neurons in central brain regions of Drosophila regulate the tendency for social affiliation, a prerequisite for advanced social interactions. These findings provide a promising basis for elucidating the neural root of sociality.


Strong social attraction in Drosophila

To quantify the tendency for social interaction in Drosophila, we developed a high-throughput social approach paradigm. Inside a shallow circular chamber, 10 flies were tethered to one half of the chamber to serve as attractor flies (attractors). Subsequently, free-walking flies (hereafter referred to as subject flies) were released into the chamber, and their two-dimensional distribution over time was video-recorded and analysed with programs developed in-house (Fig. 1a, Supplementary Movie 1). Regardless of the type of social interaction, any physical interaction requires two animals to be close to each other; therefore, the amount of time a free-moving fly spends near immobilized attractor flies reflects the motivation for social interaction. As shown in Fig. 1b, in an empty chamber, female wild-type flies, Canton-S (CS), exhibited no bias to either side of the chamber. However, when attractor flies were tethered in one half of the chamber, free-walking Canton-S flies spent significantly more time on the same side as attractors, regardless of the sex of the attractors (Fig. 1b), suggesting that flies have a strong tendency to associate with other flies.

Fig. 1: Social attraction in Drosophila melanogaster.

a Procedure for quantifying social approach behaviour. Immobilized attractor flies were tethered to the right side of a shallow dish while the left side was empty. The distribution of free-walking flies in the dish was tracked using a video camera, and the preference index was calculated (see also Video 1). b Free-walking flies were strongly attracted to immobilized flies. Top panels: the overlays of 960 frames from a 4-h test period. Bottom panels: accumulated distributions of free-walking flies. c Canton S flies of both sexes were similarly attracted by male and female attractor flies. d Genetic background had minor effects on social attraction. The strains are Canton-S, Oregon-R, Berlin-K, w1118, and yw. e Wild flies of different species of Drosophilidae exhibit social attraction. The species tested were D. melanogaster, D. simulans, D. sechellia, D. yakuba, and D. repleta. The results are presented as a box and whisker plot; the whiskers indicate the minimum and maximum, the box includes the 25th–75th percentile, and the line in the box indicates the median of the data set. Statistical analysis: one-way ANOVA followed by Dunnett’s test was used for comparison of all groups vs. control group, and t-test for comparisons between only two groups (e). **P < 0.01, ***P < 0.001.

Because fruit flies prefer to walk along the chamber wall, a behaviour known as thigmotaxis25,26,27 (Supplementary Fig. 1A–D), we chose to analyse the distribution of subject flies inside a smaller area (a circle 5.5 mm away from the chamber wall) when quantifying sociability (Supplementary Fig. 1A). A preference index (PI) was devised to describe flies’ tendency for sociality (see the Materials and Methods section for details, also movie S1). For example, on average Canton-S females appeared on the side containing male attractors ~75% of the time, yielding a PI score of 0.5 (PI = 0.75–0.25, Fig. 1c). Further characterization revealed that the PI value did not change significantly over 4 h (Supplementary Fig. 1E), and was not affected by the number of free-moving flies (Supplementary Fig. 2A, B), suggesting a stable social attraction. Analysis of single flies revealed that they displayed a tendency to “repeatedly” explore (Supplementary Fig. 2C) or stay near the tethered flies (Supplementary Fig. 2D) for various durations. We also found that free-moving flies were attracted to model flies constructed from Fimo polymer clay, which were the same size as Canton S female flies and had wings from real flies (Supplementary Fig. 1F), and food bars. Notably, the desirability toward to normal flies was substantially higher than that to Fimo flies and a food bar (Supplementary Fig. 1G). These results indicated that social motivation is a strongly purposive behaviour in flies.

Importantly, when agar bars with dimensions similar to those of flies were glued to a chamber in place of attractor flies, they failed to attract the free-moving flies, suggesting that the attractive action of subject flies is goal-oriented, instead of purely exploratory, and is performed to move close to other flies, but not non-fly objects (Supplementary Fig. 1G). Furthermore, dead attractor flies elicited similar PI values as living flies, indicating that feedback and interaction signals originating from attractor flies are not necessary for social approach in Drosophila (Supplementary Fig. 1H).

Robust and ubiquitous social attraction

Next, we set out to identify potential factors influencing social attractions, such as sex, physiological status, and genetic background. When testing the level of attractiveness of flies of each sex, we found that both male and female flies were readily attracted by immobilized flies, regardless of their sex, with female attractors exerting a slightly higher level of attraction on subject males (Fig. 1c). This similarity in the strength of social attraction suggested that our behavioural paradigm identified a relatively general motivation for sociality, instead of specific motivation for reproduction typically initiated by males. As sex did not influence social approach in our paradigm, we used female flies for our experiments.

Physiological status, such as satiety or mating state, can affect social interactions or function as a driving force for certain social behaviours. However, we found that neither age nor mating status affected the strength of the social approach (Supplementary Fig. 3A, B). Starvation slightly promoted social motivation (Supplementary Fig. 3C). Taken together, these data suggested that social approach behaviour was robust against physiological status.

In addition to Canton-S, several common lab strains (Oregon-R, Berlin-k, w1118, and yw) exhibited a similar strength of social approach to Canton-S flies (Fig. 1d), suggesting that social attraction was not simply influenced by genetic composition.

We further evaluated whether social attraction is a general trait among Drosophila species. As shown in Fig. 1e, the wild-type flies of five Drosophila species were strongly attracted by their conspecifics, suggesting that social affiliation is ubiquitous in Drosophilidae. We also found that Canton-S flies were attracted by immobilized wild-type flies of five Drosophila species, respectively (Supplementary Fig. 4A), Furthermore, all species exhibited approach behaviour toward D. melanogaster, but to different degrees that correlated well with the evolutionary distance (Supplementary Fig. 4B). Thus, social attraction in Drosophila is robust and evolutionarily conserved.

Past experiences affect social attraction

Socially isolated flies were previously reported to be more aggressive, with abnormal circadian activities and a short lifespan28,29. We found that, compared with group-reared flies, flies raised in isolation exhibited a weaker tendency to approach attractors (Supplementary Fig. 5A). The remaining tendency of social affiliation in the singly raised flies indicated that social attraction is largely an innate response in Drosophila.

To further examine the plasticity of social approach behaviour, we conditioned wild-type flies with attractors surrounded by denatonium, a potent repulsive chemical for fruit flies. In the test after training for 6 h, wild-type flies exhibited a decrease in social approach toward standard attractors without denatonium (Supplementary Fig. 5B), demonstrating that, despite the strength and robustness of social approach behaviour, it also exhibits a high degree of flexibility.

Next, we labelled and mixed male wild-type flies with a mutant strain, fruitless, which exhibits intense male–male courtship behaviour30. Interestingly, being pursued erroneously for 2 days by mutant males for courtship, wild-type flies exhibited dramatically decreased PI scores toward wild-type attractor flies in subsequent tests, indicating a lower motivation for sociality (Supplementary Fig. 5C). Taken together, these data indicated that motivation for social interaction is reduced by negative past social experiences.

Social attraction uses multiple sensory cues

To identify the major sensory signals mediating social attraction, we eliminated various sensory modalities, including olfactory, visual, auditory, and gustatory sense in subject flies. For this set of experiments, wild-type flies were chosen as attractor flies (the cue provider), while the free-moving flies (cue perceiver) were deprived of specific sensory modalities by genetic mutations and physical methods (see the “Methods” section for details). The contribution of olfactory inputs was tested in Orco mutant flies, which lack odorant perception31, as well as in wild-type flies in which the primary olfactory organs, third antennal segments, and maxillary palp, were surgically removed32 (Fig. 2a). The role of vision in social attraction was determined in wild-type flies (tested in darkness) and vision-impaired mutant flies, norpAp33 (tested under light) (Fig. 2b). Auditory sensory function was eliminated by either iav1 mutation33 or by surgically removing the arista, the primary auditory organs (Fig. 2c). Finally, we used flies with a mutation eliminating all gustatory receptors34, PoxnΔm22, to investigate the contribution of gustatory sensory function (Fig. 2d). Surprisingly, under all conditions the attractiveness of wild-type flies to “sensory deprived” flies persisted, suggesting that flies use redundant sensory inputs across multiple modalities for social affiliation.

Fig. 2: Olfaction and vision mediate social attraction in Drosophila melanogaster.

ad Removing a single sensory modality was not sufficient to block social approach behaviour. a Deprivation of olfaction through using Orco mutants or Canton S lacking antennae (-ant) and maxillary palp (-palp). b Deprivation of vision through using norpAp33 mutants or testing Canton S in the dark. c Deprivation of auditory sense through using iav1 mutant or Canton S without arista. d Deprivation of gustatory sense through PoxnΔm22 mutants. e Simultaneously removing the olfactory and visual sense, by testing Canton S lacking antennae (-ant) in the dark, eliminated social approach behaviour. n = 16. Results are presented as a box and whisker plot; whiskers indicate the minimum and maximum, the box includes the 25th–75th percentile, and the line in the box indicates the median of the data set. Statistical analysis: t-test for two group only comparisons (ad) and one-way ANOVA followed by Dunnett’s test for multiple comparisons (e). ns: P > 0.05, **P < 0.01, ***P < 0.001.

To test our hypothesis, we simultaneously removed either two or three different sensory inputs. Removing visual and olfactory sensory functions together significantly decreased the level of social approach (Fig. 2e and Supplementary Fig. 6), whereas the removal of other pairs of sensory modalities did not affect social approach (Supplementary Fig. 7). Furthermore, flies with three sensory modalities removed, such as visual-auditory-gustatory and olfactory-auditory-gustatory functions, maintained normal social approach behaviour (Supplementary Table 1). Overall, these data demonstrated that flies use both visual and olfactory cues to exhibit attraction toward other flies. The redundancy of sensory inputs is consistent with the robustness of social approach behaviour, increasing the chance of a fly recognizing and socializing with conspecifics, even under challenging situations.

Insects use chemical information to find conspecifics for social interactions, such as aggregation, courtship, and aggression. In Drosophila, the male-specific pheromone cis-vaccenyl acetate (cVA) is considered to act as a long-range signal to mediate aggregation, and as a short-range signal to induce aggressive and sexual behaviours35,36. To test whether cVA is involved in social approach behaviour, we tethered virgin Canton-S flies as attractors. In the dark, the virgin females, which were devoid of cVA, exhibited decreased attraction to walking flies (Supplementary Fig. 8A). However, the attraction of virgin females in darkness was not abolished (Supplementary Fig. 8A), suggesting that cVA was one of the pheromones mediating social attraction in this situation. We further tested the receptor neurons of cVA for their roles in perception of social cues. There are two kinds of cVA receptor neurons in Drosophila: Or67d neurons (labelled by Or67d-Gal4) and Or65a neurons (labelled by Or65a-Gal4). It was previously reported that Or67d neurons serve as receptors for tracking male-deposited landmarks37. Flies with cVA receptor neurons silenced by TNT were tested in the dark for their social affiliation ability (Fig. S8B). The social approach response was strongly supressed when Or67d receptor neurons were silenced, while silencing the Or65a receptor neurons did not impact social attraction (Fig. S8B). This suggests cVA signalling mediated by the Or67d receptor neurons is important for perception of the conspecific social cues, including its essential roles in tracking the deposits of other flies.

Social motivation requires central brain neurons

We next investigated the corresponding brain regions underlying this robust and conserved motivation for sociality. To identify the higher brain centres responsible for motivating free-moving flies to approach attractors, we suppressed the activities of neurons in specific brain regions with tetanus toxin (TNT) using the GAL4/UAS system (Fig. 3a)38. We surveyed neuronal populations in all major brain regions: the mushroom body (MB, Supplementary Fig. 9a–i), ellipsoid body (EB, Supplementary Fig. 9–n), fan-shaped body (FB, Supplementary Fig. 9o–s), suboesophageal zone (SEZ, Supplementary Fig. 9t-v), protocerebral bridge (PB, Supplementary Fig. 9n), and antennal mechanosensory and motor centre (AMMC, Supplementary Fig. 9w–y). As shown in Fig. 3b, the level of social approach was dramatically reduced after silencing specific MB neurons in subject flies, whereas suppressing the activities of neurons in other brain regions failed to exert similar effects (Fig. 3c–g). Interestingly, not all MB > TNT combinations resulted in a decrease in sociality. This behaviour was only abolished following expression of TNT in the γ lobe neurons of the MB while silencing neurons in other MB lobes (α/β and α׳/β׳), exhibiting no effect on social attraction behaviour (Fig. 3b and Supplementary Table 2). Because the five drivers we used to label the Kenyon cells (KC) contributing to the gamma lobes also exhibited expression elsewhere inside or outside MB, we further tested a set of split-Gal4 drivers that were highly specific for different types of KC in MB39 (Supplementary Fig. 10). Social approach behaviour was substantially reduced only when expressing TNT in KCγ neurons (labelled by MB607B, MB419B, MB009B, or MB131B), whereas silencing other KC neurons (KCα/β: MB008B, MB477B, MB185B, MB594B or MB371B; and KCα׳/β׳: MB005B and MB463B) did not affect social attraction (Fig. 3h). Taken together, these findings strongly supported the notion that KCγ neurons are necessary for the motivation to approach conspecifics. To confirm the silencing results, we transiently silenced MB neurons with tub-Gal80ts, MB > TNT in a temperature-dependent manner (Fig. 3i), revealing that the level of social approach was dramatically decreased by adult-stage inactivation of KCγ neurons, but not KCα/β or KCα׳/β׳ neurons (Fig. 3j).

Fig. 3: The γ lobe of the mushroom body mediates social motivation.

a A diagram to show different brain regions in the adult fly (top) and the inactivation scheme by the GAL4/UAS system (bottom). Different Gal4s drove the expression of TNT in specific neurons in selected brain regions, including the mushroom body (b), ellipsoid body (c), fan-shaped body (d), suboesophageal ganglia (e), protocerebral bridge (f), and AMMC region (g). The social approach level was dramatically altered by expressing TNT in neurons labelled in ok107, MB247, 201y, D52H, and NP1131 lines (a), but not other neurons (ag). h The social approach levels were affected when silencing populations containing KCγ neurons in MB010B (α/β + α׳/β׳+γ), MB607B (γd), MB419B (γd), MB009B (γd+main), and MB131B (γd+main), but were normal when silencing the KCα/β and KCα׳/β׳ neurons (α/β: MB008B, MB477B, MB185B, MB594B, and MB371B; α׳/β׳: MB005B and MB463B). Different KCs occupy distinct layers in the lobes as indicated (a: anerior; d: dorsal; p:posterior; m: medial; c: core; s: surface). Blue, pink, and green circles represents expression in γ, α׳/β׳, and α/β lobe, respectively. i A scheme for inactivating neural activity in a selected time window by elevating the temperature to allow the expression of TNT. Flies containing UAS-TNT-E, tub-Gal80ts, and various Gal4s were kept at 18 °C for 3 days after eclosion. Subsequently, flies were kept at 29 °C for 2 days. The social approach tests were conducted after restoration at 25 °C for 2 h. j The results of selective inactivation via controlling temperature. The social approach levels were decreased in ok107, MB247, 201y, and NP1131. Results are presented as a box and whisker plot; the whiskers indicate the minimum and maximum, the box includes the 25th–75th percentile, and the line in the box indicates the median of the data set. Statistical analysis: unpaired t-test. ns: P > 0.05, *P < 0.05, **P < 0.01, ***P < 0.001.

Silencing KCγ neurons exhibited no significant impact on vision, olfaction, or locomotion, suggesting that the visual and olfactory inputs for social approach remained intact under such conditions (Supplementary Fig. 11A–C). Single fly tracking also revealed that flies with silenced KCγ neurons spent less time in the area containing attractor flies (Supplementary Fig. 12). Therefore, it appears that silencing KCγ neurons reduces the motivation for continuing social interactions.

If KCγ neurons participate in promoting social approach behaviour, their activities might be regulated by social encounters. We used a nuclear factor of activated T-cells (NFAT)-based neural tracing method, CaLexA, to visualize neurons that were activated upon encountering other flies40. To correlate specifically the social encounters with the activity of KCγ neurons, we identified a specific line, R72B08-Gal4. R72B08-Gal4 drove expression in multiple regions of the brain (Supplementary Fig. 13A, B). However, in the MB, it specifically labelled KCγ neurons (Supplementary Fig. 13C). Social approach behaviour was sharply reduced when silencing R72B08-Gal4-labelled neurons with TNT (Supplementary Fig. 13D). As expected, compared with socially isolated flies, group-reared flies exhibited higher fluorescence intensity in both the calyx region (Fig. 4a, b) and the lobe region (Supplementary Fig. 14A). We also compared fluorescent signals in other regions between group-reared flies and socially isolated flies. The signals in either the α/β lobe region (Supplementary Fig. 14B) or the calyx region (Supplementary Fig. 14C) were not statistically significant.Taken together, our results strongly suggested that KCγ neurons are a critical component of the neural circuits promoting social affiliation.

Fig. 4: Activation of KCγ neurons increases social motivation in Drosophila.

a Social experience increased neural activity in KCγ neurons. Comparison of confocal images of the KCγ neurons in flies bearing R72B08-Gal4, UAS-mLexA-VP16-NFAT, LexAop-CD2-GFP, and LexAop-CD8-GFP-2A-CD8-GFP transgenes revealed that flies reared in a group (Grouped, a-a) exhibited more activity than flies reared individually (Isolated, a-b). Scale bars = 50 μm. b Quantification of signal intensity in the calyx regions of grouped and isolated flies. c Optogenetic activation of NP1131-Gal4 or R72B04-Gal4 labelled KC neurons elevated levels of social attraction between the flies of the same species. Attractor flies were wild-type Canton S. d Activating the NP1131-Gal4 or R72B04-Gal4 labelled KCγ neurons also increased attraction between species. Attractor flies were wild D. repleta. The results are presented as a box and whisker plot; the whiskers indicate the minimum and maximum, the box includes the 25th–75th percentile, and the line in the box indicates the median of the data set. Statistical analysis: one-way ANOVA followed by Dunnett’s test was used for comparison of all boxes vs. control box. *P < 0.05, **P < 0.01, ***P < 0.001.

Next, we investigated whether activating the KCγ neurons would upregulate social affiliation in flies. As shown in Fig. 4c, flies with optogenetically activated KCγ neurons (labelled with either NP1131-Gal4 or R72B04-Gal4) exhibited higher levels of social approach to wild-type attractors than did the controls. When inter-species attraction was tested, D. melanogaster flies found D. repleta flies exhibited the least attractive among all species surveyed (Supplementary Fig. 4B). Interestingly, with their KCγ neurons activated, the D. melanogaster flies exhibited higher tendency to affiliate with D. repleta than did the controls (Fig. 4d). The results demonstrated that the activity of KCγ neurons regulated the flies’ motivation for social affiliation, suggesting that KCγ neurons function as a critical integration centre for sociality.

Dissecting circuitry of social attraction

We next investigated the neural circuit connecting sensory inputs with the central brain KC neurons. Because of the functional redundancy between vision and olfaction in social approach, we sought to identify critical neurons in the visual pathways in flies deprived of the sense of smell by surgically removing antennae (Fig. 5a). Under these “anosmic” conditions, silencing the F5 neurons (in layer 5 of the FB) abolished social approach behaviour (Fig. 5b), suggesting that F5 neurons are involved in relaying visual information to the MB.

Fig. 5: Mapping the neural circuit of social approach behaviour.

Schematic (a) and results (b) of investigating the visual pathway in social interaction, via inactivating visual neurons in the flies without olfactory organs. Schematic (c) and results (d) of investigating the olfactory pathway in social interaction, by testing flies in the dark with blocked KCα/β neurons. e Two classes of α/β neurons exhibit different cross-section appearances at the peduncle. (e-a) Schematic of a cross-section of the peduncle of MB. Cross-sections of the expression patterns of 17d (e-b), NP6649 (E-c), NP3061 (e-d), and NP5286 (e-e) at peduncle, visualized by GFP. f NP3061 (f-a) and R84C10 (f-b) show specific expressions in the mushroom body and fan-shaped body, respectively. g Simultaneous inactivation of α/β surface neurons (NP3061) and F5 neurons (R84C10) reduced social approach behaviour, while inactivation of either population alone did not affect social interaction. h Visualization of the synaptic connections between F5 neurons, α/βs neurons, and γ neurons in the calyx by t-GRASP. (h-a) Schematic of the locations of the presynaptic structure labelled by R84C10 (green) and postsynaptic structure labelled by R72B08 (magenta). (h-b) t-GRASP signals indicated contacts between KCγ neurons (R72B08-Gal4) and F5 neurons (R84C10-LexA) in the calyx region (coloured box). (h-c and d) Magnified views in the boxed regions of (h-b). (h-e) Schematic of the locations of the presynaptic structure labelled by R44E04 (Green) and postsynaptic structure labelled by R72B08 (magenta). (h-f) t-GRASP signals showed the contacting sites between KCα/βs neurons (R44E04-LexA) and KCγ neurons (R72B08-Gal4) in the calyx region (coloured box). (h-g and h) Magnified views in the boxed regions of (h-f). The neuropil was counterstained with the antibody against nc82 (magenta). Scale bars = 50 μm, except in (e: 10 μm) and (h-c, d, g, and h: 25 μm). i A diagram to show the neural circuit mediating social attraction. Results are presented as a box and whisker plot; the whiskers indicate the minimum and maximum, the box includes the 25th–75th percentile, and the line in the box indicates the median of the data set. Statistical analysis: unpaired t-test. ns: P > 0.05, **P < 0.01, ***P < 0.001.

To identify essential neurons in olfactory pathways for social attraction, we tested animals kept in darkness during the experiment, to exclude any visual cues (Fig. 5c). Under these conditions, the levels of social attraction were significantly decreased following the silencing of the α/β surface neurons (Fig. 5d, e d, e), whereas blocking the other class of KCα/β neurons, namely α/β core neurons, had no visible effects (Fig. 5d, e b, c), suggesting that KCα/β surface neurons are responsible for delivering olfactory information.

When both F5 neurons and KCα/β surface neurons were simultaneously silenced, flies with intact antennae exhibited greatly reduced social attraction under regular illumination (Fig. 5f, g, Supplementary Fig. 15A, B). Furthermore, simultaneously blocking KCα/β surface neurons and other neurons in the FB did not result in impairment of social approach behaviour (Supplementary Fig. 15C, D).

To facilitate the reconstruction of the neural network of social attraction, we investigated the synaptic structures of KCγ, F5, and KCα/β surface neurons. We found that the postsynaptic terminals of KCγ neurons and the presynaptic structures of F5 neurons were enriched mainly in the calyx region (Supplementary Fig. 16A -D), strongly suggesting that F5 and KCγ neurons can form direct synaptic connections. To test this possibility, we visualized the connections between the F5 neurons (labelled by R84C10-LexA) and KCγ neurons (labelled by R72B08-Gal4) using the targeted green fluorescent protein (GFP) reconstitution across synaptic partners (t-GRASP) method, which enhanced its specificity for synaptic contact sites via a targeting strategy to label the presynaptic terminals with GFP11 and the postsynaptic regions with GFP1-1041. Only when the F5 and KCγ neurons separately expressed the complementary halves of GFP, stable labelling was observed near the calyx region (Fig. 5h b–d), while the other combinations of various transgenic components served as negative controls (Supplementary Fig. 17A). In another set of t-GRASP experiments, the F5 neurons were labelled by R84C10-Gal4 and KCγ neurons were labelled by 92F10-LexA (Supplementary Fig. 17B). Swapping the Gal4 and LexA drivers produced similar distribution patterns of synaptic sites (Supplementary Fig. 17B-f to -h). The synaptic connection from F5 neurons to the KCγ neurons confirmed the behavioural results of silencing these neurons.

To investigate signalling from KCα/β surface neurons to KCγ neurons, we first surveyed the potential downstream synaptic targets of KCα/β surface neurons using trans-Tango, a method of anterograde transsynaptic tracing42. In flies bearing the NP3061-Gal4 driver (labelling KCα/β surface neurons) and the trans-Tango components, KCα/β surface neurons were visualized to innervate to α/β surface lobes as well as γ lobes (Supplementary Fig. 18A). Later connectivity patterns indicated that the KCα/β surface neurons transmit information to KCγ neurons, which we further tested with the t-GRASP method. In the negative controls, the combinations of different transgenic components did not generate detectable signals (Supplementary Fig. 18B). Only when the KCα/β surface neurons (labelled by R44E04-LexA) and KCγ neurons (labelled by R72B08-Gal4) separately expressed the complementary halves of GFP, intense labelling was observed near the calyx region (Fig. 5h f–h), indicating that KCα/β surface neurons form synaptic connections with KCγ neurons. Similarly, another set of t-GRASP experiments on KCα/β surface neurons (labelled by NP3061-Gal4) and KCγ neurons (labelled by R92F10-LexA) produced similar distribution patterns of synaptic sites (Supplementary Fig. 18C).

The calyx is subdivided into the main and accessory calyces, which receive different inputs. It has previously been shown that olfactory inputs project to the main calyx while visual stimuli project to the accessory calyx43,44. In accordance with these previous studies, our t-GRASP experiments here indicate that the social cues of distinct sensory modalities are represented by different KC subsets in the subdomains of the calyx. Synaptic sites between the KCγ neurons and F5 neurons were detected in the accessory calyx (Fig. 5h b–d and Fig. S17B f–h), while the synaptic sites between the KCγ neurons and KCα/β surface neurons were detected in the main calyx (Fig. 5h f–h and Fig. S18C g–i). Overall, the data suggested the presence of a microcircuit in the central brain that promotes social attraction (Fig. 5i).

Social motivation depends on serotonin

Previous studies indicated that serotonergic neurons affect social interaction in human45 and rodents11. Furthermore, infection by P. locustae in locusts suppresses the generation of aggregation pheromones. This, in turn, reduces the production of the neurotransmitter serotonin that initiates gregarious behaviour46. In Drosophila, the serotonergic system is involved in both aggression47 and courtship48. Thus, we investigated whether the serotonergic system has a positive effect on sociality in general. As shown in Fig. 6a, TNT-induced silencing of serotonergic neurons (labelled by TPH-Gal4) resulted in decreased social approach behaviour. As dorsal paired medial (DPM) neurons have been suggested as a source of serotonin to the peduncles and lobes49 (Supplementary Fig. 19A and B), we tested the role of DPM neurons in social motivation. Social approach behaviour was dramatically decreased when silencing DPM neurons with TNT (Supplementary Fig. 19C). Next, we restricted the number of TNT-inactivated neurons using different Gal80 strains (Fig. 6a). The expression patterns shown in Fig. 6b–d suggested that the remaining serotonergic neurons in central brain regions were responsible for normal social approach behaviour.

Fig. 6: The serotonin system is required for social approach.

a Inactivation of all serotoninergic neurons by expression TNT in TPH-Gal4 labelled neurons (green) resulted in decreased levels of social approach behaviour. This phenotype was rescued by the pan-neural expression of Gal80 (elav-Gal80, blue), but not by the Gal80 expressed specifically in VNC (tsh-Gal80, red). b Expression patterns of TPH-Gal4 in the brain and VNC. c, d Expression patterns of TPH-Gal4 in the brain and VNC when combined with tsh-Gal80 (c) and elav-Gal80 (d). e Expression patterns of 5-HT1B-Gal4 in the brain and VNC. f Identifying serotonin receptors for social motivation. Knockdown with 5-HT1B RNAi (blue) resulted in reduced social approach performance, but not with RNAi of other receptors: 5HT1A (red), 5HT2A (green), 5HT2B (pink) and 5HT7 (yellow). g Restoring the expression of 5-HT1B rescued the social approach defects from the 5-HT1B knockdown. h Upper: the expression patterns of the 5-HT1B receptor by 5-HT1B-Gal4 in different brain regions: mushroom body (MB) region (h-a), ellipsoid body (EB) region (h-b), and whole-brain (h-c). Lower: the restricted expression patterns of 5-HT1B-Gal4 in the presence of MB-Gal80 in different brain regions: MB (h-d), EB (h-e), and the whole brain (h-f). i Comparison of the social approach behaviours in 5-HT1B knockdown flies with (blue or green) and without (grey) the presence of MB-Gal80, which blocked the expression of 5-HT1B RNAi in MB. Results are presented as a box and whisker plot; the whiskers indicate the minimum and maximum, the box includes 25th–75th percentile, and the line in the box indicates the median of the data set. Scale bar = 50 μm. Statistical analysis: unpaired t-test (a, f, i) and one-way ANOVA followed by Dunnett’s test (g). ns: P > 0.05, **P < 0.01, ***P < 0.001.

We next investigated which of the five serotonin receptors (5-HT1A, 5-HT1B, 5-HT2A, 5-HT2B, and 5-HT7) are involved in social affiliation. Interestingly, although serotonergic neurons are distributed broadly throughout the brain, the expression of 5-HT1B is mainly limited to within MB and EB in braion (Fig. 6e). Using a pan-neural driver (elav-Gal4) to express RNAi in the brain, we found that reducing the expression levels of the 5-HT1B receptor, but not of the other 5HT receptors, yielded flies that exhibited low motivation for social approach (Fig. 6f).

We then investigated whether 5-HT1B receptors are required in KCγ neurons for social drive. 5-HT1B-Gal4 mainly drove expression in KCγ neurons of the MB and neurons in the EB (Fig. 6e, h a–c). When we introduced MB-specific Gal80 (MB-Gal80) into the flies, specifically eliminating Gal4-driven expression in the MBs (Fig. 6h d–f). Although expressing the 5-HT1B RNAi broadly (by elav-Gal4) or specifically (by 5-HT1B-Gal4) decreased social approach behaviour (Fig. 6f, g), we found that only preventing 5-HT1B RNAi expression in KCγ neurons restored social approach behaviour (Fig. 6i), indicating that normal social approach requires 5-HT1B receptors in the MB. Moreover, restoring the expression level of 5-HT1B completely rescued the deficit phenotype (Fig. 6g).

Taken together, our data strongly suggested that serotonin plays a key role in promoting sociality, namely through the 5-HT1B receptor in KCγ neurons. Similarities at the behavioural and molecular levels between Drosophila and mammals raise the question of whether the motivation for social affiliation is a well-conserved feature.


The present findings suggest that social attraction is ubiquitous and robust in Drosophilids. The results revealed that the γ lobe of the MB functions as an integration centre for social cues. KCγ neurons are influenced by social experience and promote social attraction. At the molecular level, the current results provide strong evidence that serotonin is critical for social affinity in Drosophila45.

Sociality is one of the most intriguing and complex behavioural traits of animals, ranging from insects to humans. Sociality in social ants and bees has been characterized as eusociality50. Compared with social insects, fruit flies lack advanced forms of sociality, operating at the pre-social level51. The tendency of individuals to associate in groups is a crucial feature of sociality and a prerequisite for the development of advanced social interactions. Importantly, the group-forming tendency is the driving force behind sociality, and manifests through measurable behaviours.

Our paradigm focused on quantifying the internal drive of flies to actively seek social affiliation, instead of analysing the subsequent elaborated (if any) social interactions. The assay helped us to focus on the neural circuitry underlying this type of desire. The persistence of such behaviour over 4 h suggested that the observed behaviour was more than social investigation or social attraction. The social cues were both visual and olfactory, similar to the mechanism found in ants and honeybees52,53. Removing the ability to sense cVA decreased but did not abolish the behavioural response, indicating redundancy in olfaction for social cues. Notably, this general sociality is distinct from courtship and aggressive behaviour. In the current study, the results demonstrated that social attraction was not sex-specific, whereas courtship and aggression are typically initiated by males and involve a pair instead of a group. Furthermore, these behaviours involve different types of actions and use different neural circuits14,15,16,17,18,19.

Groups of free-walking flies typically aggregate21,54, and, through a highly dynamic process, may self-assemble into a cluster with regular spacing22. The current investigation helped to elucidate the attractive forces (olfaction, vision, and physiological and neural states) that brings individual flies together. Although the precise aetiological function of sociality in Drosophila is not immediately apparent, active social gathering may increase the likelihood of finding food and mating, as well as the spreading of information24.

We identified the MB as the integration centre for social approach behaviour. The MB is a prominent structure in the central brain of insects and is thought to play a similar functional role as the hippocampus in mammals55. Social cues are transmitted to the MB through F5 neurons (visual pathway) and KCα/β neurons (olfactory pathway), both of which function as upstream neurons of KCγ neurons. Furthermore, activity of KCγ neurons, which receive visual input43, is required for social attraction. The basal activity of KCγ neurons is modulated by social experience, and forcibly manipulating their activity changes the motivation for social affiliation. The MB has been extensively studied for its role in learning and memory56,57, decision-making58, and, more recently, in circadian rhythm and sleep59,60. Interestingly, recent studies have shown that KCγ neurons are involved in reward-related learning and memory61. The current results suggest a new function for MB in the expression of sociality.

Sociality in mammals has been studied extensively, particularly in humans. However, the neural circuits underlying the fundamental social instinct remain elusive. Importantly, previous studies of memory formation, including the case of patient HM62, demonstrated that an intact hippocampus is required for social memory in both mice and humans. Taken together with these earlier findings, the current results suggest that a potentially similar mechanism for sociality exists across the animal kingdom. Moreover, serotonin is known to be involved in regulating sociability in mammals45. In accordance with earlier studies, our results demonstrated that, in Drosophila, serotonin and its receptors are also required for sociability.

The interesting parallels of sociality at the behavioural, anatomical, and molecular levels between fruit flies and mammals suggest that Drosophila provides a promising animal model for studying the neural basis of sociality, as well as potentially facilitating our understanding of sociability impairments in humans at a level that is currently too challenging with other animal models.


Fly stocks

Fly stocks were maintained at 25 °C and 60% humidity under a 12:12 h light/dark cycle. Canton-S flies63 were used as a wild-type control in our experiments. Details of fly stocks are listed in the key resources table (Supplementary Table 3).

Social approach analysis

Drosophila were collected within 1 day of birth and maintained in regular food vials. We used 4- to 5-day-old flies for all behavioural experiments except for social isolation experiments (see below). The behavioural experiment was performed using a transparent 60-mm Petri dish filled with 1% agar to 5 mm below the lid. Ten same-sex flies acting as attractor flies were fixed at predefined positions on top of the agar in one half of the dish using glue. Five female flies acting as free-walking flies were then transferred into the dish. After 30-min of habituation, the movement of the flies in the dish was recorded for 4 h using a modified webcam at 15 s per frame. Social approach behaviour was defined as the proportion of times the free-walking flies entered the side containing the immobilized flies. For each frame, the performance index (PI) was calculated as follows: PI = (number of subject flies appearing on the side with tethered flies − number of subject flies appearing on the side without tethered flies) ∕ total number of subject flies. The overall PI was the averaged PI value for the designated period. Social entrance index = (number of subject flies entering the side with tethered flies − number of subject flies entering the side without tethered flies) ∕ total number of subject flies. Residence time = duration time of flies staying on the side with tethered flies.

Denatonium conditioning

The behavioural experiment was performed using two separated 35-mm Petri dishes (a training dish or a plain dish vs an empty dish, see below) in a transparent container (a 90-mm Petri dish with its bottom covered with 1% agar). A 35-mm Petri dish filled with 1% agar was designated as an empty dish. A plain dish was an empty dish with ten flies tethered on the agar surface. A training dish was a 35-mm Petri dishes filled with 6 mM denatonium diluted in 1% agar and had 10 flies tethered on the agar surface, serving for conditional training with denatonium. Before training, five free-moving flies were transferred to a container with one plain dish and one empty dish for 4 h to quantify their preference before training. Subsequently, the five flies were transferred to a second container with one training dish and one empty dish for 8 h to obtain their preference during the training phase. After training, the flies were immediately transferred to a third container with one plain dish and one empty dish for 4 h to evaluate their preference. The distributions the free-moving flies on the two 35-mm dishes were used to calculate the preference at each time point: PI = (number of free-moving flies on the dish with tethered flies − number of free-moving flies on the empty dish) ∕ total number of free-moving flies on both dishes. The overall PI for each phase of conditioning was the averaged PI of the corresponding period.

Male–male courtship conditioning

fruM null males (fruLexA/fru4–40)30 were collected at eclosion, housed individually for 4 days, then put together in groups of seven fruM null males with one w1118 male for 4 days. The social approach behaviour of w1118 males was assayed, as described in the Social approach analysis section above.

3D image registration

Fly brains were dissected and stained, and fluorescent images were collected with a confocal microscope in dual channel mode. One channel recorded the nc82 signal as counter-staining, while the second channel recorded the GFP signal. Each channel generated an XYZ image stack of the whole fly brain. The imaging data were then processed in Fiji64 using 3D Viewer plugin65. The registration procedure was similar to previously described methods with minor modification65. First, both the stack of the female template brain66 and the stack of nc82 channel were loaded into the 3D Viewer. Eight homonymous landmarks (two in each side of the PB, two at the conjunctions between the optic lobes and the central complex, two in each side of the suboesophageal ganglion and two at the tips of the alpha lobes of the MBs) were manually positioned on each of the two stacks. The rigid transformation matrix was then generated and applied to the stack of the GFP channel. Similarly, a second brain, in which GFP labelled a different brain region, was also registered onto the same template brain. Finally, the registered GFP stacks and template brain were merged together to demonstrate a 3D spatial relationship between brain regions.

Quantification of calyx fluorescent signal

Fluorescent images were collected as indicated above, using identical parameters. Each data set contained an XYZ stack of GFP signals covering both sides of the calyx regions of MBs. The raw data were then processed using custom-made scripts in MATLAB. First, the raw data were loaded using the Bio-Formats library67. A 3D ROI covering only the unilateral calyx region was then manually selected in different XY planes along the Z axis. Subsequently, the fluorescence intensities of the voxels within the 3D ROI were averaged to represent the quantified fluorescent intensity of the whole unilateral calyx. As a result, each fly brain produced two independent calyx fluorescent intensities.

Phototactic optogenetic stimulation

Flies were reared at 18 °C and 60% humidity under darkness. A group of 40 flies were collected within 1 day after eclosion and transferred into a vial with regular food containing 200 mM all-trans retinal (Sigma R2500). The vials were wrapped in aluminium foil for protection from light, then kept at 25 °C and 60% humidity for 4 days. After transferral to the test dish, flies were allowed to recover for 5 min, and then stimulated with light. An array of white LEDs was used as the source of stimulation. Light stimulation was presented continually throughout the observation period. The light intensity was 28 mW/cm2, measured using a spectrometer (CCS200/M, Thorlabs).

Phototactic assay

Phototactic choice behaviour was analyzed in a T maze68. Flies in groups of 40–50 were adapted in the dark for 1 min, then given 2 min to run toward the light before being trapped and counted. Phototaxis index = (number of flies in the tube close to the light − number of flies in the dark tube) ∕total number of flies.

Odour preference assay

The olfaction test was conducted in a T-maze69. Flies were starved in a tube, supplied with only water for 18–20 h before behavioral tests. Flies were first dark-adapted for 2 min in groups of 40–50, then given 10 min to choose between tubes containing apple cider vinegar (ACV) or water. Preference index = (number of flies in the tube containing ACV − number of flies in the control tube) ∕ total number of flies.

Movement ability assay

The behavioural experiment was performed using a transparent 60-mm Petri dish filled with 1% agar to 5 mm below the lid. One female fly was transferred into the dish. After 30 min of habituation, the movement of the flies in the dish was recorded for 4 h using a modified webcam at 1 s per frame. The velocity of the fly was calculated from the video using a MATLAB script.

Social isolation treatment

Third instar feeding larvae were housed in culture tubes either individually (singly reared) or with 20 siblings (group-reared). After eclosion, adult flies were transferred to fresh glass tubes and kept for 7 days before the start of the experiments.


Surgery was performed to remove the primary olfactory organ (the third antennal segment) or sound detection organ (the arista on the third antennal segment) in Drosophila. Flies were anesthetized, and their corresponding peripheral organs were removed with a set of fine forceps. Flies were allowed to recover for 2 days before testing.

Temperature-shift experiments

Flies containing tubulin-Gal80ts, UAS-TNT-E, and tissue-specific Gal4 transgenes were cultured at 18 °C. For the temperature-shift experiments, 1-day-old flies were transferred to and kept at 29 °C for 2 days. Before behavioural tests, flies were allowed to recover for 2 h at 25 °C to eliminate the interference of temperature stress on behaviour.


Fly brains were dissected in phosphate-buffered saline PBS, then fixed in 4% paraformaldehyde for 3 h on ice. Following four rinses in PBS containing 0.5% Triton X-100 (PBST), brains were blocked with 10% normal goat serum in PBST for 30 min at room temperature. Brains were then incubated with mouse anti-nc82 (1:100, DSHB) primary antibodies overnight at 4 °C. After washing four times, the brains were incubated with goat anti-mouse IgG conjugated with TRITC (1:200, ZSGB-BIO) secondary antibodies overnight at 4 °C. Subsequently, the brains were mounted in Vectashield solution (Vector Labs Inc.). Fluorescent images were acquired using a Leica confocal microscope system63.

Statistics and reproducibility

Statistical analyses were conducted using Prism 6 (GraphPad Software, Inc). Statistical analysis was conducted on data from five or more biologically independent experimental replicates. Analyzed numbers (n) from biologically independent samples are shown below each graph. Results are presented as a box and whisker plot from multiple independent experiments. Differences between groups were analysed by Student’s t-test (two-sided) or one-way ANOVA with Dunnett’s test for post hoc analysis. P > 0.05 was considered non sigificant. *P < 0.05, **P < 0.01, and ***P < 0.001 were considered significant.

Reporting summary

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

Data availability

The source data underlying Figs. 1c–e, 2a–e, 3b–h, 3j, 4b–d, 5b, 5d, 5g, 6a, 6f, 6g, 6i and Supplementary Figs. S1B–E, S1G–H, S2B–D, S3, S4B–C, S5, S6, S7, S8, S11, S12, S13D, S14, S15B, S15D, and S19C are provided as a Source Data file with this paper. Additional raw data that support the findings of this study are available upon request. Source data are provided with this paper.

Code availability

MATLAB scripts used for analyses are available upon request.

Change history

  • 06 November 2020

    An amendment to this paper has been published and can be accessed via a link at the top of the paper.


  1. 1.

    Hari, R. & Kujala, M. V. Brain basis of human social interaction: from concepts to brain imaging. Physiol. Rev. 89, 453–479 (2009).

    Google Scholar 

  2. 2.

    Kashdan, T. B. & Farmer, A. S. Differentiating emotions across contexts: comparing adults with and without social anxiety disorder using random, social interaction, and daily experience sampling. Emotion 14, 629–638 (2014).

    PubMed  PubMed Central  Google Scholar 

  3. 3.

    Nezlek, J. B., Hampton, C. P. & Shean, G. D. Clinical depression and day-to-day social interaction in a community sample. J. Abnorm. Psychol. 109, 11–19 (2000).

    CAS  Google Scholar 

  4. 4.

    Vranceanu, A. M., Gallo, L. C. & Bogart, L. M. Depressive symptoms and momentary affect: the role of social interaction variables. Depress Anxiety 26, 464–470 (2009).

    Google Scholar 

  5. 5.

    Thompson, R. R. & Walton, J. C. Peptide effects on social behavior: effects of vasotocin and isotocin on social approach behavior in male goldfish (Carassius auratus). Behav. Neurosci. 118, 620–626 (2004).

    CAS  Google Scholar 

  6. 6.

    Page, D. T., Kuti, O. J. & Sur, M. Computerized assessment of social approach behavior in mouse. Front. Behav. Neurosci. 3, 48 (2009).

    PubMed  PubMed Central  Google Scholar 

  7. 7.

    Wohr, M. & Schwarting, R. K. Testing social acoustic memory in rats: effects of stimulus configuration and long-term memory on the induction of social approach behavior by appetitive 50-kHz ultrasonic vocalizations. Neurobiol. Learn. Mem. 98, 154–164 (2012).

    Google Scholar 

  8. 8.

    Cutler, M. G. An ethological study of the effects of buspirone and the 5-HT3 receptor antagonist, BRL 43694 (granisetron) on behaviour during social interactions in female and male mice. Neuropharmacology 30, 299–306 (1991).

    CAS  Google Scholar 

  9. 9.

    Nadler, J. J. et al. Automated apparatus for quantitation of social approach behaviors in mice. Genes Brain Behav. 3, 303–314 (2004).

    CAS  Google Scholar 

  10. 10.

    Peca, J. et al. Shank3 mutant mice display autistic-like behaviours and striatal dysfunction. Nature 472, 437–442 (2011).

    ADS  CAS  PubMed  PubMed Central  Google Scholar 

  11. 11.

    Bruchas, M. R. et al. Selective p38alpha MAPK deletion in serotonergic neurons produces stress resilience in models of depression and addiction. Neuron 71, 498–511 (2011).

    CAS  PubMed  PubMed Central  Google Scholar 

  12. 12.

    Moy, S. S. et al. Deficient NRG1-ERBB signaling alters social approach: relevance to genetic mouse models of schizophrenia. J. Neurodev. Disord. 1, 302–312 (2009).

    PubMed  PubMed Central  Google Scholar 

  13. 13.

    Nicolas, L. B. & Prinssen, E. P. Social approach-avoidance behavior of a high-anxiety strain of rats: effects of benzodiazepine receptor ligands. Psychopharmacology 184, 65–74 (2006).

    CAS  Google Scholar 

  14. 14.

    Alekseyenko, O. V., Chan, Y. B., Li, R. & Kravitz, E. A. Single dopaminergic neurons that modulate aggression in Drosophila. Proc. Natl Acad. Sci. USA 110, 6151–6156 (2013).

    ADS  CAS  Google Scholar 

  15. 15.

    Dierick, H. A. A method for quantifying aggression in male Drosophila melanogaster. Nat. Protoc. 2, 2712–2718 (2007).

    CAS  Google Scholar 

  16. 16.

    Billeter, J. C., Rideout, E. J., Dornan, A. J. & Goodwin, S. F. Control of male sexual behavior in Drosophila by the sex determination pathway. Curr. Biol. 16, R766–R776 (2006).

    CAS  Google Scholar 

  17. 17.

    Thistle, R., Cameron, P., Ghorayshi, A., Dennison, L. & Scott, K. Contact chemoreceptors mediate male-male repulsion and male-female attraction during Drosophila courtship. Cell 149, 1140–1151 (2012).

    CAS  PubMed  PubMed Central  Google Scholar 

  18. 18.

    Tayler, T. D., Pacheco, D. A., Hergarden, A. C., Murthy, M. & Anderson, D. J. A neuropeptide circuit that coordinates sperm transfer and copulation duration in Drosophila. Proc. Natl Acad. Sci. USA 109, 20697–20702 (2012).

    ADS  CAS  Google Scholar 

  19. 19.

    Xue, L. & Noll, M. Drosophila female sexual behavior induced by sterile males showing copulation complementation. Proc. Natl Acad. Sci. USA 97, 3272–3275 (2000).

    ADS  CAS  Google Scholar 

  20. 20.

    Schneider, J., Dickinson, M. H. & Levine, J. D. Social structures depend on innate determinants and chemosensory processing in Drosophila. Proc. Natl Acad. Sci. USA 109, 17174–17179 (2012). Suppl 2.

    CAS  Google Scholar 

  21. 21.

    Simon, A. F. et al. A simple assay to study social behavior in Drosophila: measurement of social space within a group. Genes. Brain. Behav. 11, 243–252 (2012).

    CAS  Google Scholar 

  22. 22.

    Jiang, L. et al. Emergence of social cluster by collective pairwise encounters in Drosophila. Elife 9, e51921 (2020).

  23. 23.

    Kacsoh, B. Z., Bozler, J., Ramaswami, M. & Bosco, G. Social communication of predator-induced changes in Drosophila behavior and germ line physiology. Elife 4, e07423 (2015).

  24. 24.

    Guo, A. et al. In Learning and Memory: A Comprehensive Reference (Second Edition) (eds John, H. & Byrne, J. H.) 483–503 (Academic, 2017).

  25. 25.

    Besson, M. & Martin, J. R. Centrophobism/thigmotaxis, a new role for the mushroom bodies in Drosophila. J. Neurobiol. 62, 386–396 (2005).

    Google Scholar 

  26. 26.

    Soibam, B. et al. Open-field arena boundary is a primary object of exploration for Drosophila. Brain Behav. 2, 97–108 (2012).

    PubMed  PubMed Central  Google Scholar 

  27. 27.

    Mohammad, F. et al. Ancient anxiety pathways influence Drosophila defense behaviors. Curr. Biol. 26, 981–986 (2016).

    CAS  PubMed  PubMed Central  Google Scholar 

  28. 28.

    Donlea, J. M. & Shaw, P. J. Sleeping together using social interactions to understand the role of sleep in plasticity. Adv. Genet. 68, 57–81 (2009).

    CAS  Google Scholar 

  29. 29.

    Ruan, H. & Wu, C. F. Social interaction-mediated lifespan extension of Drosophila Cu/Zn superoxide dismutase mutants. Proc. Natl Acad. Sci. USA 105, 7506–7510 (2008).

    ADS  CAS  Google Scholar 

  30. 30.

    Pan, Y. F. & Baker, B. S. Genetic identification and separation of innate and experience-dependent courtship behaviors in Drosophila. Cell 156, 236–248 (2014).

    CAS  PubMed  PubMed Central  Google Scholar 

  31. 31.

    Larsson, M. C. et al. Or83b encodes a broadly expressed odorant receptor essential for Drosophila olfaction. Neuron 43, 703–714 (2004).

    CAS  Google Scholar 

  32. 32.

    de Bruyne, M., Foster, K. & Carlson, J. R. Odor coding in the Drosophila antenna. Neuron 30, 537–552 (2001).

    Google Scholar 

  33. 33.

    Gong, Z. et al. Two interdependent TRPV channel subunits, inactive and Nanchung, mediate hearing in Drosophila. J. Neurosci. 24, 9059–9066 (2004).

    CAS  PubMed  PubMed Central  Google Scholar 

  34. 34.

    Joseph, R. M., Devineni, A. V., King, I. F. & Heberlein, U. Oviposition preference for and positional avoidance of acetic acid provide a model for competing behavioral drives in Drosophila. Proc. Natl Acad. Sci. USA 106, 11352–11357 (2009).

    ADS  CAS  Google Scholar 

  35. 35.

    Bartelt, R. J., Schaner, A. M. & Jackson, L. L. cis-Vaccenyl acetate as an aggregation pheromone in Drosophila-Melanogaster. J. Chem. Ecol. 11, 1747–1756 (1985).

    CAS  Google Scholar 

  36. 36.

    Liu, W. W. et al. Social regulation of aggression by pheromonal activation of Or65a olfactory neurons in Drosophila. Nat. Neurosci. 14, 896–902 (2011).

    CAS  Google Scholar 

  37. 37.

    Mercier, D., Tsuchimoto, Y., Ohta, K. & Kazama, H. Olfactory landmark-based communication in interacting Drosophila. Curr. Biol. 28, 2624–2631 (2018).

    CAS  Google Scholar 

  38. 38.

    Sweeney, S. T., Broadie, K., Keane, J., Niemann, H. & O’Kane, C. J. Targeted expression of tetanus toxin light chain in Drosophila specifically eliminates synaptic transmission and causes behavioral defects. Neuron 14, 341–351 (1995).

    CAS  Google Scholar 

  39. 39.

    Aso, Y. et al. Mushroom body output neurons encode valence and guide memory-based action selection in Drosophila. Elife 3, e04580 (2014).

  40. 40.

    Masuyama, K., Zhang, Y., Rao, Y. & Wang, J. W. Mapping neural circuits with activity-dependent nuclear import of a transcription factor. J. Neurogenet. 26, 89–102 (2012).

    CAS  PubMed  PubMed Central  Google Scholar 

  41. 41.

    Shearin, H. K., Quinn, C. D., Mackin, R. D., Macdonald, I. S. & Stowers, R. S. t-GRASP, a targeted GRASP for assessing neuronal connectivity. J. Neurosci. Methods 306, 94–102 (2018).

    CAS  PubMed  PubMed Central  Google Scholar 

  42. 42.

    Talay, M. et al. Transsynaptic mapping of second-order taste neurons in flies by trans-Tango. Neuron 96, 783–795 (2017).

    CAS  PubMed  PubMed Central  Google Scholar 

  43. 43.

    Vogt, K. et al. Direct neural pathways convey distinct visual information to Drosophila mushroom bodies. Elife 5, e14009 (2016).

  44. 44.

    Yagi, R., Mabuchi, Y., Mizunami, M. & Tanaka, N. K. Convergence of multimodal sensory pathways to the mushroom body calyx in Drosophila melanogaster. Sci. Rep. 6, 29481 (2016).

    ADS  PubMed  PubMed Central  Google Scholar 

  45. 45.

    Zill, P. et al. SNP and haplotype analysis of a novel tryptophan hydroxylase isoform (TPH2) gene provide evidence for association with major depression. Mol. Psychiatry 9, 1030–1036 (2004).

    CAS  Google Scholar 

  46. 46.

    Shi, W. P. et al. Unveiling the mechanism by which microsporidian parasites prevent locust swarm behavior. Proc. Natl Acad. Sci. USA 111, 1343–1348 (2014).

    ADS  CAS  Google Scholar 

  47. 47.

    Johnson, O., Becnel, J. & Nichols, C. D. Serotonin 5-HT(2) and 5-HT(1A)-like receptors differentially modulate aggressive behaviors in Drosophila melanogaster. Neuroscience 158, 1292–1300 (2009).

    CAS  Google Scholar 

  48. 48.

    Chang, H. Y. et al. Overexpression of the Drosophila vesicular monoamine transporter increases motor activity and courtship but decreases the behavioral response to cocaine. Mol. Psychiatry 11, 99–113 (2006).

    CAS  Google Scholar 

  49. 49.

    Lee, P. T. et al. Serotonin-mushroom body circuit modulating the formation of anesthesia-resistant memory in Drosophila. Proc. Natl Acad. Sci. USA 108, 13794–13799 (2011).

    ADS  CAS  Google Scholar 

  50. 50.

    Nowak, M. A., Tarnita, C. E. & Wilson, E. O. The evolution of eusociality. Nature 466, 1057–1062 (2010).

    ADS  CAS  PubMed  PubMed Central  Google Scholar 

  51. 51.

    Gadagkar, R. What are social insects? Indian Chapter Newsletter 1, 20 (1987).

  52. 52.

    Leal, W. S. & Ishida, Y. GP-9s are ubiquitous proteins unlikely involved in olfactory mediation of social organization in the red imported fire ant, Solenopsis invicta. PLoS ONE 3, e3762 (2008).

  53. 53.

    Tautz, J., Casas, J. & Sandeman, D. Phase reversal of vibratory signals in honeycomb may assist dancing honeybees to attract their audience. J. Exp. Biol. 204, 3737–3746 (2001).

    CAS  Google Scholar 

  54. 54.

    Burg, E. D., Langan, S. T. & Nash, H. A. Drosophila social clustering is disrupted by anesthetics and in narrow abdomen ion channel mutants. Genes Brain Behav. 12, 338–347 (2013).

    CAS  PubMed  PubMed Central  Google Scholar 

  55. 55.

    Campbell, R. A. & Turner, G. C. The mushroom body. Curr. Biol. 20, R11–R12 (2010).

    CAS  Google Scholar 

  56. 56.

    Pascual, A. & Preat, T. Localization of long-term memory within the Drosophila mushroom body. Science 294, 1115–1117 (2001).

    ADS  CAS  Google Scholar 

  57. 57.

    Zars, T., Fischer, M., Schulz, R. & Heisenberg, M. Localization of a short-term memory in Drosophila. Science 288, 672–675 (2000).

    ADS  CAS  Google Scholar 

  58. 58.

    Zhang, K., Guo, J. Z., Peng, Y., Xi, W. & Guo, A. Dopamine-mushroom body circuit regulates saliency-based decision-making in Drosophila. Science 316, 1901–1904 (2007).

    ADS  CAS  Google Scholar 

  59. 59.

    Guo, F., Yi, W., Zhou, M. & Guo, A. Go signaling in mushroom bodies regulates sleep in Drosophila. Sleep 34, 273–281 (2011).

    PubMed  PubMed Central  Google Scholar 

  60. 60.

    Helfrich-Forster, C., Wulf, J. & de Belle, J. S. Mushroom body influence on locomotor activity and circadian rhythms in Drosophila melanogaster. J. Neurogenet. 16, 73–109 (2002).

    Google Scholar 

  61. 61.

    Zars, T. Behavioral functions of the insect mushroom bodies. Curr. Opin. Neurobiol. 10, 790–795 (2000).

    CAS  Google Scholar 

  62. 62.

    Hitti, F. L. & Siegelbaum, S. A. The hippocampal CA2 region is essential for social memory. Nature 508, 88–92 (2014).

    ADS  CAS  PubMed  PubMed Central  Google Scholar 

  63. 63.

    Zhan, Y. P., Liu, L. & Zhu, Y. Taotie neurons regulate appetite in Drosophila. Nat. Commun. 7, 13633 (2016).

    ADS  CAS  PubMed  PubMed Central  Google Scholar 

  64. 64.

    Schindelin, J. et al. Fiji: an open-source platform for biological-image analysis. Nat. Methods 9, 676–682 (2012).

    CAS  Google Scholar 

  65. 65.

    Schmid, B., Schindelin, J., Cardona, A., Longair, M. & Heisenberg, M. A high-level 3D visualization API for Java and ImageJ. BMC Bioinforma. 11, 274 (2010).

    Google Scholar 

  66. 66.

    Chiang, A. S. et al. Three-dimensional reconstruction of brain-wide wiring networks in Drosophila at single-cell resolution. Curr. Biol. 21, 1–11 (2011).

    MathSciNet  CAS  Google Scholar 

  67. 67.

    Linkert, M. et al. Metadata matters: access to image data in the real world. J. Cell Biol. 189, 777–782 (2010).

    CAS  PubMed  PubMed Central  Google Scholar 

  68. 68.

    Ballinger, D. G. & Benzer, S. Photophobe (Ppb), a Drosophila mutant with a reversed sign of phototaxis; the mutation shows an allele-specific interaction with sevenless. Proc. Natl Acad. Sci. USA 85, 3960–3964 (1988).

    ADS  CAS  Google Scholar 

  69. 69.

    Stensmyr, M. C. et al. A conserved dedicated olfactory circuit for detecting harmful microbes in Drosophila. Cell 151, 1345–1357 (2012).

    CAS  Google Scholar 

Download references


We thank the members of the Zhu lab for the helpful discussions. We are grateful to Dr. Yi Rao (Peking University) for critically reading our manuscript. We thank Meiyan Huang for technical assistance. We thank Dr. Aike Guo and Dr. Yan Li (Chinese Academy of Sciences), Dr. Yi Rao and Dr. Yulong Li (Peking University), Dr. Yi Zhong (Tsinghua University), Dr. Hongtao Qin (Hunan University), Dr. Yoshi Aso (Janelia Farm Research Campus), and Dr. Joshua Dubnau (Cold Spring Harbor Laboratory), as well as the Drosophila Genetic Resource Centre (DGRC), the Bloomington Stock Center (BSC), Core Facility of Drosophila Resource and Technology, and Tsinghua Fly Center for providing fly strains. This work was supported by NSFC grants (9163210042 and 31771173), the Beijing Advanced Discipline Fund, Key Research Program of Frontier Sciences of Chinese Academy of Sciences (CAS, QYZDY-SSW-SMC015), CAS Interdisciplinary Innovation Team, the Bill and Melinda Gates Foundation (OPP1119434) to Y.Z., and the Strategic Priority Research Program of CAS (Grant XDB02040002) to L.L.

Author information




Y.S. and R.Q. conceived this project and designed all experiments., Y.S., R.Q., X.L. and F.K. performed most behavioural tests, Y.S., Q.R., Y.C. and S.G. analyzed the data, L.L. and Y.Z. supervised the project, Y.S. and Y.Z. wrote the paper.

Corresponding author

Correspondence to Yan Zhu.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Peer review information Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The original online version of this article was revised: Full information regarding the change(s) made can be found in the correction for this article.

Supplementary information

Source data

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Sun, Y., Qiu, R., Li, X. et al. Social attraction in Drosophila is regulated by the mushroom body and serotonergic system. Nat Commun 11, 5350 (2020).

Download citation


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing