Miniature Brains
Distinguishing scents at lightning speed or escaping nasty parasitic wasps: the comparatively simple nervous system of fruit flies is quite capable. And if necessary, they can even do without their heads.
Scientific support: Prof. Dr. Björn Brembs
Published: 24.01.2026
Difficulty: easy
- The fruit fly's brain is only 250 micrometers long. While the human brain contains 86 billion neurons, estimates suggest that the fly brain has between 100,000 and 200,000.
- The brain of fruit flies is structured differently depending on whether the fly is still in the larval stage or already an adult.
- The central nervous system of the adult fly consists of a superior esophageal ganglion, an inferior esophageal ganglion, a ventral nerve cord, and the stomatogastric nervous system.
- The supraesophageal Ganglion is the largest nerve node (ganglion) in the central nervous system and is important for learning. It is located above the esophagus and its function is similar to that of the brain in vertebrates.
inferior
An anatomical position designation – inferior means located further down, the lower part.
ventral
A positional term – ventral means "towards the abdomen." In relation to the nervous system, it refers to a direction perpendicular to the neural axis, i.e., downwards or forwards.
In animals (that do not walk upright), the term is simpler, as it always means toward the abdomen. Due to the upright posture of humans, the brain bends in relation to the spinal cord, making ventral mean "forward."
Ganglion
Term for a cluster of nerve cell bodies in the peripheral nervous system. The term nerve node is often used because of its appearance. (Greek gágglion = knot-like)
- The Retina of fruit flies can detect the so-called e-vector of polarized light. With the help of the e-vector, the flies can orient themselves to the sun.
- Fruit flies can perceive air currents. Fluctuations in the air flow at their olfactory organ influence their sense of smell and may help the insects locate the source of odors.
- With the help of chemosensory receptors in their antennae, fruit flies can perceive carbon dioxide (CO₂). CO₂is one of the most important odorous substances for finding food sources and warning conspecifics.
Retina
The retina is the inner layer of the eye covered with pigment epithelium. The retina is characterized by an inverse (reversed) arrangement: light must first pass through several layers before it hits the photoreceptors (cones and rods). The signals from the photoreceptors are transmitted via the optic nerve to the processing areas of the brain. The reason for the inverse arrangement is the evolutionary development of the retina, which is a protrusion of the brain.
The retina is approximately 0.2 to 0.5 mm thick.
The fruit fly Drosophila melanogaster is a rather small creature, it usually grows to only two millimeters in size. And so, of course, its brain is also tiny; the side length is just a quarter of a millimeter, or 250 micrometers. The cell body of a typical Neuron in the head of a fruit fly has a diameter of two to four micrometers. While the human brain contains 86 billion nerve cells, the fly brain was previously thought to contain 100,000 neurons, but more recent estimates suggest it could be 200,000.
What exactly the cells have to do depends on the stage of life the fruit fly is in. Is it still a larva or has it already transformed into a fly? "Despite having a relatively simple brain, the larva exhibits complex behavioral patterns," says neurobiologist Christian Klämbt from the University of Münster. "It doesn't have to find a mating partner, but it does need suitable food, of course." When the larva crawls through fruit pulp, it perceives its surroundings. Certain sensory cells trigger a specific escape response. This happens precisely when parasitic wasps approach, wanting to lay their fertilized eggs in the larvae.
Neuron
A neuron is a specialized cell in the nervous system that is responsible for processing and transmitting information. It receives signals via its dendrites and transmits them via its axon. Transmission occurs electrically within the neuron and, between neurons, usually chemically via synapses.
From escape reflex to complex behavior
"When the larvae hear the wasp's wings beating and feel the sting on their skin, they roll sideways," reports Klämbt. This prevents the wasp from piercing the skin and injecting its egg into the larva. "The control of this escape reaction is hardwired into a simple circuit in the larva's brain," says Klämbt. An adult fly no longer exhibits this escape reflex. Instead, it simply flies away when threatened. "The neural circuits necessary in the larva are rebuilt during metamorphosis, and the neurons can be assigned to other tasks."
Larvae also have a Memory and can learn. But unlike adult flies, the memory traces only need to be very short-lived, as the larval stages last only a few days. "The memory of the adult fly is more complex because it has to process significantly more sensory information," explains Klämbt. For example, the eyes are much larger, and the olfactory system is also more complex. The neural circuits that enable larvae to learn and store memories are somewhat simpler in structure than those of adult flies, but they work according to the same principles.
The central nervous system of the adult fly consists of a supraesophageal ganglion, a subesophageal ganglion, a ventral nerve cord, and the stomatogastric nervous system. The supraesophageal Ganglion is the part of the central nervous system located above the esophagus, the largest nerve node (ganglion) of the central nervous system. Its function is similar to that of the brain in vertebrates and comprises three sections, including the protocerebrum. This is the processing center for all higher sensory functions and the decisive control center for most complex behaviors. The protocerebrum contains the two optic lobes, which are responsible for visual processing.
The protocerebrum is also the seat of the mushroom body, which is of particular importance for insects. "It has long been known that the mushroom body is important for scent learning," says physicist and neuroscientist Martin Nawrot from the University of Cologne. "What is new, however, is the realization that the mushroom body also plays a decisive role in translating sensory information into motor activity." This means that it is ultimately involved in deciding how an animal behaves. Sparse coding is very important for learning, especially "spatial sparsity," as Nawrot explains:
"The actual odor information is encoded in a few hundred neurons in the so-called antenna lobe, which all flash in response to the odor," says Nawrot. "This odor code is then projected into the mushroom body, where it encounters a total of 4,000 neurons, the Kenyon cells, but only a few of these become active for each odor." The Kenyon cells, which are important for learning smells, in turn form a large number of synapses with output neurons of the mushroom body. And these synapses change when, for example, a scent is followed by a reward such as sugar water. "Because certain subgroups of Kenyon cells are associated with a specific scent, individual scents can be learned very specifically and efficiently," says Nawrot.
Memory
Memory is a generic term for all types of information storage in the organism. In addition to pure retention, this also includes the absorption of information, its organization, and retrieval.
ventral
A positional term – ventral means "towards the abdomen." In relation to the nervous system, it refers to a direction perpendicular to the neural axis, i.e., downwards or forwards.
In animals (that do not walk upright), the term is simpler, as it always means toward the abdomen. Due to the upright posture of humans, the brain bends in relation to the spinal cord, making ventral mean "forward."
Ganglion
Term for a cluster of nerve cell bodies in the peripheral nervous system. The term nerve node is often used because of its appearance. (Greek gágglion = knot-like)
Recommended articles
Distinguishing scents super fast
In addition to spatial sparsity, there is also temporal sparsity. While neurons in the antenna lobe need one to two seconds for scent coding, Kenyon cells are only active for around 50 to 100 milliseconds. And even then, only when the scent intensity changes, for example when the scent begins or becomes twice as strong. "This is an important Adaptation to the environment," says Nawrot. When the fly flies through a cloud of scent, the individual scents in the cloud often only occur for 50 to 100 milliseconds. The Kenyon cells respond sparsely, with brief activity. It is sufficient for certain Kenyon cells to have responded once to a particular scent with an Action potential in order to recognize it again after just 50 milliseconds the next time. This enables flies in nature to react very quickly to brief scent impressions and head straight for the right scent source, such as a banana. Martin Nawrot and his colleagues used a computer model to simulate how a fly flies through a cloud of scent. "Every scent pulse, no matter how short, that the animal encounters is recognized; an irrelevant scent, on the other hand, is ignored."
Adaptation
Adaptation refers to the process by which the sensory organs, the perceptual system, or the entire organism adjusts to the intensity and quality of stimuli and to changes in environmental conditions. In visual adaptation, for example, the pupil and the sensitivity of the photoreceptors regulate themselves according to the prevailing light conditions.
Action potential
In excitable cells (e.g., neurons or muscle cells), very rapid changes in electrical potential occur across the cell membrane. This event is the basis for signal conduction along the axon of the nerve cell. The action potential continues along the cell membrane and, according to the all-or-nothing principle, only occurs when the cell has been sufficiently excited.
Acting headless
However, these small animals can also act headless in the truest sense of the word. Decapitated fruit flies can still walk and groom themselves. The reason for this is that the circuits of the so-called ventral nerve cord are sufficient to execute simple motor programs without brain control. Functionally, the ventral nerve cord corresponds to the Spinal cord in vertebrates.
The only major component of the fruit fly's nervous system that is missing now is the stomatogastric nervous system. This is a system composed of ganglia and nerves. The parts of the stomatogastric nervous system are connected to both the brain and to each other. It supplies the oral cavity, foregut, and certain Hormone glands. It is important for food intake and digestion.
As tiny as the fruit fly's nervous system is, it is certainly powerful. If necessary, even without a head.
ventral
A positional term – ventral means "towards the abdomen." In relation to the nervous system, it refers to a direction perpendicular to the neural axis, i.e., downwards or forwards.
In animals (that do not walk upright), the term is simpler, as it always means toward the abdomen. Due to the upright posture of humans, the brain bends in relation to the spinal cord, making ventral mean "forward."
Spinal cord
medulla spinalis
The spinal cord is the part of the central nervous system located in the spine. It contains both the white matter of the nerve fibers and the gray matter of the cell nuclei. Simple reflexes such as the knee-jerk reflex are already processed here, as sensory and motor neurons are directly connected. The spinal cord is divided into the cervical, thoracic, lumbar, and sacral spinal cord.
Hormone
Hormones are chemical messengers in the body. They serve to transmit information between organs and cells, usually slowly, e.g., to regulate blood sugar levels. Many hormones are produced in glandular cells and released into the blood. At their destination, e.g., an organ, they dock at binding sites and trigger processes inside the cell. Hormones have a broader effect than neurotransmitters; they can influence various functions in many cells of the body.
Further reading
- Scheffer LK, Xu CS, Januszewski M, et al. A connectome and analysis of the adult Drosophila central brain. Elife. 2020;9:e57443 (full text). doi:10.7554/eLife.57443
- Raji JI, Potter CJ. The number of neurons in Drosophila and mosquito brains. PLoS One. 2021;16(5):e0250381 (full text). doi:10.1371/journal.pone.0250381
- Fiala A, Kaun KR (2024). What do the mushroom bodies do for the insect brain? Twenty-five years of progress. Learn Mem. 2024 Jun 11;31(5):a053827. https://learnmem.cshlp.org/content/31/5/a053827
- Rapp H, Nawrot MP. A spiking neural program for sensorimotor control during foraging in flying insects. Proc Natl Acad Sci U S A. 2020;117(45):28412-28421 (full text). doi:10.1073/pnas.2009821117