The optical neuroscience revolution is transforming how we study neural circuits. By providing a precise way to manipulate endogenous neuronal signaling proteins, it also has the potential to transform our understanding of molecular neuroscience. Recent advances in chemical biology have produced light-sensitive compounds that photoregulate a wide variety of proteins underlying signaling between and within neurons. Chemical tools for optopharmacology include caged agonists and antagonists and reversibly photoswitchable ligands. These reagents act on voltage-gated ion channels and neurotransmitter receptors, enabling control of neuronal signaling with a high degree of spatial and temporal precision. By covalently attaching photoswitch molecules to genetically tagged proteins, the newly emerging methodology of optogenetic pharmacology allows biochemically precise control in targeted subsets of neurons. Now that the tools for manipulating endogenous neuronal signaling proteins are available, they can be implemented in vivo to enhance our understanding of the molecular bases of brain function and dysfunctions.