How specific sensory stimuli evoke specific behaviors is a fundamental problem in neurobiology. In Drosophila, most odorants elicit attraction or avoidance depending on their concentration, as well as their identity . Such odorants, moreover, typically activate combinations of glomeruli in the antennal lobe of the brain [2-4], complicating the dissection of the circuits translating odor recognition into behavior. Carbon dioxide (CO2), in contrast, elicits avoidance over a wide range of concentrations [5, 6] and activates only a single glomerulus, V . The V glomerulus receives projections from olfactory receptor neurons (ORNs) that coexpress two GPCRs, Gr21a and Gr63a, that together comprise a CO2 receptor [7-9]. These CO2-sensitive ORNs, located in the ab1 sensilla of the antenna, are called ab1c neurons . Genetic silencing of ab1c neurons indicates that they are necessary for CO2-avoidance behavior . Whether activation of these neurons alone is sufficient to elicit this behavior, or whether CO2 avoidance requires additional inputs (e.g., from the respiratory system), remains unclear. Here, we show that artificial stimulation of ab1c neurons with light (normally attractive to flies) elicits the avoidance behavior typical of CO2. Thus, avoidance behavior appears hardwired into the olfactory circuitry that detects CO2 in Drosophila.