DxMedical Coding HubLearn · Research · Share

ICD-10-CM · 2026

Hierarchy

5 coding guide: Mental and behavioural disorders

Quick answer. 5 is the ICD-10-CM Diagnosis Code for "Mental and behavioural disorders". This chapter covers a broad spectrum of mental health conditions, including organic mental disorders, substance use disorders, schizophrenia and psychotic disorders, mood and anxiety disorders, behavioral syndromes, personality disorders, and neurodevelopmental disorders. Codes from this chapter require specific documentation of underlying physiological causes when applicable.

Last updated

The flowchart as text

The same decisions as the diagram above, in order. Each line is a step; the answers say where it leads.

  1. Diagnosing Mental & Behavioral Disorder then Is it due to a known physiological condition?.
  2. Is it due to a known physiological condition? Yes: Is there dementia?; No: Is it related to substance use?.
  3. Is there dementia? Yes: Code Dementia: F01-F03\nIdentify severity & behavioral disturbance; No: Code Other Physiological: F04-F09\ne.g., Delirium, Personality change.
  4. Code Dementia: F01-F03\nIdentify severity & behavioral disturbance
  5. Code Other Physiological: F04-F09\ne.g., Delirium, Personality change
  6. Is it related to substance use? Yes: Code Substance Use: F10-F19\nIdentify Use vs Abuse vs Dependence\nand associated disorders; No: Code Primary Mental Disorder\ne.g., Schizophrenia F20, Mood F30-F39.
  7. Code Substance Use: F10-F19\nIdentify Use vs Abuse vs Dependence\nand associated disorders
  8. Code Primary Mental Disorder\ne.g., Schizophrenia F20, Mood F30-F39

What it covers and how it divides

Frequently asked questions

What is 5?

This chapter covers a broad spectrum of mental health conditions, including organic mental disorders, substance use disorders, schizophrenia and psychotic disorders, mood and anxiety disorders, behavioral syndromes, personality disorders, and neurodevelopmental disorders.

How do you code 5 correctly?

Codes from this chapter require specific documentation of underlying physiological causes when applicable. Pay close attention to 'associated physical conditions' and 'use additional code' instructions, especially for dementia and substance use. Document and code substance use, abuse, and dependence hierarchy correctly; only code the most severe stage if multiple are documented. Ensure lifestyle and environmental factors affecting mental health are captured using Z-codes when appropriate.

Sources

How this guide was made

Medical Coding Hub builds this guide with AI from the official code tables (CMS and CDC/NCHS) and the code’s place in the hierarchy. It is not yet reviewed line by line by a certified coder. Treat it as a working reference, check it against the current official ICD-10 guidelines and the payer’s policy before you bill, and tell us about errors through the feedback links on this site. It is not medical, legal or billing advice.