The nucleus accumbens mediates both appetitive motivation for rewards and fearful motivation toward threats, which are generated in part by glutamate-related circuits organized in a keyboard fashion. At rostral sites of the medial shell, localized glutamate disruptions typically generate intense appetitive behaviors in rats, but the disruption incrementally generates fearful behaviors as microinjection sites move more caudally. We found that exposure to stressful environments caused caudal fear-generating zones to expand rostrally, filling approximately 90% of the shell. Conversely, a preferred home environment caused fear-generating zones to shrink and appetitive-generating zones to expand caudally, filling approximately 90% of the shell. Thus, the emotional environments retuned the generation of motivation in corticolimbic circuits.