In recent years, advances in light-based technology have driven an ongoing optical revolution in neuroscience. Synergistic technologies in laser microscopy, molecular biology, organic and synthetic chemistry, genetic engineering and materials science have allowed light to overcome the limitations of and to replace many conventional tools used by physiologists to record from and to manipulate single cells or whole cellular networks. Here we review the different optical techniques for stimulating neurons, influencing neuronal growth, manipulating neuronal structures and neurosurgery.