AUTHOR=Zrenner Christoph, Belardinelli Paolo, Müller-Dahlhaus Florian, Ziemann Ulf TITLE=Closed-Loop Neuroscience and Non-Invasive Brain Stimulation: A Tale of Two Loops JOURNAL=Frontiers in Cellular Neuroscience VOLUME=10 YEAR=2016 URL=https://www.frontiersin.org/articles/10.3389/fncel.2016.00092 DOI=10.3389/fncel.2016.00092 ISSN=1662-5102 ABSTRACT=Closed-loop neuroscience is receiving increasing attention with recent technological advances that enable complex feedback loops to be implemented with millisecond resolution on commodity hardware. We summarize emerging conceptual and methodological frameworks that are available to experimenters investigating a “brain in the loop” using non-invasive brain stimulation and briefly review the experimental and therapeutic implications. We take the view that closed-loop neuroscience in fact deals with two conceptually quite different loops: a “brain-state dynamics” loop, used to couple with and modulate the trajectory of neuronal activity patterns, and a “task dynamics” loop, that is the bidirectional motor-sensory interaction between brain and (simulated) environment, and which enables goal-directed behavioral tasks to be incorporated. Both loops need to be considered and combined to realize the full experimental and therapeutic potential of closed-loop neuroscience.