← Latest papers
🧠 neuroscience

Open-source virtual reality platform for head-fixed adult zebrafish

This paper presents an open-source, high-resolution virtual reality platform for head-fixed adult zebrafish that enables real-time, closed-loop behavioral experiments and simultaneous two-photon imaging, revealing how visual landmarks drive locomotion and posture responses.

Original authors: Javier, A., Narayanan, S., Anneser, L., van Krugten, J., Friedrich, R. W.

Published 2026-10-24
📖 5 min read🧠 Deep dive

Original authors: Javier, A., Narayanan, S., Anneser, L., van Krugten, J., Friedrich, R. W.

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

To understand how a brain turns a flood of sensory information into a decision, scientists often need to strip away the chaos of the real world. In nature, an animal is bombarded by unpredictable sights, sounds, and smells all at once, making it difficult to isolate exactly which signal triggered a specific movement. This is where virtual reality becomes a powerful tool. By placing an animal in a controlled, computer-generated environment, researchers can change one tiny detail—like the appearance of a rock or the color of a wall—while keeping everything else exactly the same. This allows them to watch the brain and body react to that single change with precision. While this approach has been common for studying tiny, transparent baby fish, it has been much harder to apply to adult fish, whose brains are more complex and whose bodies are too large to be easily immobilized without blocking the view of the brain.

A team of researchers in Switzerland has now built a new, open-source system that solves these problems for adult zebrafish. They created a setup where an adult fish is held gently in place, its head fixed securely, while its tail is free to move. The fish swims in a small tank surrounded by a curved screen that projects a high-resolution, three-dimensional world. As the fish moves its tail, cameras track the motion in real time, and the computer instantly updates the scenery to match, creating the illusion that the fish is swimming through a long, virtual corridor. This platform is not just a camera and a screen; it is a complete laboratory that can also shine light into the fish's brain to watch individual neurons fire, all while the fish navigates this digital world.

The researchers used this system to see how adult zebrafish react when they encounter a familiar path that suddenly changes. They built a long virtual hallway with natural-looking textures on the walls and floor, resembling a riverbed. In some trials, the hallway was empty. In others, a large stone archway appeared in the middle of the path. When the fish swam toward this arch, their behavior changed in a very specific way. They did not stop or panic. Instead, they subtly altered their body posture, bending their tails more sharply as if preparing to turn, even though they continued moving forward. This reaction happened quickly and consistently, suggesting the fish recognized the landmark and were adjusting their swimming style in anticipation of navigating around it.

The team also wanted to know if the fish were reacting because they remembered the location of the arch, or simply because they could see it. To test this, they simulated "murky water" by making the virtual world fade into darkness just a short distance in front of the fish. The arch was placed far enough away that it was invisible at the start of the swim. As the fish swam forward, the murky water cleared, and the arch suddenly appeared. In this scenario, the fish did not change their body posture. Instead, they simply slowed down the moment the landmark came into view. This finding is significant because it shows that the fish's reaction is driven primarily by what they see in the moment, rather than by a mental map of where the object should be. Their behavior shifts depending on whether they are surprised by a sudden visual appearance or navigating a known obstacle.

Beyond watching the fish, the researchers used the system to look inside the brain. They focused on a specific area known to be involved in navigation and memory. Using a special microscope that can see deep into the brain without harming the fish, they watched individual nerve cells light up as the fish swam. They found that certain neurons fired only when the fish reached a specific spot in the virtual corridor, acting like internal markers for location. This confirms that even in a head-fixed adult fish, the brain is building a detailed map of the space it is traversing. The fact that these cells remained active and precise while the fish swam in the virtual world proves that the system does not disrupt the natural function of the brain.

The success of this project relies heavily on the speed and accuracy of the technology. The system updates the virtual world sixty times every second, a speed fast enough to keep up with the fish's natural swimming rhythm. If the computer were even slightly slow, the fish would see a lag between its tail movement and the changing scenery, which would break the illusion and cause the fish to swim unnaturally. The researchers solved this by using a custom algorithm that predicts the fish's speed and direction from its tail movements with high precision. They also designed a way to synchronize the video projection with the brain imaging, ensuring that the bright lights used to project the image do not interfere with the sensitive sensors looking into the brain.

This new platform opens the door to studying complex behaviors in adult fish that were previously impossible to observe in such detail. Adult zebrafish are capable of learning abstract rules, remembering social interactions, and solving problems in ways that baby fish cannot. By combining the ability to watch the brain at the level of single cells with the ability to test these complex behaviors in a controlled environment, scientists can now ask deeper questions about how learning and memory work. The system is designed to be shared freely with other scientists, allowing the entire research community to build upon these tools. It represents a quiet but significant step forward, turning a complex technical challenge into a reliable window for observing the inner workings of a thinking brain.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →