Method Article

Multimodal Behavioral Phenotyping Of Stress-Induced Depression-like States In Drosophila melanogaster

DOI:

10.3791/71280

June 22nd, 2026

In This Article

Summary

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

This protocol provides a framework for assessing stress-induced behavioral changes in Drosophila melanogaster. Combining complementary assays enables the quantification of activity, exploration, and decision-making for individual flies. The approach is flexible and can be adapted to a wide range of studies investigating stress biology, metabolism, and neurobehavioral function.

Abstract

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Metabolic, neurodegenerative, and stress-related disorders are frequently accompanied by altered locomotion, impaired decision-making, and reduced behavioral flexibility. However, accessible multimodal behavioral frameworks for quantifying these phenotypes in Drosophila melanogaster remain limited. Here, a protocol integrating forced swim exposure, Y-maze turning behavior and handedness, phototaxis, and activity assessment in the FlyVac system, open-field exploration, and long-term locomotor monitoring using the Drosophila Activity Monitor is presented. These complementary assays capture multiple dimensions of behavior, including motor output, motivation, decision structure, and behavioral variability, as functional readouts of neural and metabolic states. The pipeline is scalable, reproducible, and adaptable to pharmacological, genetic, and environmental manipulations, providing a versatile framework for detecting stress-, metabolic-, and neurodegeneration-related behavioral phenotypes in Drosophila.

Introduction

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Behavioral alterations such as changes in locomotion, decision-making, and exploratory activity are widely used as organism-level indicators of neural and physiological state. Across taxa, neural dysfunction often manifests as altered movement structure, reduced exploratory motivation, impaired sensory-guided decision behavior, and changes in behavioral predictability. Because these organism-level outputs integrate neural, metabolic, and physiological state, they provide scalable readouts for detecting disease-relevant phenotypes. However, despite the extensive use of Drosophila melanogaster in molecular genetics and neuroscience, standardized multimodal behavioral frameworks that simultaneously capture locomotor performance, decision structure, and behavioral variability remain limited.

Model organisms are essential for studying mechanisms underlying stress-related and neuropsychiatric phenotypes because controlled experimental manipulation is often impossible in humans. Stress-related behavioral syndromes occur across many taxa, including insects, and involve conserved neuromodulatory systems, such as serotonin and dopamine, as well as metabolic signaling pathways. The fruit fly has therefore emerged as a powerful system for linking molecular dysfunction to organism-level behavioral outcomes due to its short generation time, genetic tractability, and conservation of disease-relevant pathways1,2.

At the same time, many behavioral assays in Drosophila are typically applied in isolation, making it difficult to distinguish between general sickness effects, motor impairment, motivational changes, and decision-level behavioral alterations. Moreover, mean behavioral measures alone may obscure biologically meaningful phenotypes, as neuromodulatory and developmental perturbations often alter behavioral variability rather than average behavioral output. A multimodal behavioral approach combining locomotor, exploratory, sensory, and decision-making assays is therefore necessary to generate robust organism-level phenotypic signatures3.

Here, a multimodal behavioral pipeline integrating forced swim exposure4,5, Y-maze turning behavior and handedness6,7,8,9, phototaxis and activity assessment using the FlyVac system10,11, open-field exploration12, and long-term locomotor monitoring using the Drosophila Activity Monitor5,13 is presented (Figure 1). Each assay in this framework captures a distinct behavioral dimension relevant to stress-related phenotypes. The forced swim test measures passive coping behavior, where an earlier transition to immobility reflects reduced motivation to sustain escape responses. The open-field and DAM assays quantify general locomotor activity and circadian structure, providing baseline measures of motor output and arousal. The Y-maze assay captures decision-making structure through sequences of left–right choices, allowing estimation of both turning bias (lateralization) and behavioral variability as a measure of predictability. Finally, the FlyVac assay evaluates sensory-guided decision-making and approach–avoidance behavior through repeated phototactic choices. Together, these assays provide complementary readouts that distinguish changes in activity, motivation, and decision-level behavior.

This protocol captures complementary aspects of motor output, motivation, decision structure, and behavioral variability, providing a scalable framework for detecting stress-, metabolic-, and neurodegeneration-related behavioral phenotypes in D. melanogaster14. The primary aim of this study is to establish a multimodal behavioral phenotyping framework that integrates complementary assays to capture multiple dimensions of stress-induced behavioral change. The stress paradigm is used here as a standardized perturbation to demonstrate the framework's sensitivity and applicability.

Access restricted. Please log in or start a trial to view this content.

Protocol

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The forced swim assay was conducted in accordance with the principles of the 3Rs (Replacement, Reduction, and Refinement). Replacement was achieved by using Drosophila melanogaster as an invertebrate model, thereby avoiding vertebrate forced swim paradigms that are increasingly restricted for ethical reasons. Reduction was supported by the assay's high-throughput nature, which enables robust behavioral inference from relatively small cohorts while minimizing animal use. Refinement was addressed by limiting swim exposure to 2 min, a duration that prevents exhaustion or drowning and allows full recovery of normal locomotor behavior immediately after testing. Together, these considerations ensure that the assay provides meaningful behavioral data while minimizing potential distress and maximizing ethical acceptability, including in educational settings.

1. Induction of a depression-like state in Drosophila (vibration stress protocol)

  1. Collect male D. melanogaster within 24 h of eclosion under light CO₂ anesthesia. All the details are mentioned in the Table of Materials.
  2. Place flies in groups of 10 into polypropylene or acrylic vials (95 mm length × 25 mm inner diameter) sealed with cotton plugs.
  3. Expose flies to mechanical vibration (300 Hz) using a vibration platform.
  4. Apply repeated cycles consisting of 45 min vibration followed by 15 min recovery in vials containing standard food.
  5. Continue vibration cycles for a total of 6 h per day.
  6. Repeat the stress protocol for 3 consecutive days.
  7. Maintain control flies under identical housing conditions without vibration exposure.
    NOTE: In the present protocol, only male flies were used to reduce variability associated with sex-specific physiological and behavioral differences, including reproductive state and hormonal influences. This standardization facilitates the detection of stress-induced behavioral effects in a controlled setting. However, the protocol is fully applicable to female flies, and sex-specific responses represent an important area for future investigation. Given that sensitivity to stress-related and depression-like phenotypes can vary with sex and age across taxa, including Drosophila, extending this framework to different demographic groups may provide additional biological insight. This paradigm is adapted from established uncontrollable vibration stress models that induce motivational and activity alterations in flies.

2. Forced swim test in Drosophila melanogaster

CAUTION: Sodium dodecyl sulfate (SDS) is an irritant. Wear appropriate personal protective equipment (e.g., gloves and eye protection) when preparing and handling SDS solutions. Avoid skin and eye contact. Dispose of SDS-containing waste in accordance with institutional chemical safety guidelines.

  1. Collect adult flies within 24 h of eclosion and maintain them under constant light and controlled environmental conditions.
  2. Prepare multi-well chamber slides and fill each well with ~2 mL of 0.08% SDS solution at room temperature.
  3. Transfer a single fly into each well immediately before recording. No anesthesia is required.
  4. Record behavior using an overhead camera for 2 min to quantify latency to first immobility.
  5. Quantify latency to first immobility.
  6. Remove flies after recording and place them on absorbent paper to confirm recovery of normal locomotion.
    NOTE: Immobility is defined as cessation of active escape movements while maintaining surface position. To record additional parameters such as total immobility duration and number of immobility bouts, longer recording durations (e.g., 3 min) are needed. This assay reflects passive coping behavior; reduced latency to immobility is interpreted as decreased motivation to sustain escape responses. Variability in latency to immobility / total immobility across flies. This assay may induce transient stress or fatigue. When used in longitudinal designs, perform it prior to other assays and allow sufficient recovery (e.g., ≥24 h) before subsequent testing.

3. Long-term locomotor activity monitoring using the Drosophila Activity Monitor (DAM)

  1. Anesthetize fruit flies briefly (5 s) using CO₂ for sorting.
  2. Place individual flies into glass DAM tubes containing food and cotton plugs17.
  3. Insert tubes into the Drosophila Activity Monitor system.
  4. Record locomotor activity continuously (48 h) under controlled temperature and light–dark conditions.
  5. Store beam-break counts using acquisition software.
  6. Bin activity data into defined time intervals (e.g., 1–10 min).
  7. Exclude flies that die or show no activity after acclimation.
    NOTE: Continuous locomotor monitoring over a 48-hour period is sufficient to capture circadian activity patterns. DAM: variability in total distance, velocity, and bout structure across individuals.

4. Open-field locomotor assay

  1. Briefly (5 s) anesthetize fruit flies using CO₂.
  2. Transfer individual flies into rectangular 25 x 75 mm arenas (one fly per arena).
  3. Allow flies to acclimate (20 min) to the arena environment prior to recording under constant, low-intensity diffuse white light.
  4. Record behavior under constant illumination using an automated video-tracking system.
  5. Analyze trajectories using tracking software to extract:
    Total distance moved
    Average locomotor speed
    Acceleration and turning metrics
    NOTE: This assay provides a baseline for interpreting stress-related behavioral changes. The acclimation period minimizes handling-induced stress and allows flies to habituate to the arena, ensuring that recorded locomotor activity reflects baseline behavior. Constant illumination was used to reduce variability associated with circadian fluctuations and to ensure consistent behavioral conditions across trials. Trajectories can be extracted using automated tracking software such as EthoVision XT (Noldus Information Technology), or open-source alternatives including Ctrax, idTracker, and TrackMate (ImageJ/Fiji), depending on availability and user preference. Open-field assay: variability in total distance, velocity, and bout structure across individuals. To reduce order effects, standardize acclimation and lighting conditions across sessions. When multiple assays are conducted on the same individuals, keep arena exposure durations consistent.

5. Y-maze turning behavior and behavioral variability assay

  1. Briefly anesthetize (5 s) fruit flies using CO₂.
  2. Place individual flies into Y-maze chambers8,9. Mazes were cut into 1.6 mm-thick black acrylic using a laser engraver. We placed flies in an array of 95 individual mazes, each consisting of three symmetrical arms (12 mm long and 3.3 mm wide).
  3. Allow flies to explore freely for extended recording periods (20 min).
  4. Record turning decisions (left or right) during exploratory locomotion (1 h).
  5. Compute individual turning bias as the proportion of right turns. Calculate relevant metrics such as velocity, acceleration, motion without movement, time-based variations in activity12,15.
  6. Quantify between-fly behavioral variability using the median absolute deviation (MAD) of turning bias.
    NOTE: This assay measures locomotor handedness and behavioral predictability independent of overall activity levels. Turning sequences capture decision structure; turning bias reflects lateralization, while variability across individuals reflects behavioral predictability. bias = proportion of right turns (per fly); variability = dispersion (MADn) of bias across flies. For repeated testing, consider counterbalancing assay order across individuals or cohorts to control for sequence effects.

6. Phototactic choices: activity monitoring in the FlyVac apparatus

  1. Load individual flies into FlyVac chambers6,11 without using CO2 anesthesia.
  2. Allow acclimation (10 min) before initiating trials.
  3. Present repeated binary light–dark choices to each fly.
  4. Record choices across 40 trials using automated detection.
  5. Calculate light-choice probability per fly and the average time between light-choices as a measure of activity.
  6. Quantify behavioral variability across individuals using MAD.
    NOTE: The FlyVac system enables simultaneous assessment of mean decision bias and inter-individual variability. The behavioral assays described in this protocol are modular and can be conducted in different sequences depending on the experimental design. However, to minimize potential carry-over effects, performing the forced swim test prior to other assays is recommended. To reduce order effects, standardize acclimation and lighting conditions across sessions.

7. Data analysis

NOTE: Behavioral analyses were performed using individual flies as the unit of inference unless otherwise stated.

  1. Forced swim test: Analyze the video recordings manually or using behavioral scoring software.
    NOTE: Immobility was defined as the absence of active escape movements while the fly remained afloat. The following parameters were extracted per fly: latency to first immobility (s). Group comparisons were conducted using non-parametric statistical tests due to the non-normal distribution of behavioral measures.
  2. Long-term locomotor activity (DAM): Record beam-break counts by the Drosophila Activity Monitor. Export and bin into 10 min intervals.
    NOTE: For each fly, total activity counts and circadian activity patterns were calculated. These patterns can be calculated in R, Python, or Excel—whichever is available. Flies exhibiting inactivity due to mortality or technical artifacts were excluded prior to analysis. The assay lasted 48 h.
  3. Open-field locomotor assay: Process the video-tracking data using automated tracking software. Import the video files into EthoVision XT. Perform tracking using automated detection with contrast-based thresholding.
    NOTE: Trajectories were smoothed using the default filtering algorithm. Per-fly locomotor parameters (distance, velocity, acceleration) were exported as CSV files for downstream analysis. Per-fly locomotor parameters included: total distance moved (mm), accelerations (mm/s2). Summary statistics were calculated at the individual level prior to group comparison. The duration of this test was 1 h for each group.
  4. Y-maze turning behavior: Extract the turning decisions from recorded trajectories, classify as left or right, and export as binary sequences (left/right) for each individual.
    NOTE: For each fly, the turning bias was calculated as the proportion of right turns across all recorded decisions. Between-fly behavioral variability was quantified using the scaled median absolute deviation (MADn = 1.4826 × MAD) of turning bias. The duration of this test was 1 h for each group.
  5. FlyVac phototactic choices: Record binary light–dark choices automatically. For each fly, calculate the light-choice probability (LCP) as the proportion of trials in which the light arm was selected. Express the phototactic bias as the mean of binary trial outcomes (light = +1, dark = −1).
    NOTE: Between-fly variability was quantified using MADn of individual phototaxis indices.
  6. Statistical analysis: Assess the group differences in behavioral measures using permutation-based tests with 10,000 label randomizations.
    NOTE: To compare variability, permutation tests were performed on the absolute differences in MADn between groups. Confidence intervals for MADn estimates were obtained using bootstrap resampling. A two-tailed unpaired t-test was used to compare the Distance moved by flies (mm) and Maximum acceleration (mm/s2). For data visualization, violin plots (primarily to show density, concentration, and skewness), box plots, and column charts were used. Statistical significance was evaluated at α = 0.05.

Access restricted. Please log in or start a trial to view this content.

Results

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Application of the vibration stress protocol produced measurable behavioral alterations across multiple assays (Figure 1) designed to capture activity, coping behavior, and decision-making in D. melanogaster.

Depression-like induction

Flies exposed to repeated mechanical vibration (Figure 1A) displayed reduced exploratory activity and altered behavioral responses compared to unstre...

Access restricted. Please log in or start a trial to view this content.

Discussion

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The present protocol demonstrates a multimodal approach for inducing and quantifying depression-like behavioral states in D. melanogaster. Using a vibration-based stress paradigm combined with complementary behavioral assays, this study shows that depression-like induction can be detected across measures of coping behavior, locomotor activity, exploratory dynamics, decision-making, and behavioral variability16. The stress regime employed in this study serves as a practical tool to elicit ...

Access restricted. Please log in or start a trial to view this content.

Disclosures

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors declare no conflicts of interest.

Acknowledgements

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

We thank the Fulbright US Student Program, the Latvian Fulbright Post, and the US Department of State. This project was supported by a grant (lzp-2024/1-0437) of the Latvian Council of Science.

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Anesthesia equipment: e.g., Benchtop Flowbuddy, Complete System w/ Ultimate FlypadGenesis Scientific, El Cajon, CA, USA59-122BCU
BioSan MSV-3500 multispeed vortexBiosan SIA, Riga, LatviaBS-010210-TAHWith all platforms
Cotton closures for narrow vials Flystuff by Genesee Scientific, El Cajon, CA 92020 USACatalog number: 51-101
Drosophila Activity Monitor (DAM2)TriKinetics Inc, Waltham, MA, USADAM2; RRID: not available 32 tubes
Drosophila melanogaster (Oregon-R-modENCODE)Drosophila melanogaster (Oregon-R-modENCODE)BDSC:25211; RRID:BDSC_25211
GraphPad PrismGraphPad Software, Boston, MA, USA;Catalog name: GraphPad Prism, RRID:SCR_002798Version 11.0.1
Logitech C920 HD Pro Webcam, HD 1080p lensCatalog name: HD Pro Webcam C920Logitech Europe S.A., Lausanne, SwitzerlandRRID: not availableThe overhead recording camera used for FST
Narrow Fly Vial, PolypropyleneFlystuff by Genesee Scientific, El Cajon, CA 92020 USACatalog number: 32-120BF
Noldus EthoVision XT Noldus Information Technology, Wageningen, The NetherlandsRRID: SCR_000441v. 15.0
Sodium dodecyl sulfate (SDS, ≥99%) Merck KGaA (Sigma-Aldrich), Darmstadt, GermanyCatalog name: Sodium dodecyl sulfate (ACS reagent, ≥99% purity); RRID: not available
ZEISS Stemi 508 Stereomicroscope Carl Zeiss AG, Oberkochen, Baden-Württemberg, Germany15634448

Reprints and Permissions

Request permission to reuse the text or figures of this JoVE article

Request Permission

Tags

Drosophila Behavioral PhenotypingForced Swim ExposureY Maze BehaviorPhototaxis AssayFlyVac SystemOpen Field ExplorationLocomotor MonitoringBehavioral FlexibilityDecision Making
Video Coming Soon

Related Articles