ABSTRACT: Obsessive-Compulsive Disorder (OCD) is characterized by repetitive avoidance behavior which is distressing and associated with marked impairment of everyday life. Recently, paradigms have been designed to explore the hypothesis that avoidance behavior in OCD is consistent with a formal conception of habit. Such studies have involved a devaluation paradigm, in which the value of a previously rewarded cue is altered so that avoidance is no longer necessary. We employed a rule-based avoidance task which included a devaluation, examining behavioral performance on the task and their neural correlates using functional MRI in groups of participants with OCD (n = 44) and healthy control participants (n = 46). Neuroimaging data were analyzed using a general linear model (GLM), modelling valued, devalued and control cues, as well as feedback events. First, while no overall effect of OCD was seen on devaluation performance, patients with longer illness duration showed poorer devaluation performance (?2 = 13.84, p < 0.001). Reduced devaluation was related to impaired learning on the overtraining phase of the task, and to enhanced feedback activation in the caudate and parietal lobe during within-scanner retraining (T = 5.52, p_FWE = 0.003), across all participants. Second, a significant interaction effect was observed in the premotor cortex (F = 29.03, p_FWE = 0.007) coupled to the devalued cue. Activations were divergent in participants with OCD (lower activation) and healthy controls (higher activation) who did not change responding to the devalued cue following devaluation, and intermediate in participants who did change responding (T = 5.39, p_FWE = 0.003). Finally, consistent with previous work, medial orbitofrontal cortex activation coupled to valued cues was reduced in OCD compared to controls (T = 3.49, p_FWE = 0.009). The findings are discussed in terms of a prediction error-based model of goal-directed and habitual control: specifically, how goal-directed control might be diminished in OCD in favor of habits. They suggest that illness duration might be significant determinant of variation in impaired goal-directed learning in OCD, and be a factor relevant for understanding discrepancies across studies. Overall, the study shows the potential of conceptual replication attempts to provide complementary insights into compulsive behavior and its associated neural circuitry in OCD.