Animals must be able to find and evaluate food to ensure survival. The ability to associate a cue with the presence of food is advantageous because it allows an animal to quickly identify a situation associated with a good, bad, or even harmful food. Identifying genes underlying these natural learned responses is essential to understanding this ability. Here, we investigate whether natural variation in the foraging (for) gene in Drosophila melanogaster larvae is important in mediating associations between either an odor or a light stimulus and food reward. We found that for influences olfactory conditioning and that the mushroom bodies play a role in this for-mediated olfactory learning. Genotypes associated with high activity of the product of for, cGMP-dependent protein kinase (PKG), showed greater memory acquisition and retention compared with genotypes associated with low activity of PKG when trained with three conditioning trials. Interestingly, increasing the number of training trials resulted in decreased memory retention only in genotypes associated with high PKG activity. The difference in the dynamics of memory acquisition and retention between variants of for suggests that the ability to learn and retain an association may be linked to the foraging strategies of the two variants.Learned associations such as identifying odors as indicators of food, or showing preferences for food-related odors, are conserved across diverse taxa from humans and mice to slugs, honeybees, and fruit flies (Ache and Young 2005). The fruit fly Drosophila melanogaster can use odors as cues for the presence of both a food reward and an aversive stimulus (Tempel et al. 1983;Scherer et al. 2003;Schwaerzel et al. 2003;Margulies et al. 2005;McGuire et al. 2005;Kim et al. 2007). Identifying genes underlying these natural learned responses is essential to understanding this ability. Here, we use classical reward conditioning to investigate how natural variation in the foraging (for) gene affects acquisition and decay of memory in D. melanogaster larvae.for encodes a cGMP-dependent protein kinase (PKG) (Osborne et al. 1997). In mammals, PKG is important for proper induction of long-term potentiation (LTP) and long-term depression (LTD) (Hartell 1994;Zhuo et al. 1994;Lev-Ram et al. 1997;Arancio et al. 2001;Fiel et al. 2003Fiel et al. , 2005Kleppisch et al. 2003;Hofmann et al. 2006). Although LTP and LTD are thought to be important mechanisms underlying learning and memory (Whitlock et al. 2006), few studies have shown a direct role for PKG in learning and memory. This study aims to do this by investigating how learning differs between allelic variants of for in Drosophila larvae.for is an ideal candidate to study how natural genetic variation can affect learning and memory, since natural for variants exist that have subtle but significant variations in PKG activity (Osborne et al. 1997). The rover variants of for (for R ) have higher for transcript levels and higher PKG activities compared with the sitter variants of for (for s ) (Osb...