Hernando Martínez Vergara
I study how the basal ganglia turn experience into learned behaviour, and how learned actions take control of innate, hard-wired responses. I lead the Learning Circuits Lab as a Ramón y Cajal fellow.

From worms to mice, from genes to behaviour
I am a Ramón y Cajal fellow at IDIBAPS, where I started the Learning Circuits Lab in April 2024 within the Brain Circuits and Behavior Lab. My group studies how the basal ganglia control learned behaviour, and how learned behaviour takes control of the midbrain circuits that drive innate responses.
For my PhD at the European Molecular Biology Laboratory I studied the evolution of the nervous system in the marine annelid Platynereis dumerilii, building a whole-body gene expression atlas and integrating it with single-cell sequencing and a whole-body electron microscopy map.
As an EMBO fellow at the Sainsbury Wellcome Centre in London I turned to the striatal circuits that let mice learn auditory associations, and found with colleagues that dopamine signals an action prediction error, a value-free teaching signal. In 2023 I led the computational division of a start-up developing diagnostics for neurodegeneration.
I care about open science and open hardware, and about building community: I co-organise the BARCCSYN meetings in Barcelona and am a Young Ambassador of the Spanish Society of Neuroscience.
Seven stops, four countries
- 2005–09BarcelonaUniversitat Autònoma de BarcelonaBSc Biotechnology
- 2009–10LondonKing's College LondonMSc Bioinformatics
- 2010–12San FranciscoSan Francisco State UniversityMSc Cell & Developmental Biology
- 2012–17HeidelbergEMBLPhD and postdoc, evolution of nervous systems
- 2018–23LondonSainsbury Wellcome Centre, UCLEMBO fellow, systems neuroscience
- 2023–24IndustryEsyaLabsHead of Neuroanalytics, diagnostics start-up
- 2024–BarcelonaIDIBAPSRamón y Cajal fellow, group leader
What I work on now

Midbrain circuits for learned actions
How do the outputs of the basal ganglia shape behaviour?

Learned and innate behaviour
How does the striatum take part in instinctive responses, like escaping a threat?

Automated, open behaviour
How can we follow learning as it unfolds, in many animals and over months?

Sleep, learning and autoimmune encephalitis
How do sleep, learning and the immune system interact in the brain?
Earlier work
Selected papers
Recently
- Nov 2026Research
New research line with Marianna Spatola on sleep and learning in autoimmune encephalitis.
- Sept 2026Paper
The Training Village, an open platform for automated rodent training, is out in eLife.
- Jul 2026Event
I co-organise the FENS Forum 2026 satellite From neural circuits to choices with Albert Compte and Jaime de la Rocha.
- Jun 2026Award
Named a Young Ambassador of the Spanish Society of Neuroscience (SENC).
- May 2026Event
I co-organise BARCCSYN 2026, the Barcelona Computational, Cognitive and Systems Neuroscience meeting.
Want to work together?
I am always happy to hear from students and postdocs interested in learning, the basal ganglia and behaviour.


