Coding Inpatient Mental Health Services: A Coder’s Guide to ICD-10-PCS Section G
The stigma that once kept people from seeking psychological care is slowly reducing, and coding volume reflects it. More insurers are covering outpatient mental health encounters, including sessions delivered through telehealth platforms, and those visits get reported with similar CPT procedure codes — the same codes coders use for individual and family psychotherapy services in the outpatient setting.
Inpatient psychiatric care is a different animal entirely. When a patient needs round-the-clock supervision and is admitted to a facility for intensive treatment, those services move out of CPT territory and into ICD-10-PCS — specifically Section G, the mainly dedicated section for mental health procedures. If your background is outpatient CPT coding for therapy sessions, this section will feel unfamiliar at first, so it is worth slowing down and understanding the reason behind it.
Why the Body System Character Is Always Z
Anyone comfortable with the broader structure of ICD-10-PCS root operations knows that the second character normally identifies a specific body system — cardiovascular, respiratory, and so on. Mental health procedures break that pattern. Since a person’s psychological state can be influenced by essentially any body system at once, there’s no single system to point to, so the second character is always Z.
That shifts the real coding work to the third and fourth characters, which is where you’ll actually be reading the provider’s documentation closely. The third character finds the general category of service — psychological testing, medication management, individual psychotherapy, and so on — while the fourth character narrows down to the specific type performed. The last three characters (qualifier, and the two placeholders that follow) are always ZZZ across every code in this section. It’s easy to assume those trailing Z’s don’t matter much, but Section G still requires all seven characters to build a valid, billable code, so don’t drop them.
Table GZ1: Psychological Tests

GZ1 covers psychological testing, and there are five distinct test types a coder needs to be able to distinguish from documentation. Each one has to be tied to a supporting ICD-10-CM diagnosis/dx to establish medical necessity — testing without a documented reason behind it is a denial waiting to happen.
- 0 – Developmental: A broad look at cognitive, emotional, and social development, most often performed on children to catch delays or disorders early.
- 1 – Personality and Behavioral: Standardized tests and interviews used to map cognitive, emotional, and behavioral patterns, often to guide treatment or support a request for accommodations.
- 2 – Intellectual and Psychoeducational: Focused on cognitive ability and academic skills, typically used to determine eligibility for special education services.
- 3 – Neuropsychological: An in-depth look at brain function — memory, attention, language, problem-solving — administered by a trained neuropsychologist and used to work up conditions like traumatic brain injury, dementia, or ADHD.
- 4 – Neurobehavioral and Cognitive Status: Evaluates attention, memory, language, and problem-solving to identify cognitive impairment and shape a treatment plan, commonly seen with dementia workups.
Table GZ2: Crisis Intervention

GZ2 reports crisis intervention — the immediate, rapid-response support given to a patient when he/she is actively in psychiatric crisis. This includes stabilization efforts and connecting the patient to resources like crisis hotlines, mobile crisis teams, or short-term counseling.
Table GZ3: Medication Management

Here, the third character does most of the descriptive work. Medication management in an inpatient setting covers everything from FDA-approved psychiatric medications to herbal and over-the-counter products which is used to support mental health. It’s also common in this population to see self-medication with alcohol or illicit substances masking underlying symptoms — the inpatient stay gives providers a controlled environment to sort that out. Coders working these charts alongside substance-related diagnoses would want to be comfortable with ICD-10-CM coding for drug dependence and abuse and the related guidance on alcohol-related disorders, since these frequently show up as comorbid diagnoses supporting medical necessity.
Table GZ5: Individual Psychotherapy

Think of GZ5 as the natural next step after the testing captured in GZ1 — once an evaluation identifies the issue, individual psychotherapy is where active treatment begins. The qualifier value tells you exactly which therapeutic modality was used:
- 0 – Interactive: Emphasizes active engagement and collaboration between therapist and patient.
- 1 – Behavioral: Targets problematic behaviors and beliefs through evidence-based techniques.
- 2 – Cognitive: Works to identify and correct distorted or unhelpful thinking patterns.
- 3 – Interpersonal: Focuses on relationships to relieve symptoms, particularly for major depressive disorder.
- 4 – Psychoanalysis: The classical Freudian approach exploring the unconscious mind through free association.
- 5 – Psychodynamic: Looks at how past experiences shape present behavior and emotion.
- 6 – Supportive: Builds coping skills and emotional resilience through active listening and reinforcement, often used for chronic mental illness or acute crises.
- 8 – Cognitive-Behavioral (CBT): Helps patients recognize and change negative thought and behavior patterns.
- 9 – Psychophysiological: Integrates psychological and physiological assessment, examining how mental states show up in heart rate, breathing, and brain activity.
Table GZ6: Counseling

GZ6 covers counseling aimed at helping patients process past experiences, manage current challenges, and set goals going forward. Watch the documentation closely to identify the right fourth character:
- 0 – Educational: Supporting patients navigating educational systems or planning for future study or careers.
- 1 – Vocational: Vocational rehabilitation aimed at building skills and finding employment, often for patients with disabilities.
- 3 – Other Counseling: Before defaulting here, query the attending physician to confirm nothing more specific was left out of the note — this qualifier is a last resort, not a shortcut.
Table GZ7: Family Psychotherapy

Largely self-explanatory — GZ7 reports psychotherapy sessions that include one or more family members as part of the patient’s treatment plan. This typically applies to patients in a residential setting where family involvement is offered as part of the healing process.
Additional Section G Tables Worth Knowing
A handful of other tables round out Section G and come up less frequently, but coders should still recognize them on sight:
- GZB – Electroconvulsive Therapy (ECT): Review documentation carefully for the fourth character, distinguishing between unilateral-single, bilateral-single & other seizure induction types.

- GZC – Biofeedback: Patients learn to recognize & regulate physiological responses like muscle tension or heart rate.

- GZF – Hypnosis: Used to help patients explore thoughts, emotions, or behaviors connected to their condition.

- GZG – Narcosynthesis: A less common, sometimes controversial procedure using intravenous medication to facilitate therapeutic exploration of thoughts or memories.

- GZH – Group Psychotherapy: Treatment delivered in a group setting, drawing on shared experience & guided discussion.

- GZJ – Light Therapy: Also called phototherapy, used for conditions like seasonal affective disorder, circadian rhythm sleep-wake disorders & certain other medical conditions responsive to controlled light exposure.

A Quick Word on Documentation and Diagnosis Support
Every code built from Section G still needs to make clinical sense next to the diagnosis codes on the chart. If you’re coding a inpatient stay involving personality disorders, psychotic conditions, or substance-related diagnoses, cross-reference your ICD-10-CM assignment against dedicated guidance — resources like ICD-10-CM coding for personality disorders and schizophrenia coding strategies are useful companions when a Section G procedure code needs a diagnosis to justify medical necessity. And since ICD-10-PCS codes generally work alongside MS-DRG assignment on the inpatient side, it is worth keeping this overview of ICD-10-PCS, CPT codes, and MS-DRGs handy if inpatient behavioral health isn’t your everyday coding world.
Section G isn’t a large section compared to some of the surgical tables, but its heavy reliance on documentation specificity — and the fact that so much of it hinges on correctly reading the fourth character and qualifier — makes it easy to miscode if you’re moving quickly. Slow down on these charts, confirm the therapy type against the note, and don’t forget those trailing Z’s.








