Optogenetics—light-driven, genetically targeted control of neuronal activity—has transformed neuroscience by allowing precise manipulation of specified neural populations with millisecond timing. Arising from the discovery of microbial opsins and the first demonstration that channelrhodopsin-2 (ChR2) can drive neurons with light, this technology has made possible causal examination of neural circuits of behavior. We here summarize the origins and mechanisms of optogenetics, experimental methodologies, key findings in brain research, translational potential, and limitations of the techniques. In Introduction we relate how algal opsins were engineered for neuroscience use and sketch basic principles (e.g. ChR2-mediated depolarization, halorhodopsin-mediated inhibition). The Methods section reviews typical protocols: genetic targeting (viral or transgenic delivery of opsin genes), surgical implantation of optical fibers or devices, and stimulation paradigms. In Results we highlight landmark findings facilitated by optogenetic control – e.g. identification of hippocampal memory engram cells, anxiety and arousal neural substrates, and basal ganglia circuit causal roles in movement. In Discussion we discuss clinical and translational applications (including the recent restoration of vision in a blind patient), experimental and technological limitations (e.g. tissue heating, opsin kinetics, inflammation), and future prospects. We think that optogenetics, often combined with advanced imaging or wireless hardware, will continue to provide basic understanding and guide therapeutic strategies.