Optogenetics is widely used to interrogate the neural circuits underlying disease and has most recently been harnessed for therapeutic applications. The optogenetic toolkit consists of light-responsive proteins that modulate specific cellular functions, vectors for the delivery of the transgenes that encode the light-responsive proteins to targeted cellular populations, and devices for the delivery of light of suitable wavelengths at effective fluence rates. A refined toolkit with a focus towards translational uses would include efficient and safer viral and non-viral gene-delivery vectors, increasingly red-shifted photoresponsive proteins, nanomaterials that efficiently transduce near-infrared light deep into tissue, and wireless implantable light-delivery devices that allow for spatiotemporally precise interventions at clinically relevant tissue depths. In this Review, we examine the current optogenetics toolkit and the most notable preclinical and translational uses of optogenetics, and discuss future methodological and translational developments and bottlenecks.