PT - JOURNAL ARTICLE AU - Lorenz A. Fenk AU - Mario de Bono TI - A memory of recent oxygen experience switches pheromone valence in <em>C. elegans</em> AID - 10.1101/107524 DP - 2017 Jan 01 TA - bioRxiv PG - 107524 4099 - http://biorxiv.org/content/early/2017/02/10/107524.short 4100 - http://biorxiv.org/content/early/2017/02/10/107524.full AB - Animals adjust their behavioral priorities according to momentary needs and prior experience. We show that C. elegans changes how it processes sensory information according to the oxygen environment it experienced recently. C.elegans acclimated to 7% O2 are aroused by CO2 and repelled by pheromones that attract animals acclimated to 21% O2. This behavioral plasticity arises from prolonged activity differences in a circuit that continuously signals O2 levels. A sustained change in the activity of O2 sensing neurons reprograms the properties of their post-synaptic partners, the RMG hub interneurons. RMG is gap-junctionally coupled to the ASK and ADL pheromone sensors that respectively drive pheromone attraction and repulsion. Prior O2 experience has opposite effects on the pheromone responsiveness of these neurons. These circuit changes provide a physiological correlate of altered pheromone valence. Our results suggest C. elegans stores a memory of recent O2 experience in the RMG circuit and illustrate how a circuit is flexibly sculpted to guide behavioral decisions in a context-dependent manner.