The effect of electrical stimulation on neuronal membrane potential is frequency dependent. Low frequency electrical stimulation can evoke action potentials, whereas high frequency stimulation can inhibit action potential transmission. Optical stimulation of channelrhodopsin-2 (ChR2) expressed in neuronal membranes can also excite action potentials. However, it is unknown whether optical stimulation of ChR2-expressing neurons produces a transition from excitation to inhibition with increasing light pulse frequencies. Here we report optical inhibition of motor neuron and muscle activity in vivo in the cooled sciatic nerves of Thy1-ChR2-EYFP mice. We also demonstrate all-optical single-wavelength control of neuronal excitation and inhibition without co-expression of inhibitory and excitatory opsins. This all-optical system is free from stimulation-induced electrical artifacts and thus provides a new approach to investigate mechanisms of high frequency inhibition in neuronal circuits in vivo and in vitro.T he ability to both excite and inhibit neuronal activity with electrical stimulation of different frequencies has important implications for basic and clinical neuroscience. Low frequency electrical stimulation depolarizes neuronal membranes and evokes action potentials, whereas higher frequencies, ranging from 200 Hz to 30 kHz 1 as well as continuous depolarizing stimulation, have been used to inhibit action potentials in both central 2,3 and peripheral neurons 1,4-17 . High frequency electrical stimulation has been clinically implemented [18][19][20] for cases in which inhibition of neuronal activity is desired, such as the treatment of pain 19,20 . While this is a valuable approach, the mechanisms underlying the frequency-dependent transition from excitation to inhibition remain unclear, in part due to stimulation-induced electrical artifacts that interfere with electrophysiological recordings 2,12,21 . Furthermore, low and high frequency electrical stimulation have limited ability to control activity in defined subsets of collocated neurons. Optogenetics is a powerful technique enabling activation and inhibition of specific cell types that are collocated 22,23 .Previous studies have sought to simultaneously excite and inhibit a population of neurons using optogenetics [24][25][26][27] . These efforts used specialized viral and genetic approaches to achieve co-expression of ChR2 with an inhibitory opsin, such as halorhodopsin (NpHR), in the same neurons. Thus far, co-expression has been achieved in vitro [24][25][26] and in vivo in zebrafish 27 . Excitation and inhibition were achieved in these studies by optical stimulation of two opsins with two light wavelengths of sufficient spectral separation. While optical stimulation of ChR2 is typically used to evoke neuronal activity, several studies observed inhibition of neuronal activity during high frequency blue light stimulation of ChR2-expressing neurons in the mouse brain [28][29][30] . In most cases the inhibition was produced by excitation of interneurons (e...