Release and reuptake of neuromodulator serotonin, 5-HT, is central to mood regulation and neuropsychiatric disorders, whereby imaging serotonin is of fundamental importance to study the brain's serotonin signaling system. We introduce a reversible near-infrared nanosensor for serotonin (nIRHT), for which synthetic molecular recognition toward serotonin is systematically evolved from ssDNA-carbon nanotube constructs generated from large libraries of 6.9 × 10 10 unique ssDNA sequences. nIRHT produces a ~200% fluorescence enhancement upon exposure to serotonin with a Kd = 6.3 µM affinity.nIRHT shows selective responsivity towards serotonin over serotonin analogs, metabolites, and receptortargeting drugs, and a 5-fold increased affinity for serotonin over dopamine. Further, nIRHT can be introduced into the brain extracellular space in acute slice, and can be used to image exogenous serotonin reversibly. Our results suggest evolution of nanosensors could be generically implemented to rapidly develop other neuromodulator probes, and that these probes can image neuromodulator dynamics at spatiotemporal scales compatible with endogenous neuromodulation.Serotonin, or 5-hydroxytryptamine (5-HT) is a monoamine neuromodulator that plays diverse roles in the central nervous system and is critically implicated in the etiology and treatment of mood and psychiatric disorders 1 . 5-HT also plays critical roles in modulating memory and learning 2, 3 , and in the regulation of mood 4 , sleep 5 , and appetite 5 . As such, aberrations in 5-HT signaling are thought to underlie multiple mental health disorders including major depressive disorder 6 , bipolar disorder 7 , autism 8 , schizophrenia 9 , anxiety 10 , and addiction 11 . Classical neurotransmission occurs through rapid activation of ligand-gated ion channels in which neurotransmitter signaling is confined at the synaptic cleft and thus to singular synaptic partners 12 . However, 5-HT acts primarily as a neuromodulator and may undergo signaling through extrasynaptic diffusion, enabling few neurons to affect broader networks of neuronal activity through 5-HT volume transmission. As such, there is great interest in monitoring the spatial component of 5-HT modulation in addition to its temporal dynamics. Current methods for measuring 5-HT include tools adapted from analytical chemistry to measure 5-HT in the brain extracellular space with varying levels of selectivity and spatiotemporal resolution: fast-scan cyclic voltammetry leverages redox chemistry to enable rapid temporal measurement of 5-HT by inserting a carbon electrode into brain tissue 13 .Microdialysis is an analytical chemistry method in which fluid samples from brain tissue are subject to downstream analysis with chromatography 14 . Recently, a field-effect transistor sensor modified with a 5-HT aptamer was reported to exhibit a highly sensitive and selective electrochemical response to 5-HT in physiological conditions 15 . However, previous methods suffer from limited spatial resolution, and microdialysis sampling oc...