Light-responsive proteins are allowing scientists to turn neurons on or off selectively with unprecedented precision. Introducing these proteins into cultured cells or the brains of live animals allows investigation of the structure and function of neural networks.