Text from the interactive explanation
A half-center oscillator regulates sleep pressure
Hasenhuetl, Peter S., Sarnataro, Raffaele, Vrontou, Eleftheria, Rorsman, H. Olof, Talbot, Clifford B., Brain, Ruth, Miesenböck, Gero
Fruit-fly sleep · Nature Neuroscience, 2026
Stay awake and something in your brain keeps count of the sleep you owe. In fruit flies, that count turns out to be a rhythm: sleep-control neurons in the left and right halves of the brain take turns firing — and the more sleep the fly needs, the harder they swing.
Left-side dFBNs
Right-side dFBNs
Inhibition across the midline
Needle leans toward the active side
Slow-wave power: ×5.2 vs rested
Rhythm period ≈ 1.3 s
Something keeps count
Pull an all-nighter and the next night you sleep longer and deeper. That catch-up is called rebound sleep , and it gives away a hidden bookkeeper: a need to sleep that builds the longer you are awake and drains away while you sleep. Researchers call it sleep pressure .
Fruit flies keep the same books. They sleep, they get sleepier the longer they are kept awake, and they make up lost sleep afterwards. In the fly brain, a small group of sleep-control neurons — about 30 across both hemispheres in the connectome reconstructions — sends branches into the upper (dorsal) layers of a structure called the fan-shaped body . They are called dFBNs , short for dorsal fan-shaped body neurons. Switch them on and flies fall asleep.
Earlier work from the same lab showed how dFBNs sense sleep need: being awake strains the cells' own mitochondria (their energy factories), producing reactive molecules whose damage products the dFBNs count.
The open question: left to themselves — not clamped to fixed voltages as in earlier experiments — what do dFBNs actually do? And how does their activity carry the tally to the rest of the brain and put the fly to sleep?
Where the counters sit
Listen in: a slow beat
The researchers recorded the electrical activity of single dFBNs in living flies. Some of them did something striking: they rocked back and forth between two states, roughly every two seconds.
One dFBN, recorded
Recording one cell at a time with an electrode is slow. Calcium imaging lets you watch many cells at once: a fluorescent sensor, GCaMP, glows when the neuron fires. The glow lags the spikes slightly — peak firing comes about 120 ms before the steepest rise of the glow — but it tracks every UP state.
Rhythms in the 0.2–2 Hz band are called slow-wave activity (SWA) , named after the slow waves of deep sleep in mammals. Not every dFBN behaves this way: only a subset are pacemaker-like “slow-rhythm” cells; others fire steadily (tonically) or in faster bursts.
Both sides at once
Your prediction
Watch the left and right patches. Do they flash together, take turns, or ignore each other?
Line the two sides up
The calcium signals of the left (amber) and right (aqua) dendrites of one fly, recorded simultaneously; the first 20 s are shown. Slide the right side's trace in time. The number is the Pearson correlation r over the whole 100-s recording: +1 would mean identical, −1 perfect opposites.
r = … at 0.00 s shift
Two halves that silence each other
How do two groups of neurons end up taking turns? Nervous systems have a classic answer: the half-center oscillator .
Two groups inhibit each other. While one side bursts, it holds the other down. The burst fades as the active cell tires — its own after-hyperpolarisation builds up — and the suppressed side, once released, bounces back harder ( post-inhibitory rebound ). The roles swap, again and again. The same principle drives rhythmic movement: the two-neuron swimming circuit of the sea slug Clione (the “sea angel”), and the pattern generators for walking and breathing.
In two fly connectomes (hemibrain and FlyWire), dFBN wiring is almost perfectly symmetric — its connection matrix correlates with its own transpose at 0.92 and 0.81 — with strong links between the two hemispheres.
dFBNs release glutamate, which in this circuit is inhibitory. A glutamate sensor confirmed the release; the cells released no acetylcholine.
Light-activating a random half of the dFBNs hyperpolarised and silenced the other half — even with action potentials blocked by TTX, so the inhibition is direct (monosynaptic).
Cut the link
The same two-neuron model as at the top, at rested settings. Here you set how strongly each side inhibits the other across the midline. Each spike on one side pushes the other side's voltage down (inhibition), followed by a smaller upward kick (rebound).
Slow-wave power ×1.0 vs rested
Rhythm: steady alternation
Left–right correlation: −0.97
Measured The real-world version of cutting the link: knocking down the glutamate transporter VGlut in dFBNs, so they can no longer load their messenger, disrupted SWA (lower SWA power) — and the flies slept less and recovered less sleep after deprivation.
Play the rhythm back with light
If the slow wave is a sleep signal, writing it into the cells should make a fly sleep. To do that, the researchers made dFBNs light-sensitive with CsChrimson , a light-gated channel, so flashes of red light make them fire.
Earlier attempts held dFBNs constantly “on” by heating a heat-activated channel (TrpA1) and found no extra sleep. This paper shows why: constant depolarisation blocks the cells instead of driving them. Rhythm, it turns out, matters.
Virtual light lab
20 pulses squeezed into the first half-second of every second.
Sleep: +40% vs controls
Slow-wave bursts · 20 pulses per second · one burst every 1 s
Slow-wave bursts
Evenly spaced
Settings you tried
Normalized sleep: 1.0 = flies of the same genotype fed food without the light-sensitive cofactor (retinal), so the light alone does nothing. Approximate values read from Fig. 4e (dataset R23E10∩R84C10). Bursts last half a second; “evenly spaced” delivers the same number of pulses spread out in time.
What the flies said. Bursts beat the same number of evenly spread pulses. Packing more pulses into each burst helped, up to about 40 Hz inside the burst (20 pulses per half-second) — close to the cells' own peak firing rate. And the bursts had to recur every 1–2 s: one every 5 s or slower did nothing.
The most sleep per light pulse came from patterns that resemble natural slow-wave activity. So the rhythm itself is a sleep signal — it is sufficient . And silencing it (the VGlut knockdown in the previous chapter) costs sleep — it is necessary .
The swing grows with sleep debt
If the rhythm carries the tally, it should change when a fly owes sleep. It does.
Rested vs after a sleepless night
Swing size …
Rested fly
Fly kept awake overnight
After 12 h of overnight sleep deprivation, the calcium swings were larger and SWA power was about 1.5× higher, while other frequency bands were unchanged. SWA grew with deprivation mainly when the deprivation covered the first half of the night, and it decayed back over 12–24 h of recovery.
Even in undisturbed flies, SWA follows the day: lowest in the morning, rising across the day to an evening peak and declining during the night — like the daily build-up and release of sleep pressure.
Predict: does the rhythm stop when the fly is awake and walking?
Unlike the deep-sleep slow waves of mammals, which sweep across the whole cortex mainly during non-REM sleep, the fly's slow wave is made by one local circuit and runs around the clock — a continuous, analog readout of sleep need, encoded in its amplitude.
The paradox: tired neurons turn down their own volume
What makes the swing grow after a sleepless night? The measurements point in seemingly opposite directions.
After sleep deprivation, dFBNs become more excitable (earlier work), and their inputs — R5 ring neurons — become busier, with bigger synapses.
Yet dFBN output synapses shrink: about 30% less of the active-zone protein Bruchpilot (BRP) at their terminals (P = 0.0009), and less glutamate released per flash of light, saturating at a lower level.
That is unusual: waking normally strengthens synapses across the fly brain. Why would sleep-control neurons weaken theirs?
Puzzle: make the model's rhythm report a sleepless night
Same model as the hero, now showing each side's pool of 20 input neurons (green dots flash when one fires) and the dFBNs' feedback that quiets them (violet, its thickness = dFBN output-synapse strength). Switch on the changes measured after sleep loss — one at a time or together — and find what makes the swing grow.
Slow-wave power ×1.0 vs rested
Input neurons: 1.2 Hz
Two model dFBNs, one per hemisphere, each driven by 20 random (Poisson) input units standing in for R5 ring neurons. Each dFBN's voltage = rest (−50 mV) + input EPSPs + its own after-hyperpolarisation + an inhibitory-then-rebound kick from each spike of the other side (8 mV). A cell spikes when its voltage crosses a threshold that jumps after each spike and then recovers (30 ms rested, 15 ms after sleep deprivation). Both dFBNs' spikes feed back to reduce the input units' rate (halved feedback after sleep deprivation, when output synapses are weaker).
Calcium signals are simulated by convolving firing rates with the measured GCaMP response, and slow-wave power is their 0.2–2 Hz band power, shown relative to the rested model. The model was re-implemented in the browser from the equations in the paper's Methods; the absolute size of the feedback weight is not printed in the paper, so one constant was calibrated to the reported rested input rate (~1.15 Hz). With it, the model reproduces the published pattern above.
From a dial to a switch
The fly's sleep-control neurons broadcast an unbroken, analog record of sleep need — useful for deciding what to do next — and the same rhythm, replayed, puts flies to sleep. But sleep is all-or-none. How does a dial become a switch?
The authors propose two possibilities (not yet tested). One: synapses that pass only strong, high-frequency bursts (facilitating synapses) — a filter that responds once the swing is big enough. Two: the fan-shaped body's action-selection circuitry is a winner-take-all competition, so dFBNs need only tip the odds toward “do nothing”.
A burst filter turns the dial into a switch
Model slow-wave power: ×…
Filter output: …
The dial reads the slow-wave power of the same simulated model as the hero. The filter is a made-up steep threshold (at ×3) standing in for a facilitating synapse; it illustrates the idea only.
In mammals, deep-sleep slow waves are also the classic marker of sleep pressure. Flies now offer a circuit where the wave's source can be watched cell by cell — two halves, taking turns, keeping count.
Back to the metronome ↑
Sources & credits
Hasenhuetl, P. S., Sarnataro, R., Vrontou, E., Rorsman, H. O., Talbot, C. B., Brain, R. & Miesenböck, G. “A half-center oscillator regulates sleep pressure.” Nature Neuroscience (2026). https://doi.org/10.1038/s41593-026-02431-9. Open access under CC BY 4.0.
Movie: Supplementary Video 1 of the paper (two-photon imaging of GCaMP in dFBN dendrites), trimmed to 36 s, brightened and pseudocoloured.
Measured traces: source data from github.com/CNCBMiesenboeck/dFBNOscillator (Fig. 1d, 2a, 6a; excerpted and rounded; voltage reduced to a 2-ms min/max envelope).
Values read from figures: sleep results approximated from Fig. 4e; published simulation results approximated from Fig. 8d and Extended Data Fig. 10c.
Simulations: the animations at the top, in “Cut the link” and in the puzzle run the authors' two-dFBN model, re-implemented from Methods equations 3–10 (original code: CodeOcean, doi.org/10.24433/CO.0293847.v1).
Illustrations (fly head, brain, light lab, dial) are schematic.
Topics in this iPaper
Biology
sleep-control neurons innervating the dorsal fan-shaped body of Drosophila (dFBNs) produce slow-wave activity (SWA) that is causally linked to sleep
Abstract, page 1
sleep homeostasis
The dynamics of neurons responsible for the homeostatic regulation of sleep
Introduction, page 1
drosophila melanogaster
sleep-control neurons innervating the dorsal fan-shaped body of Drosophila (dFBNs)
Abstract, page 1
slow wave activity
we refer to activity in the frequency band of 0.2–2 Hz as slow-wave activity (SWA)
Results, 'dFBN slow oscillations', page 1
central pattern generators
dFBN slow waves are products of a local circuit with features of a central pattern generator
Results, 'Glutamate release adjusts to sleep pressure', page 8
optogenetics
whereas the optogenetic replay of SWA induces sleep
Abstract, page 1
two photon calcium imaging
imaged the dendritic tufts of dFBNs by two-photon microscopy
Results, 'dFBN slow oscillations', page 1
synaptic plasticity
adjust its power to sleep need via sleep history-dependent increases in excitability and homeostatic synaptic depression
Abstract, page 1
connectomics
The symmetry and strength of connections among dFBNs in the hemibrain16 and FlyWire17 connectomes meets the anatomical requirements of a half-center oscillator
Results, 'A half-center oscillator generates SWA', page 2
computational neuroscience
A spike-response model104 described the membrane potential
Methods, 'Modeling', page 16