To enable precise perturbation of living circuits, we recently developed an optogenetic1 technology for genetically targeted, millisecond-timescale optical excitation of neurons2, 3 by employing an algal protein, channelrhodopsin-2 (ChR2)4, which functions in many cell types2, 3, 4, 5, 6, 7, 8, 9. However, because ChR2 can only test sufficiency of spike patterns in circuit or behavioural responses and cannot inhibit native spiking, testing the necessity or physiological function of targeted cells remains difficult. The ideal solution would be to complement ChR2 with a hypothetical light-activated hyperpolarizing agent, to permit excitation or inhibition using two light wavelengths while maintaining high temporal precision and genetic targeting. Several state-of-the-art methods5, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 have been developed to kill or inactivate neurons, but none offers the necessary millisecond-precision, rapid reversibility and spectral compatibility for simultaneous use with fast, genetically based, photostimulation techniques such as ChR2.
Finding an optically compatible inhibitor
Our finding that ChR2 could depolarize neurons fast enough to drive precisely timed light-evoked spikes2 motivated us to search for a complementary high-speed hyperpolarizing agent, to optically silence individual action potentials. ChR2 is highly homologous to ChR1 (ref. 20) and both are homologous to bacteriorhodopsin4 and the light-driven chloride pumping halorhodopsins21. We predicted that the halorhodopsins could be used to optically inhibit neural activity, and we explored halorhodopsins from two strains of archaea, Halobacterium salinarum (HsHR) and Natronomonas pharaonis (NpHR). We initially characterized the halorhodopsins using Xenopus laevis oocytes (see Supplementary Methods for details). Illumination of HsHR- or NpHR-expressing oocytes led to rapid outward currents (Supplementary Fig. 1a). Both HsHR and NpHR have excitation maxima near 580 nm22, 23 (Fig. 1a; the action spectrum of NpHR was measured here in Xenopus oocytes using a xenon short arc lamp and narrow-bandwidth 20 nm filters), which, importantly, is red-shifted from the known ChR2 maximum of
460 nm4. This spectral separation indicated to us that ChR2 and a halorhodopsin could be activated independently or in synchrony to effect bidirectional optical modulation of membrane potential.
Figure 1: Electrophysiological properties of NpHR in oocytes and hippocampal neurons.

a, Action spectrum of NpHR in oocytes held at -50 mV, determined by 20 nm narrow bandwidth interference filters. The ChR2 action spectrum is provided for comparison4. b, Extracellular [Cl-] dependence of NpHR pump currents indicates a simple Michaelis–Menten type saturation with a KM of 16 mM (dashed fit curve). c, Hippocampal neurons expressing NpHR–EYFP (scale bar 50
m). d, Yellow light (593 nm)-induced outward photocurrent in neurons (top panel, voltage clamp) and membrane hyperpolarization (bottom panel, current clamp); illumination duration is indicated by the yellow bar. e, NpHR peak versus steady-state current (mean
s.d.; n = 15). f, Latency of NpHR activity measured from light onset to 50% of the peak current or hyperpolarization (mean
s.d.; n = 15). g, NpHR peak versus steady-state membrane hyperpolarization (mean
s.d.; n = 15). h, Illumination with yellow light potently inhibited neuronal firing.
The dependence of pump current on the extracellular Cl- concentration for both halorhodopsins was assayed using whole-cell recording. HsHR was found to have a lower extracellular Cl- affinity than NpHR (KM,NpHR = 16 mM, Fig. 1b; KM,HsHR = 32 mM) and measured currents showed rapid rundown at low extracellular Cl- concentrations (Supplementary Fig. 1b), which did not fully recover in darkness. Halorhodopsin pumps are expected to have a very low affinity for Cl- on the cytoplasmic side, where Cl- ions are released, because halorhodopsin-mediated chloride pumping can achieve molar concentrations of cytoplasmic Cl-. We found that the pump currents exhibited more or less linear voltage dependence, and Cl- current was robust for both halorhodopsins across all physiological voltage regimes (for NpHR see Supplementary Fig. 1c). On the basis of NpHR's higher extracellular Cl- affinity and stability, we chose to apply NpHR to neurons.
We introduced a mammalian codon-optimized NpHR gene fused with enhanced yellow fluorescent protein (NpHR–EYFP) into cultured rat hippocampal CA3/CA1 neurons using lentiviruses carrying the ubiquitous EF1
promoter (EF1
-NpHR–EYFP). Cells expressing NpHR–EYFP maintained robust expression (Fig. 1c) for weeks after infection. In voltage-clamp experiments, illumination of NpHR–EYFP cells with yellow light (bandwidth 573–613 nm using a Semrock filter FF01-593/40-25 and 300 W xenon lamp) induced rapid outward currents (Fig. 1d, upper panel) with a peak level of 43.8
25.9 pA and a steady-state level of 36.4
24.4 pA (mean
s.d. reported throughout this paper, unless otherwise stated, n = 15; Fig. 1e). The relatively small difference between the peak and steady-state currents is indicative of rare deprotonation of the NpHR Schiff base during the pump cycle22. The rise time from light onset to 50% of the peak current was consistent across cells (6.0
1.0 ms; Fig. 1f) with rise and decay time constants of
on = 6.1
2.1 ms and
off = 6.9
2.2 ms, respectively. Light-evoked responses were never seen in cells expressing EYFP alone (data not shown). In current-clamp experiments, NpHR–EYFP neurons exhibited light-evoked hyperpolarization (Fig. 1d; lower panel) with an average peak of 14.7
6.9 mV and a steady-state of 12.1
6.6 mV (Fig. 1g). The delay from light onset to 50% of hyperpolarization peak was 26.0
8.6 ms (Fig. 1f), and the rise and decay time constants were
on = 35.6
15.1 ms and
off = 40.5
25.3 ms, respectively. To test whether NpHR-mediated hyperpolarization could inhibit neuronal firing, we injected current-clamped neurons with a 200 pA current step for 2 s to evoke robust spike firing; concurrent light delivery abolished the evoked activity (Fig. 1h). Therefore, NpHR can indeed serve as an optical inhibitor of neuronal activity.
We next verified that NpHR functions in an unperturbed intracellular environment. We co-expressed NpHR–EYFP and ChR2 tagged with a red fluorescent protein variant (ChR2–mCherry) in cultured hippocampal neurons (Fig. 2a), and we probed NpHR function using cell-attached recordings with ChR2 photostimulation to drive reliable spike trains. Indeed, whereas trains of blue light pulses were able to evoke action potentials through the activation of ChR2, concomitant yellow light illumination abolished spike firing in both cell-attached and subsequent whole-cell recoding modes (Fig. 2b). After achieving the whole-cell configuration, voltage-clamp recording showed that independent exposure to yellow or blue light led to outward or inward photocurrents, respectively (Fig. 2c). This further confirms that ChR2 and NpHR can be combined to achieve bidirectional, independently addressable modulation of membrane potential in the same neuron. In addition, we found that NpHR inhibitory function does not require a specific pipette chloride concentration under these recording conditions, because NpHR-mediated inhibition is robust across a range of relevant whole-cell pipette chloride concentrations (4–25 mM) and physiologically negative resting potentials (Supplementary Fig. 2)—as expected from the fact that NpHR has evolved to deliver chloride ions to molar levels in the archaeal intracellular milieu.
Figure 2: Combining NpHR with ChR2 for noninvasive optical control.

a, Hippocampal neurons co-expressing NpHR–EYFP under control of the EF1
promoter and ChR2–mCherry under control of the synapsin I promoter. b, Cell-attached and whole-cell recording of neurons co-expressing NpHR–EYFP and ChR2–mCherry. Action potentials are evoked by brief pulses of blue light (473 nm, 15 ms per pulse; length of blue bars is not to scale for ease of visualization). Simultaneous illumination with yellow light inhibited spike firing. c, Voltage-clamp recording from a single neuron co-expressing NpHR–EYFP and ChR2–mCherry, showing independently addressable outward and inward photocurrents in response to yellow and blue light, respectively.
Effects of NpHR on neuronal physiology
We conducted extensive controls to test whether heterologous expression of NpHR in neurons would alter the membrane properties or survival of neurons. Lentiviral expression of NpHR for at least 2 weeks did not alter neuronal resting potential (-53.1
6.3 mV for NpHR+ cells, -57.0
4.8 mV for NpHR- cells, and -56.7
5.7 mV for NpHR+ cells exposed to yellow light for 10 min followed by a delay period of 1 day; Supplementary Fig. 2a, n = 12 each) or membrane resistance (114.5
34.1 M
for NpHR+ cells, 108.9
20.1 M
for NpHR- cells, and 111.4
23 M
for the light-exposed NpHR+ cells; Supplementary Fig. 2b, n = 12 each). These electrical measurements indicate that NpHR had little basal electrical activity or passive current-shunting ability and did not compromise cell health. We also tested the dynamic electrical properties of neurons with and without NpHR. There was no significant difference in the number of spikes evoked by 500 ms of a 300-pA current injection (7.5
2.8 for NpHR+ neurons, 10.7
7.9 for NpHR- neurons, and 9.3
5.1 for the light-exposed NpHR+ neurons; Supplementary Fig. 2c). Finally, we stained live NpHR+ neurons (with and without light exposure) and NpHR- neurons with the membrane-impermeant DNA-binding dye propidium iodide to assess cell survival. NpHR expression did not affect the percentage of neurons that took up propidium iodide (13/240 for NpHR+ cells, 7/141 for NpHR- cells, and 10/205 for the light-exposed NpHR+ cells; Supplementary Fig. 2d, P > 0.999 by
2 test). These experiments indicate that NpHR expression does not significantly affect the health or basal electrical properties of neurons.
NpHR operates over a range of timescales
To quantify the capabilities of NpHR for inhibiting neural activity, we first determined the tunability of NpHR efficacy with different intensities of delivered light. Using a 200 pA current step, which drove reliable action potential trains, we found that maximal light intensity of 21.7 mW mm-2 under a
40, 0.8 numerical aperture water-immersion objective inhibited 98.2
3.7% of the spikes (Fig. 3a and b). Using 33% or 50% of the full light intensity inhibited 74.9
22.2% and 87.3
13.5% of spikes, respectively (Fig. 3b). With steady current injection, lower intensities of light were effective for a shorter period of time; the delays from light onset to the first escaped spike under 33%, 50% and 100% light intensity were 533.65
388.2 ms, 757.5
235.5 ms and 990.5
19.1 ms, respectively (Fig. 3c). Therefore, inhibition will be more effective early in the light pulse, presumably owing to the slight inactivation of NpHR. Except where otherwise noted, we conducted the rest of the experiments with 21.7 mW mm-2 yellow light delivered to the neurons.
Figure 3: NpHR mediates tunable neuronal inhibition over a range of timescales.

a, Increasing intensities of light lead to stronger inhibition of spikes evoked by 200 pA of current injection (21.7 mW mm-2 at 100% intensity). b, Per cent of spikes inhibited at three different light intensities (1 s of light exposure, mean
s.d.; n = 7). c, Duration of effective inhibition as measured by the delay from light onset to the first escaped spike (mean
s.d.; n = 7). d, Ten min continuous illumination (two successive sweeps) robustly inhibited neuronal spike trains elicited by current pulse injection (300 pA, 5 Hz). Dashed boxes show the inhibition on an expanded timescale. Per cent efficacy of inhibition over 10 min measured by breaking down the 10 min interval into 1 min bins (inset, mean
s.d.; n = 5).
Using trains of brief current pulses to generate spike trains, we tested whether NpHR could mediate both long-term inhibition (to emulate lesions on the timescale of seconds to minutes) and short-term inhibition (to modify spike firing on the millisecond timescale). We first tested long-term inhibition over 10 min by injecting 300-pA current pulses at 5 Hz to drive steady action potential firing. Concurrent yellow light was delivered continuously for 10 min. NpHR-mediated inhibition of spike trains was highly stable, remaining effective over many minutes (Fig. 3d). Almost all (99.0
1.9%) spikes were inhibited within the first two minutes, and over 90% of spikes were inhibited for up to 8 min (n = 5; Fig. 3d, inset). The slight decrease in efficacy is probably due to accumulation of non-functional NpHRs with a deprotonated Schiff base over long periods of light exposure24. Although natural reprotonation of the Schiff base is slow, any non-functional NpHRs can be readily and quickly restored by brief illumination with blue light24 (Supplementary Fig. 2h).
NpHR inhibits with single-spike precision
We next tested whether NpHR activation might allow the 'knockout' of single action potentials. Because the fast photocurrent of ChR2 enables brief pulses of blue light to drive reliable action potential trains2, we used brief pulses of yellow light to test NpHR-mediated inhibition. To assess the temporal resolution of spike inhibition, we attempted to inhibit pairs of spikes in action potential trains of 5, 10, 20 and 30 Hz (Fig. 4a) and found that single spikes could be reliably inhibited even from within spike trains (Fig. 4a). To define the temporal precision of NpHR we inhibited selected pairs of spikes with a range of inter-spike temporal delays. Both closely timed and temporally separated spike pairs could be reliably inhibited, while sparing spikes between the targeted times (n = 6, Fig. 4a–c). Over spike rates of 5 to 30 Hz, the closely timed spikes could be selectively inhibited with a probability of 0.95 or greater. We also found that by giving trains of millisecond-scale yellow light pulses, it was straightforward to simulate barrages of inhibitory postsynaptic potential (IPSP)-like events with precise, reliable timing and amplitudes, from 5 to 100 Hz (Fig. 4d). Because NpHR is a Cl- pump and not a channel, the light-driven inhibition acts by shifting the membrane potential and will not contribute to shunting or input resistance changes. Indeed, we found that whereas the GABAA chloride channel agonist muscimol significantly decreased neuronal input resistance, NpHR activation had no detectable effect on the input resistance (Fig. 4e, f).
Figure 4: Temporal precision of NpHR-mediated inhibition.

a, Inhibition of spike pairs at different frequencies. Trains of ten spikes were evoked by 300 pA current injection pulses, and pairs of light pulses with variable temporal separation were used to inhibit the selected spikes. b, Probability of inhibiting the second spike in the pair, as a function of spike frequency, for short separations (spikes 2–5 in the spike train, mean
s.d.; n = 6). c, Probability of inhibiting the second spike in the pair, as a function of spike frequency, for longer separations (spikes 6–9 in the spike train, mean
s.d.; n = 6). d, NpHR can be employed to mimic precisely timed IPSP barrages at different frequencies; five successively acquired traces are overlaid for each frequency. e, Voltage-clamp recording of NpHR–EYFP-expressing neurons. Test pulses (5 mV, 200 ms) were used to test for changes in input resistance (Rin) during yellow light illumination or 50 nM muscimol application. Grey traces show the control condition. f, Summary plot showing that NpHR activation did not affect Rin (100.2
1.15% of control, mean
s.d.; n = 4), whereas muscimol application significantly decreased Rin (14
26.8% of control, mean
s.d.; n = 4).
Because both ChR2 and NpHR can be activated with high temporal precision using millisecond-scale blue or yellow light pulses, we next asked if it would be possible to drive both proteins in intermingled, temporally precise patterns to non-invasively activate or inhibit single identified action potentials with light in the same experiment, or even in the same cell. Indeed, cell-attached and whole-cell recordings in hippocampal pyramidal neurons revealed that precisely patterned trains of yellow and blue light pulses can be used to evoke and inhibit neural activity with single-spike precision (Fig. 5a), and that NpHR can be used to override multiple preselected ChR2-driven spikes at identified positions in prolonged spike trains (Fig. 5a).
Figure 5: Bidirectional optical neural control and in vivo implementation.

a, Cell-attached (left panel) and whole-cell (right panel) recording of cultured hippocampal neurons co-expressing ChR–mCherry and NpHR–EYFP. Action potentials were evoked by trains of blue light pulses (5 Hz trains, 15 ms pulse width, blue bars). NpHR-mediated inhibition was co-administered by brief yellow light pulses (50 ms pulse width, yellow bars). b, Confocal image from an acute mouse brain slice showing membrane-localized NpHR–EYFP expression in the hippocampal CA3 subfield (left panel; scale bar, 150
m). Current-clamp recording at right shows NpHR-mediated inhibition of specific spikes during a train of action potentials evoked by pulsed current injection (300 pA, 20 Hz). c, Left panel, epifluorescence images of cortical neurons triple-labelled with NpHR–EYFP, ChR2–mCherry and Fura-2. Scale bar, 20
m. Middle panel, simultaneous illumination of cells co-expressing NpHR–EYFP and ChR2–mCherry with steady yellow (continuous illumination, 6 s) and pulsed blue light (50 pulses at 15 ms per flash, 10 Hz) prevented [Ca2+]i transients (top trace, mean
s.e.; n = 6). Subsequent photostimulation of the same cells with blue light pulses (50 pulses at 15 ms per flash, 10 Hz) evoked reliable [Ca2+]i transients (bottom trace). Right panel, summary graph of photostimulation-induced fluorescence changes (mean
s.e.; n = 6 ChR2-activated triple-labelled cells).
Application of NpHR in the mammalian brain
A crucial feature of ChR2 is that it can be functionally expressed in the mammalian brain without exogenous delivery of its required cofactor all-trans-retinal (ATR)3, presumably owing to the presence of endogenous retinoids in the mammalian brain. We anticipated that this unique and important property could extend to NpHR, which also employs an ATR chromophore. To test this possibility, we delivered lentiviruses carrying NpHR–EYFP under the neuronal CaMKII
promoter into the hippocampus of the adult mouse. Neurons throughout the hippocampus exhibited stable expression of NpHR–EYFP, as indicated by robust EYFP fluorescence (CA3 subfield shown; Fig. 5b, left panel). NpHR–EYFP cells in acute hippocampal slices exhibited voltage-clamp photocurrents similar to those observed in cultured neurons (data not shown), and current clamp recording of NpHR–EYFP neurons revealed that temporally precise patterns of spike inhibition could be achieved readily, as in dissociated culture (Fig. 5b, right panel). No exogenous cofactors were delivered at any point, indicating that NpHR can be functionally applied to mammalian systems in vivo.
Combining NpHR and ChR2 with imaging and behaviour
We next combined the NpHR/ChR2 system, expressed in living mammalian neural circuitry, with fura-2 calcium imaging in an all-optical experiment. Lentiviruses carrying ChR2–mCherry under the neuron-specific CaMKII
promoter and NpHR–EYFP under the EF1
promoter were injected into the brain of postnatal day 4 (P4) mouse pups; acute cortical slices were prepared at P10–P14 and labelled with fura-2-acetoxymethyl. In neurons co-expressing ChR2–mCherry and NpHR–EYFP (Fig. 5c, left panel), initial simultaneous illumination with both blue and yellow light did not lead to intracellular calcium concentration ([Ca2+]i) transients, whereas subsequent pulsed blue light alone in the same neurons evoked ChR2-triggered [Ca2+]i transients (Fig. 5c, middle panel), demonstrating that NpHR and ChR2 can be integrated to achieve multimodal, bidirectional control of neural activity in intact tissue. In the same imaged cells where ChR2 stimulation led to a 3.1
0.3% increase in fluorescence intensity ratios
F/F0, the combination of NpHR and ChR2 activation resulted in a 0.0
0.2% effect on
F/F (n = 6, P < 0.0001; Fig. 5c, right panel). Yellow illumination alone had no detectable effect on [Ca2+]i (not shown). Because not all targeted cells are necessarily affected to the same degree (Fig. 1), this optical system could complement electrophysiology to probe successful modulation of the targeted cell population.
Combining ChR2 and NpHR with calcium imaging provides an all-optical system for interrogation of neural circuits. We next asked if this system could robustly control animal behaviour in vivo. We first expressed an NpHR–ECFP fusion protein in the body wall muscles of the nematode Caenorhabditis elegans using the muscle-specific myosin promoter (Pmyo-3). ECFP fluorescence could be readily observed throughout muscle cells and membranous muscle arm extensions (Fig. 6a and Supplementary Fig. 3a). Because nematode worms (unlike mammals) seem not to have sufficient levels of endogenous retinoids6, transgenic animals expressing NpHR in muscle were grown in medium containing ATR. Whole-cell voltage-clamp recordings from dissected muscles indeed demonstrated light-evoked outward currents (265
82 pA, n = 9; Fig. 6a). To test effects on muscle activity, swimming behaviour in liquid medium was analysed. Consistent with the photocurrents observed, photoactivation of NpHR immediately (within
150 ms) and essentially completely arrested swimming behaviour (Fig. 6a, b and Supplementary Movie 1). As controls, we used transgenic animals raised in the absence of ATR, and wild-type animals raised with and without ATR. Importantly, robust paralysing effects of light were observed, but consistently only in transgenic animals raised in the presence of ATR. When muscle-expressing animals were illuminated for 1 s, they quickly returned to their natural swimming rate after light-stimulus termination (Fig. 6b). When NpHR was activated in muscle for 10 s (Fig. 6b), animals remained uncoordinated for prolonged periods (up to 40 s), before a full recovery became apparent and normal swimming commenced (Supplementary Fig. 3c).
Figure 6: Bidirectional optical control of C. elegans.

a, Epifluorescence image showing Pmyo-3-mediated (transgene zxEx30) NpHR–ECFP expression in the body wall muscles of C. elegans (top left panels; see Supplementary Fig. 3a for higher magnification). Muscle voltage-clamp trace (bottom left panel) showing photocurrent in transgenic C. elegans expressing NpHR–ECFP (transgene zxEx30) and raised in the presence of ATR (black trace); note lack of response in transgenic animal raised in the absence of ATR (grey trace). NpHR activation targeted to muscle using Pmyo-3 blocked swimming behaviour in liquid medium (right panels, transgene zxEx29). Animal postures from three consecutive movie frames (frame rate 12.5 Hz), either with or without NpHR photoactivation, were superimposed. b, Effect of 10 s illumination on swimming rate (mean
s.e.; n = 10 for each set) in wild-type controls (green), animals expressing NpHR in muscles (transgene zxEx29; blue), or cholinergic motor neurons (transgene zxEx33; red). The number of swimming cycles per second was counted in bins of 10 s or 5 s intervals; illumination is shown as the orange bar. A briefer 1 s illumination protocol was also used, revealing rapid inhibition during illumination and faster recovery by comparison with the 10 s illumination (see also Supplementary Fig. 3c for full muscle recovery analysis). c, Effect of 1 s illumination on body length (mean
s.e.; n = 5–6 for each set). Movies were taken from transgenic worms expressing NpHR in muscles (transgene zxEx29) or cholinergic motor neurons (transgene zxEx33). Plot shows the body length during the first frame before illumination, the 13 frames during the illumination, and the next 11 frames after illumination ended. Colour-coding and controls were as in b. d, Combined ChR2/NpHR expression in muscle cells (transgene zxEx32) or cholinergic motor neurons (transgene zxEx34) of worms. NpHR activation significantly reversed the muscle contraction caused by ChR2 activation (mean
s.e.; n = 6 per condition; *P < 0.05; **P < 0.01; ***P < 0.001; between consecutive time points 1 s apart; t-test), but not in animals raised in the absence of ATR.
We next targeted NpHR to a specific class of genetically defined neurons in vivo. We expressed NpHR–ECFP in cholinergic motor neurons using the vesicular acetylcholine transporter promoter (Punc-17)25. When illuminated for 1 or 10 s, respectively, these animals also strongly reduced or essentially stopped swimming behaviour (Fig. 6b and Supplementary Movie 2). These animals, in contrast to the muscle-targeted individuals, recovered to normal swimming behaviour immediately. This may indicate that neurons have more powerful Cl- homeostasis mechanisms than muscles, though in all cases full recovery was observed, as expected from the lack of toxicity observed in mammalian neurons (Supplementary Fig. 2).
When illuminated on solid agar substrate, transgenic animals expressing NpHR either in muscle or in cholinergic motor neurons, exhibited rapid inhibition of movement and relaxed their bodies, resulting in overall elongation by up to 9% within
600 ms of illumination (Fig. 6c and Supplementary Movies 3, 4 and 5). Finally, we found that ChR2 and NpHR could be driven simultaneously in C. elegans as well. With either muscle or targeted cholinergic neuron expression (using the Pmyo-3 or Punc-17 promoters, respectively), NpHR rapidly and reversibly counteracted the shortening behaviour observed with ChR2 alone (Fig. 6d and Supplementary Movies 6 and 7). These experiments demonstrate for the first time that acetylcholine release can be efficiently triggered from C. elegans motor neurons using ChR2, and that ChR2 and NpHR work well together in nematodes as well as mammals.
Discussion
The NpHR/ChR2 system enables rapid bidirectional control of neurons on the timescale of milliseconds, thus enabling emulation or alteration of the neural code. These fast genetically based, neural-spike-controlling technologies powerfully augment existing tools for interrogating neural systems26, 27, 28, 29, 30, 31, 32, 33. Although other optical neural modulators typically require the addition of exogenous chemicals10, 18, 34, 35, both NpHR and ChR2 can be functionally expressed and operate at high speed in the mammalian brain without necessitating cofactor addition. Moreover, NpHR and ChR2 function in C. elegans as well (Fig. 6) after simple dietary ATR supplementation9. When combined with imaging36 or other measures in intact tissue or freely moving animals, the NpHR/ChR2 system provides the capability to directly and causally link precisely defined patterns of neural activity with specific circuit behaviours.
The ability to use light to inhibit5, 10, 37 or activate2, 34, 35, 38, 39, 40, 41, 42 neurons may have practical applications beyond basic science investigation, as the NpHR/ChR2 system could be genetically targeted to specific classes of neurons or other excitable cells involved in disease processes to enable highly precise optical therapeutic treatments. For example, in Parkinson's disease electrode-based deep brain stimulation can be therapeutic for symptomatic relief but also gives rise to side effects. Delivery of these optogenetic tools targeted by cell-type-specific promoters to distinct disease-related neuronal types may provide a more precise alternative with fewer side effects and will lead to physiological insights into animal models of disease.
Whether applied in basic science or clinical applications, the spectral separation between the NpHR and ChR2 activation maxima permits both sufficiency and necessity testing in elucidation of the roles of specific cell types in high-speed intact circuit function. Indeed, integration of GFP-based probes and fura-2 with the NpHR/ChR2 neural control system delivers a powerful and complementary triad of technologies to identify, observe and control intact living neural circuitry with light.
Methods summary
DNA constructs
Plasmid constructs were prepared according to standard molecular biology protocols. The lentiviral backbone was provided as a gift by P. Osten43. A list of C. elegans transgenes used can be found in Supplementary Table 1.
Lentivirus preparation and stereotactic injection
Lentiviruses were prepared as previously described2 (a step-by-step instruction can be found in the methods). For electrophysiology, 1
l of virus solution was injected into the hippocampal CA3 region of 5–7-week-old C57BL/6 mice (anteroposterior, -2.0 mm from bregma; lateral, 2 mm; ventral, 2.2 mm). For calcium imaging younger animals were used (postnatal day 4 or 5).
Electrophysiology and calcium imaging
Recordings in oocytes4, 20 and neurons2 were carried out as previously described. Detailed composition of intra- and extracellular solutions can be found in the methods. For calcium imaging, Fura-2-AM was loaded into the regions of interest as previously described44. Excitation of NpHR and ChR2 were accomplished using 593 nm and 437 nm excitation filters, respectively. The 300 W Lambda DG-4 (Sutter Instruments) was used for illumination and rapid wavelength switching. Frames were collected at 0.5 Hz. [Ca2+]i changes were detected in single cells and expressed as the fluorescence intensity ratios
F/F0 with the resting fluorescence value F0 determined at the beginning of each experiment. Patch clamping of C. elegans muscle was performed as previously described6, at a holding potential of -40 mV.
C. elegans stimulation and electrophysiology
Transgenic worms were generated using standard transgenic techniques. C. elegans were grown in the presence of ATR, as described previously6 except that the ATR concentration was reduced to 5
M. NpHR activation was achieved using a 50 W mercury lamp and bandpass filters. For co-activation of ChR2, a 473 nm laser was used.

e 9, D-60438 Frankfurt, Germany
M ATR in the medium (90 mM NaCl, 2 mM KCl, 1 mM MgCl2, 1.8 mM CaCl2, 5 mM HEPES, pH 7.4/NaOH) to reconstitute functional halorhodopsins. As a control uninjected oocytes were incubated in the same medium. Oocytes were recorded using two-electrode voltage-clamp (Turbo Tec-05) and illuminated with a continuous He-Ne laser (594 nm, LYHR-0600M, Laser 2000). The maximum light intensity was 3 mW mm-2 and was focused to a diameter close to the dimensions of the oocyte. In giant patch experiments from halorhodopsin-expressing oocytes we used a continuous He-Ne laser of 633 nm with light intensities up to 400 mW mm-2.