Background: Specialized inpatient or residential treatment might be an alternative treatment approach for patients with obsessive-compulsive disorder (OCD) that do not respond satisfactorily to the standard outpatient treatment formats.Method: The aim of this open trial was to investigate the 6-month effectiveness of a 3-week inpatient treatment of OCD, where exposure with response prevention (ERP) was the main treatment intervention. The sample consisted of 187 adult patients with OCD, all with previous treatment attempts for OCD.Results: The sample showed significant reductions in symptoms of OCD and depression. The effect sizes were large for obsessive-compulsive symptoms and moderate to large for depressive symptoms. At discharge, 79.7% of the intent-to-treat (ITT) group were classified as treatment responders (≥35% reduction in Y-BOCS scores). However, some participants experienced relapse, as 61.5% of the ITT group were classified as treatment responders at 6-month follow-up. Antidepressant use appeared not to influence the outcome. Only pre-treatment levels of obsessive-compulsive symptoms emerged as a significant predictor of relapse.Conclusion: The 3-week inpatient programme produced similar treatment effects as previous inpatient and residential studies of longer duration (2 – 3 months). The results suggest that patients with severe OCD can be treated efficiently using this brief inpatient format. However, better relapse prevention interventions are needed.