Insect gustatory systems comprise multiple taste organs for detecting chemicals that signal palatable or noxious quality. Although much is known about how taste neurons sense various chemicals, many questions remain about how individual taste neurons in each taste organ control feeding. Here, we use the Drosophila pharynx as a model to investigate how taste information is encoded at the cellular level to regulate consumption of sugars and amino acids. We first generate taste-blind animals and establish a critical role for pharyngeal input in food selection. We then investigate feeding behavior of both male and female flies in which only selected classes of pharyngeal neurons are restored via binary choice feeding preference assays as well as Fly Liquid-Food Interaction Counter (FLIC) assays. We find instances of integration as well as redundancy in how pharyngeal neurons control behavioral responses to sugars and amino acids. Additionally, we find that pharyngeal neurons drive sugar feeding preference based on sweet taste but not on nutritional value. Finally, we demonstrate functional specialization of pharyngeal and external neurons using optogenetic activation. Overall, our genetic taste neuron protection system in a taste-blind background provides a powerful approach to elucidate principles of pharyngeal taste coding and demonstrates functional overlap and subdivision among taste neurons.SIGNIFICANCE STATEMENTDietary intake of nutritious chemicals such as sugars and amino acids is essential for an animal's survival. In insects, distinct classes of taste neurons control acceptance or rejection of food sources. Here we develop a genetic system to investigate how individual taste neurons in the Drosophila pharynx encode specific tastants, focusing on sugars and amino acids. By examining flies in which only a single class of taste neurons is active, we find evidence for functional overlap as well as redundancy in responses to sugars and amino acids. We also uncover functional subdivision between pharyngeal and external neurons in driving feeding responses. Overall, we find that different pharyngeal neurons act together to control intake of the two categories of appetitive tastants.