The stress-related neuropeptide, corticotropin-releasing factor (CRF) regulates the dorsal raphe nucleus-serotonin (DRN-5-HT) system during stress and this may underlie affective and cognitive dysfunctions that characterize stress-related psychiatric disorders. CRF acts on both CRF 1 and CRF 2 receptor subtypes in the DRN that exert opposing inhibitory and excitatory effects on DRN-5-HT neuronal activity and 5-HT forebrain release, respectively. The current study first assessed the cognitive effects of intra-DRN microinfusion of CRF or the selective CRF 2 agonist, urocortin II in stress-naive rats on performance of an operant strategy set-shifting task that is mediated by the medial prefrontal cortex (mPFC). CRF (30 ng) facilitated strategy set-shifting performance, whereas higher doses of CRF and urocortin II that would interact with CRF 2 were without effect, consistent with a CRF 1 -mediated action. This dose decreased 5-HT extracellular levels in the mPFC, further supporting a role for CRF 1 . The effects of CRF were then assessed in rats exposed to repeated social stress using the resident-intruder model. Repeated social stress shifted the CRF effect from facilitation of strategy set shifting to facilitation of reversal learning and this was most prominent in a subpopulation of rats that resist defeat. Notably, in this subpopulation of rats 5-HT neuronal responses to CRF have been demonstrated to shift from CRF 1 -mediated inhibition to CRF 2 -mediated excitation. Because 5-HT facilitates reversal learning, the present results suggest that stress-induced changes in the cellular effects of CRF in the DRN translate to changes in cognitive effects of CRF. Together, the results underscore the potential for stress history to shift cognitive processing through changes in CRF neurotransmission in the DRN and the association of this effect with coping strategy.