F42.9: Obsessive-compulsive disorder, unspecified

You have an obsessive-compulsive disorder.

Obsessive-compulsive disorder is a mental illness. Obsessive-compulsive disorder is where a person thinks or does things compulsively over and over again. These thoughts or actions cannot be avoided. They can be unpleasant and appear nonsensical.

Obsessive-compulsive disorder can affect what a person thinks and does, and how they act with other people. This condition has a range of different physical and mental causes.

Additional indicator

On medical documents, the ICD code is often appended by letters that indicate the diagnostic certainty or the affected side of the body.

  • G: Confirmed diagnosis
  • V: Tentative diagnosis
  • Z: Condition after
  • A: Excluded diagnosis
  • L: Left
  • R: Right
  • B: Both sides

Further information


This information is not intended for self-diagnosis and does not replace professional medical advice from a doctor. If you find an ICD code on a personal medical document, please also note the additional indicator used for diagnostic confidence.
Your doctor will assist you with any health-related questions and explain the ICD diagnosis code to you in a direct consultation if necessary.


Provided by the non-profit organization “Was hab’ ich?” gemeinnützige GmbH on behalf of the Federal Ministry of Health (BMG).