Obsessive-compulsive disorder (OCD) is a highly disabling mental illness that can be divided into frequent primary and rarer organic secondary forms. Its association with secondary autoimmune triggers was introduced through the discovery of Pediatric Autoimmune Neuropsychiatric Disorder Associated with Streptococcal infection (PANDAS) and Pediatric Acute onset Neuropsychiatric Syndrome (PANS). Autoimmune encephalitis and systemic autoimmune diseases or other autoimmune brain diseases, such as multiple sclerosis, have also been reported to sometimes present with obsessive-compulsive symptoms (OCS). Subgroups of patients with OCD show elevated proinflammatory cytokines and autoantibodies against targets that include the basal ganglia. In this conceptual review paper, the clinical manifestations, pathophysiological considerations, diagnostic investigations, and treatment approaches of immune-related secondary OCD are summarized. The novel concept of “autoimmune OCD” is proposed for a small subgroup of OCD patients, and clinical signs based on the PANDAS/PANS criteria and from recent experience with autoimmune encephalitis and autoimmune psychosis are suggested. Red flag signs for “autoimmune OCD” could include (sub)acute onset, unusual age of onset, atypical presentation of OCS with neuropsychiatric features (e.g., disproportionate cognitive deficits) or accompanying neurological symptoms (e.g., movement disorders), autonomic dysfunction, treatment resistance, associations of symptom onset with infections such as group A streptococcus, comorbid autoimmune diseases or malignancies. Clinical investigations may also reveal alterations such as increased levels of anti-basal ganglia or dopamine receptor antibodies or inflammatory changes in the basal ganglia in neuroimaging. Based on these red flag signs, the criteria for a possible, probable, and definite autoimmune OCD subtype are proposed.