Crystal structure and drug pharmacophore structure-activity data guided a combined mutagenesis and chemical screen to develop ligand-gated ion channels activated by unique chemical agonists. Through genetic engineering, these channels can be used to manipulate neuronal excitability and dissect the neuronal circuitry responsible for complex behaviors.