RESEARCH
Peer reviewed scientific video journal
Video encyclopedia of advanced research methods
Visualizing science through experiment videos
EDUCATION
Video textbooks for undergraduate courses
Visual demonstrations of key scientific experiments
BUSINESS
Video textbooks for business education
OTHERS
Interactive video based quizzes for formative assessments
Products
RESEARCH
JoVE Journal
Peer reviewed scientific video journal
JoVE Encyclopedia of Experiments
Video encyclopedia of advanced research methods
EDUCATION
JoVE Core
Video textbooks for undergraduates
JoVE Science Education
Visual demonstrations of key scientific experiments
JoVE Lab Manual
Videos of experiments for undergraduate lab courses
BUSINESS
JoVE Business
Video textbooks for business education
Solutions
Language
English
Menu
Menu
Menu
Menu
Research Article
Erratum Notice
Important: There has been an erratum issued for this article. View Erratum Notice
Retraction Notice
The article Assisted Selection of Biomarkers by Linear Discriminant Analysis Effect Size (LEfSe) in Microbiome Data (10.3791/61715) has been retracted by the journal upon the authors' request due to a conflict regarding the data and methodology. View Retraction Notice
A significant barrier to studying cellular activity during cognitive processes like learning and memory is the use of anesthetics for in vivo imaging preparation. Anesthesia impairs short-term memory and cognition in multiple models, including Drosophila. This study presents a unique method for preparing adult Drosophila for in vivo imaging without anesthesia.
In vivo imaging is crucial for studying neurobiology in Drosophila as it allows real-time visualization of neuronal activity, development, and plasticity within the intact, behaving fly. This technique provides invaluable insights into dynamic processes, such as synaptic function and circuit connectivity, which cannot be accurately captured in fixed or ex vivo preparations. Most techniques for fly preparation for in vivo imaging involve anesthetizing the flies shortly before functional imaging. Nevertheless, extensive evidence demonstrates that anesthesia impacts several cognitive and physiological processes. For this reason, in vivo imaging of adult Drosophila melanogaster without the use of anesthetics during animal preparation is a challenging yet highly desirable approach. The protocol presented here involves immobilizing the head of awake flies by suctioning the proboscis into a small metal tube connected to a vacuum system. While the head is fixed, the fly is prepared for functional imaging without the need for anesthesia. This protocol is rapid and reproducible, ensuring no harm to the fly. The main advantage of this method lies in its avoidance of anesthetic use, thereby accounting for the potential complex effects of anesthesia on neural activity. This method is both affordable and highly adaptable, utilizing inexpensive, customizable tools. It allows for the successful imaging of live flies, capturing fast changes in neural activity associated with dynamic cognitive processes.
Recent advancements in genetically encoded activity reporters have revolutionized neuroscience by providing real-time, highly specific insights into neuronal activity. These reporters, such as calcium or voltage sensors1,2,3,4,5,6,7,8,9, allow researchers to track the electrical and chemical signals within neurons with unprecedented temporal precision and spatial resolution. By enabling the monitoring of specific, single neurons to neural networks across different brain regions, these tools have deepened our understanding of how neuronal firing patterns relate to cognitive processes like learning, memory, or decision-making10,11,12,13,14.
To take advantage of these genetically encoded indicators, researchers developed advanced methods to prepare their model organism for in vivo imaging. The first report of neuronal plasticity by in vivo functional imaging, often referred to as a "memory trace", was discovered in the antennal lobe of the honeybees following appetitive olfactory conditioning15. This discovery inspired research in the genetically versatile model organism, Drosophila melanogaster, leading to the development of innovative in vivo imaging techniques10,16,17,18.
Drosophila serves as an excellent model for understanding learning and memory due to its robust ability to form olfactory memories via classical conditioning, where an odor (the conditioned stimulus-CS) becomes associated with either an aversive or rewarding stimulus (the unconditioned stimulus-US)19,20,21,22. In Drosophila, odors are sparsely represented in the mushroom body (MB)23, a critical brain region for associative memory that consists of approximately 2,000 Kenyon cell neurons (KCs) per hemisphere24. Olfactory information is transmitted from the calyx to the MB lobes via KC axons, which bundle together to form the lobes. During olfactory conditioning, the US, such as an electric shock or a sugar reward, is conveyed to the MB lobes through distinct dopaminergic neurons (DANs): PPL1 neurons for aversive stimuli and PAM neurons for rewarding stimuli25,26,27,28,29,30. Memory acquisition is thought to involve the simultaneous activation of CS and US pathways, resulting in a synergistic increase in cyclic AMP (cAMP), which encodes the memory31,32. This process induces plasticity at the KC→MBON synapses, modifying their synaptic weight11,12,13,33,34,35,36,37. DAN-mediated plasticity ultimately drives the mushroom body output neurons (MBONs) to elicit either an approach or avoidance behavior toward the learned odor34. The current model suggests that the information flow from KCs to the MBONs transforms the representation of odor from odor identity in KCs to more abstract information in the MBONs, such as the valence of an odor based on prior experience34,38. Unlike KCs, MBONs have broadly tuned odor responses; any given odor results in a response to most MBONs39. The odor tuning of the MBONs is modified by synaptic plasticity and varies significantly between individual flies, suggesting that MBONs change their response to odors based on experience. There are 34 MBONs, with the majority of the MBON network seemingly divided into two mutually antagonist classes that drive either approach of avoidance behavior34. For this reason, using in vivo imaging to study memory retrieval by recording in different MBONs has been widely used.
Early methods for in vivo functional imaging include conducting surgeries to remove a section of the cuticle from the top of the head capsule, which was then covered with a small piece of plastic wrap18. While this marked the beginning of in vivo imaging in Drosophila, there have since been significant advancements in fly preparation techniques and the delivery of stimuli under the microscope to investigate processes like learning and memory. However, even today, most techniques for fly preparation for in vivo imaging involve anesthetizing the flies. This practice presents challenges, as there is extensive evidence - and an entire field of research- demonstrating how anesthesia impacts memory, as well as other cognitive and physiological processes. For instance, a study was conducted to understand the effects of different anesthetics that are very commonly used in the lab setting (carbon dioxide, isoflurane, sevoflurane, and cold shock). They found that the longer the exposure to anesthesia, there was an increase in recovery time, changes in locomotor activity, lower fecundity, and may impact water and lipid stores40. In addition, it has been reported that giving cold shock anesthesia immediately after training can completely disrupt short-term memory21. From this initial study, it is now known that in Drosophila, there is unconsolidated memory (anesthesia-sensitive memory) that decays within 6-8 h, and a form of consolidated memory (anesthesia-resistant memory) that is formed gradually after learning and can last around 24 h41. Based on this, anesthesia can affect cognitive processing and the activity of neurons, which eventually allows for proper memory expression.
The effects of anesthesia on memory are not confined to Drosophila. Numerous human and other mammalian studies have demonstrated similar findings. For example, a cross-sectional study done in a university hospital found that short-term memory was significantly reduced in patients 24 h after general anesthesia42. Another study done in mice found that general anesthesia robustly reduced spiking dynamics, decorrelated cellular ensembles, and altered spine dynamics in the CA1 region of the hippocampus, an important brain area involved in learning and memory in mammals43. To overcome these difficulties, the goal of this study is to provide a novel protocol that eliminates the use of anesthesia during fly preparation for in vivo imaging, leaving the fly's body completely free. This approach allows more accurate neuronal activity recordings, improves fly health for longer recordings, and eliminates possible confounding effects of anesthesia compared to other approaches. This protocol is designed to record activity from neurons in Drosophila, specifically looking at how neurons exhibit plasticity during and after the learning experience. However, the dissection protocol is versatile and can be adapted to various applications in live imaging research.
The details of the equipment and reagents used for this study are listed in the Table of Materials.
1. Transgenic fruit flies, Drosophila melanogaster
2. Building an aspirator (5-min workflow)
3. Building the metal tubing proboscis aspirator (5 - 10-min workflow)
4. Building a shock and odor delivery pipette for learning and memory experiments under the microscope (10-min workflow)
5. Assembly of platinum resistor for glue melting (Myristic acid) (20-min workflow)
6. Building of recording chamber - (2-day workflow)
7. In vivo dissection protocol without anesthesia - (5 - 7-min workflow)
8. Visualization of learning-induced plasticity through aversive olfactory conditioning (20-min workflow)
9. Image analysis
Here, in vivo imaging of adult Drosophila without anesthesia is utilized to investigate aversive olfactory conditioning inducing plasticity in a well-characterized Mushroom Body Output neuron (MBON γ2α'1)12. The calcium indicator GCaMP6f2, along with the red fluorescent protein TdTom, are expressed in an MB output neuron, whose dendrites innervate the compartment of the MB γ and α' lobes and is genetically targeted to the MBON γ2α'1 using the split-Gal4 line MB077C34 (Figure 2A,B).
To observe plasticity post aversive olfactory conditioning, the fly is placed under the confocal microscope, with its abdomen and legs aligned to the middle of the shock grid and the odor delivery pipette pointed towards the fly's antenna. First, calcium odor responses were recorded to a 5 s pulse of 4-methyl cyclohexanol (MCH) followed by a 5 s pulse of 3-octanol (OCT), separated by a 30 s inter-stimulus interval. Five minutes later, flies were trained by the simultaneous presentation of a 1 min OCT (CS+) pulse along with 12, 90 V shocks. This associative conditioning schedule produces robust behavioral aversive memory. Finally, 5 min and 15 min after conditioning, calcium responses to MCH and OCT were recorded as prior to training. MBON γ2α'1 responds robustly by calcium transients to both MCH and OCT before conditioning (Figure 2D-F). Nevertheless, matching previous findings12, 5 min post-conditioning calcium responses to CS+ (OCT) are completely depressed (Figure 2D-F). Additionally, responses to the CS- (MCH), were significantly potentiated. Fifteen min post-training showed similar results, as the calcium response to the CS+ was significantly depressed and CS- was potentiated. These results indicate that the memory trace observed in both odors lasts for at least 15 min (Figure 2D-F). These responses were quantified using the average odor response during the 5 s pulse and compared within the fly. These changes in odor responses can also be visualized by a pseudo-color representation of the change in GCaMP6 fluorescence pre and post-aversive training (Figure 2E). In contrast, anesthetizing the fly during preparation shows reduced plasticity to both CS+ and CS-. Only partial depression to CS+ is observed in anesthetized animals, as post-training responses are still present. In addition, CS- responses are not significantly different after training (Figure 2G,H). To better observe this, we calculated the induced plasticity as the ratio of CS+/CS- and showed that non-anesthetized flies show significantly increased plasticity when compared to anesthetized animals (Figure 2I). These representative results indicate that this protocol is suitable for studying learning and memory under the microscope and ensures the fly's health during imaging from neurons for a long period of time. This protocol is versatile enough and can be applied to other types of in vivo imaging and other neurons of interest.

Figure 1: In vivo imaging preparation of Drosophila without the use of anesthesia. (A) Top panel: Diagram illustrating the steps involved in aspirator preparation. Bottom panel: Diagram showing the chamber held in a micromanipulator during fly positioning. The fly's proboscis is placed at the opening of metal tubing connected to a vacuum at 500 mL/min using an aspirator. The chamber is subsequently positioned above the fly. (B) The sides of the eyes and thorax are glued with myristic acid using a custom-made platinum resistor. (C) The fly's proboscis is removed from the metal tubing, and the chamber is inverted to allow the proboscis to be glued in place, thereby minimizing movement during recordings. (D) The chamber is attached to a glass slide base. Tape is applied to the top of the chamber, covering the antennae, and to the back side to prevent saline from leaking. (E) Two vertical cuts are made alongside the cuticle near the compound eyes, followed by a third cut across the cuticle near the thorax, creating a "window" to the brain. (F) Between 100-200 µL of saline is added to the head of the fly at the site of the cuts. (G) The cuticle window is lifted, pulled, and detached using sharp, fine forceps to expose the brain. (H) Fat and tracheal tissue are removed to enable clear visualization of brain cells under the microscope. (I) The prepared fly is placed under the microscope and positioned with its body aligned on top of the shock grid. (J) Pseudo-color image showing the expression pattern of MBON γ2α′1. The region of interest is outlined with a dashed line surrounding the dendritic arbor. Scale bar: 50 µm. Please click here to view a larger version of this figure.

Figure 2: Learning-induced plasticity in MBON γ2α′1 following aversive olfactory conditioning. (A) Expression pattern of the MB077C-splitGal4 driver expressing GCaMP. Brains were dissected and stained with anti-GFP and counterstained with anti-nc82. Scale bar: 50 µm. (B) Pseudo-color image of MBON γ2α′1 highlighting the cell body, extending process, and dendritic arbor. The dendritic region represents the area from which calcium responses were collected. Scale bar: 50 µm. (C) Schematic of the aversive training protocol. Flies were exposed to 5-s pulses of MCH and OCT with 30 s of clean air in between. After a 5-min interval, flies were trained to associate OCT with twelve 90 V electric shocks. Recordings of calcium responses to MCH and OCT were performed 5 min and 15 min post-training. (D) Odor response traces to MCH (top panel) and OCT (bottom panel) are shown for pre-training, and at 5 min and 15 min post-training. Thick black bars indicate the timing of odor presentation. (E) Pseudo-color images of the dendritic arbor of MBON γ2α′1 pre-training, and 5 min and 15 min post-training, in response to both MCH and OCT. Potentiation of fluorescence is observed for the CS- (MCH), while fluorescence is abolished for the CS+ (OCT). Scale bar: 20 µm. (F) The mean odor response to MCH is significantly potentiated at 5 min and 15 min post-training, whereas responses to OCT (CS+) are significantly suppressed. Non-parametric Wilcoxon paired test, N = 12. (G) Odor response traces to MCH (top panel) and OCT (bottom panel) are shown for anesthetized flies pre- and 5 min post-training. Thick black bars indicate odor delivery. (H) In anesthetized animals, mean odor responses to MCH do not show significant potentiation post-training, and responses to OCT exhibit only partial suppression compared to non-anesthetized animals. (I) The training-induced plasticity, calculated as the CS+/CS- ratio, is significantly lower in anesthetized flies compared to those prepared without anesthesia. Non-parametric Wilcoxon paired test, N = 8-12. Please click here to view a larger version of this figure.
Supplementary File 1: Grid_holder (STL). STL file of the custom-designed component used to hold the electric grid. Please click here to download this File.
Supplementary File 2: Grid_holder (OBJ). OBJ file of the custom-designed component used to hold the electric grid. Please click here to download this File.
Supplementary File 3: Chamber_LaserCut. Adobe Illustrator file used for laser cutting the top component of the recording chambers for both male and female flies. Please click here to download this File.
Supplementary File 4: Recording_chamber (STL). STL file of the custom-designed recording chamber. Please click here to download this File.
Supplementary File 5: Recording_chamber (OBJ). OBJ file of the custom-designed recording chamber. Please click here to download this File.
Supplementary File 6: Recording_chamber_animation. MP4 video showing an animation of the assembled recording chamber. Please click here to download this File.
Understanding the neural circuity behind learning and memory is a central aim in the field of neuroscience. The genetic toolkit available in Drosophila, combined with the simplicity and versatility of behavioral testing, makes it an ideal model organism for studying these processes. Published studies from various labs have described different protocols for preparing flies for functional imaging without the use of anesthesia44,45. However, these protocols vary widely and often rely on highly specialized, custom-made tools with limited guidance on how to build or use them. In this protocol, a method for performing in vivo functional imaging in flies that avoids the confounding effects of general anesthesia is presented. Furthermore, this approach allows for the capture of real-time neuronal activity within the same fly, enabling direct comparisons of neural responses before and after exposure to various stimuli.
When completing this protocol, critical steps include making sure the fly's proboscis is properly placed into the vacuum tubing. This step ensures that subsequent gluing will occur in the right spots, and it makes sure the head is at the correct angle to visualize the neurons of interest. Minimal glue application is essential to maintain fly health; using the smallest amount necessary to secure the fly in place is ideal. This protocol also allows some modifications to match specific needs, such as gluing only the sides of the eyes so the entire body is free. Similarly, a perfusion chamber can be attached to the top of the recording chamber to facilitate ringer perfusion or drug delivery. Finally, a rotating floating treadmill can be placed below the fly as previously reported, allowing the analysis of locomotion directionality46,47.
This protocol does have some limitations, including the stress the flies are subjected to during the microsurgery to prepare the flies for live imaging. Handling the small flies, applying glue sparingly, and carefully opening the head capsule without damaging any brain tissue or body requires substantial expertise, which can only be acquired through meticulous practice and repetition. While this method is particularly beneficial for studying cognitive processes at the cellular level, in vivo imaging still has some limitations when compared to electrophysiological recordings. Additionally, while our protocol avoids the use of anesthesia prior to imaging, the fly is still constrained to a physical chamber, which can always alter cellular responses. Nonetheless, our methodology provides the closest way to preserve the fly's health for optimal in vivo imaging. Compared to existing methods that use anesthesia and constrain the fly, our method aims to keep the fly as freely moving as possible while being able to image from cells with minimal movement.
The authors have nothing to disclose.
This work was supported by the National Institute for General Medical Science for 1R01GM147917-01A1 and the Brain and Behavior Research Foundation for 30442.
| 0.102 mm Platinum wire | Surepure Chemetals | 2690 | |
| 0.25 OD, 0.125 ID, platinum-cured silicone tubing | VWR | 89068-474 | |
| 0.3 mm ID Silicone tubing | Fisher Scientific | 11-189-14 | |
| Banana plugs | Amazon | ||
| Black acrylic sheet for chamber 0.0125 in | Precision Brand | 44250 | |
| Calcium Chloride | Sigma-Aldrich | 746495 | |
| Copper shock grid | Custom made | ||
| DC power supply for platinum resistor | Fisher Scientific | S35740 | |
| Dremel tool 3000-1 | Dremel | 3000-N/18 | |
| Drosophila melanogaster / ;;uas-tdtom | BDSC | 36328 | |
| Drosophila melanogaster / ;uas-gcamp6f; | BDSC | 42747 | This uas line was combined with ;;uas-td-tom to generate a stock containing both insertions |
| Drosophila melanogaster/ ;;MB077C-gal4 | BDSC | 68287 | |
| Epoxy glue | Gorilla | 4200102 | |
| Gas flow meter 1.5 LPM | Amazon | B01N0UWZ2T | |
| Glass 1 mL serological pipette | Fisher Scientific | 50-232-9516 | |
| Glass Slides | Fisher Scientific | 12-550-A3 | |
| Glucose | Sigma-Aldrich | G7528 | |
| HEPES | Sigma-Aldrich | H4034 | |
| Hypodermic 12TW gauge tubing | Microgroup | 316H12TW | |
| Hypodermic 22X gauge tubing | Microgroup | 304H22X | |
| Magnesium Chloride Hexahydrate | Sigma-Aldrich | M9272 | |
| Myristic Acid | Acros Organics | 156961000 | |
| Neodymium Magnets 3X2 mm | Amazon | B0CXSQ387M | |
| P1000 tips | Genesee Scientific | 23-165RL | |
| P200 tips | Genesee Scientific | 23-150RL | |
| Pneumatic push connector 6mm OD | Amazon | B07ZHG8Y1Y | |
| Potassium Chloride | Sigma-Aldrich | P3911 | |
| PTFE tubing 6mm OD | Amazon | ||
| Razor blades | Amazon | B08LYD6645 | |
| Sodium Bicarbonate | Sigma-Aldrich | S5761 | |
| Sodium Chloride | Fisher Scientific | S271-500 | |
| Sodium Phosphate Dibasic | Sigma-Aldrich | S0876 | |
| Sucrose | Sigma-Aldrich | S9378 | |
| Trehalose | Sigma-Aldrich | T0167 |