The goal of this project is to study changes in brain networks and harm avoidance behavior that track with OCD-related symptoms and illness behavior over the course of 8-week residential treatment, using a longitudinal, repeated measures design complemented by intensive longitudinal assessment.