In the intricate tapestry of healthcare, where human suffering meets systemic bureaucracy, few acts are as simultaneously mundane and profound as the assignment of a diagnostic code. A string of alphanumeric characters—F41.0, R07.89—becomes the lingua franca between a clinician’s nuanced understanding of a patient’s distress and the vast, data-driven engines of modern medicine: insurance reimbursement, epidemiological tracking, treatment planning, and public health policy. To the uninitiated, the quest for the “ICD-10-CM code for panic attacks” might seem a simple lookup task. In reality, it is a diagnostic and ethical odyssey into the heart of how we categorize human experience.
Panic attacks are not mere moments of heightened stress; they are visceral, often terrifying episodes of physiological and psychological upheaval that can mimic life-threatening conditions. They affect millions, yet remain shrouded in misunderstanding. Correctly coding these events is therefore not an administrative afterthought. It is a critical step in validating the patient’s experience, ensuring appropriate access to care, contributing to accurate mental health statistics, and safeguarding the financial viability of healthcare providers. This article will delve far beyond a simple code listing. We will explore the clinical anatomy of a panic attack, dissect the structure and philosophy of the ICD-10-CM system, unravel the specific codes in question, and, most importantly, build the essential bridge between impeccable clinical documentation and precise medical coding. Prepare for a detailed journey through psychiatry, classification science, and healthcare administration.

ICD-10-CM Coding for Panic Attacks
2. Understanding the Phenomenon: What is a Panic Attack?
Before a single code can be assigned, one must first comprehend the clinical entity. A panic attack is a discrete period of intense fear or discomfort, peaking within minutes, during which a cascade of somatic and cognitive symptoms occurs.
Diagnostic Criteria (Based on DSM-5-TR, which informs clinical documentation for coding):
An attack involves the abrupt onset of four or more of the following symptoms:
-
Cardiopulmonary: Palpitations/pounding heart, chest pain or discomfort, sensations of shortness of breath or smothering, feeling of choking.
-
Neurological/Autonomic: Trembling or shaking, sweating, chills or heat sensations, paresthesias (numbness or tingling), dizziness/lightheadedness.
-
Gastrointestinal: Nausea or abdominal distress.
-
Cognitive: Derealization (feelings of unreality) or depersonalization (being detached from oneself), fear of losing control or “going crazy,” fear of dying.
Key Characteristics:
-
Unexpected vs. Expected: Attacks can be “uncued” (out of the blue) or “cued” (triggered by a specific situation).
-
Limited Duration: Typically peak within 10 minutes and subside within 20-30 minutes, though residual effects can linger.
-
“False Alarm”: The body’s fight-or-flight system is activated in the absence of genuine danger.
-
Not a Disorder in Itself: A panic attack is a symptom. It can occur in the context of Panic Disorder, other anxiety disorders (e.g., Social Anxiety, Specific Phobia), or even medical conditions.
3. The ICD-10-CM Ecosystem: A Primer
The International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM) is the official system used in the United States to classify diagnoses and reasons for patient encounters. Its purposes are multifold:
-
Standardization: Creates a common language across all healthcare settings.
-
Statistical Tracking: Enables research on disease prevalence, outcomes, and public health trends.
-
Billing and Reimbursement: Forms the foundation of claims submitted to insurers; codes justify medical necessity.
-
Clinical Decision Support: Can inform treatment pathways and quality measures.
Structure of an ICD-10-CM Code:
-
Category (Characters 1-3): The broad disease group (e.g., F41 – Other anxiety disorders).
-
Etiology, Anatomy, Severity (Characters 4-6): Provides specificity (e.g., F41.0 – Panic disorder).
-
Extension (Character 7): Sometimes used for episode of care (e.g., initial vs. subsequent). Not always required.
Understanding this structure is key to navigating the coding manual and appreciating why multiple codes can relate to a single clinical presentation.
4. The Primary Code: F41.0 – Panic Disorder [Episodic Paroxysmal Anxiety]
This is the core code for the diagnosis of Panic Disorder. It is not a code for an isolated panic attack.
Code Definition: F41.0 is classified under “Mental, Behavioral and Neurodevelopmental disorders” > “Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders” > “Other anxiety disorders.”
Clinical Criteria for Panic Disorder (Informing F41.0):
-
Recurrent Unexpected Panic Attacks: At least one attack has been followed by one month or more of one or both of the following:
-
Persistent Concern/Worry: About having additional attacks or their consequences (e.g., losing control, having a heart attack).
-
Significant Maladaptive Change: In behavior related to the attacks (e.g., avoidance of exercise, unfamiliar situations, or agoraphobic avoidance).
-
Not Attributable: The disturbance is not due to substance use, another medical condition, or another mental disorder.
Coding Note: The descriptor “[Episodic Paroxysmal Anxiety]” in the code title is an older term synonymous with panic attacks, highlighting the sudden, episodic nature of the symptoms.
5. The Symptom Code: R07.89 – Other Chest Pain
This is a crucial and often-misunderstood companion code. When a patient presents with a panic attack, the chief complaint is frequently a physical symptom, most commonly chest pain.
Code Definition: R07.89 falls under “Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified” > “Symptoms and signs involving the circulatory and respiratory systems.”
When to Use R07.89 with F41.0:
-
Rule: In outpatient/office settings, code first the symptom (e.g., R07.89) if it is the reason for the encounter, followed by the confirmed or suspected diagnosis (F41.0).
-
Rationale: This accurately reflects the patient’s presenting problem. They came in because of “chest pain,” and after assessment, the clinician determined it was due to a panic attack. The ICD-10-CM Official Guidelines state: “Codes that describe symptoms and signs, as opposed to diagnoses, are acceptable for reporting purposes when a related definitive diagnosis has not been established (confirmed) by the provider.”
Example: Patient presents to the clinic with acute, sharp chest pain and shortness of breath. After examination, EKG, and history, the physician concludes it was a panic attack. The encounter is coded as:
-
Primary Code: R07.89 (Other chest pain) – The reason for the visit.
-
Secondary Code: F41.0 (Panic disorder) – The established diagnosis.
Important Distinction: In an inpatient setting, or if the patient is being seen for follow-up of the known Panic Disorder itself (not for an acute attack), F41.0 would typically be the primary (or only) code.
6. The Critical Distinction: Panic Attack vs. Panic Disorder
This is the single most important conceptual understanding for accurate coding.
| Feature | Panic Attack (Symptom) | Panic Disorder (Diagnosis – F41.0) |
|---|---|---|
| Nature | A single, discrete episode of intense fear with physical symptoms. | A psychiatric disorder characterized by recurrent, unexpected panic attacks AND persistent worry/behavioral change. |
| ICD-10-CM Coding | There is NO unique code for an isolated panic attack. It is coded based on context. | Coded as F41.0. |
| Coding Context | 1. As a symptom of another disorder (e.g., F40.10 Social phobia, F43.23 Adjustment disorder with anxiety). 2. As an acute reaction (R07.89 for chest pain, R06.02 for shortness of breath) leading to an encounter, with or without a confirmed anxiety diagnosis. 3. Due to a medical condition (e.g., E16.1 Hyperinsulinism, F19.99 Substance use). |
Assigned when the specific diagnostic criteria for Panic Disorder are met. |
| Clinical Analogy | A single episode of coughing. | A diagnosis of Chronic Bronchitis, which causes recurrent coughing. |
7. Clinical Documentation: The Bedrock of Accurate Coding
A coder can only assign codes based on what the clinician documents. Vague notes lead to inaccurate coding, denied claims, and poor data quality.
Essential Elements for Documenting a Panic Attack/Disorder:
-
Detailed Symptom Description: “Patient presented with sudden onset of crushing substernal chest pain, palpitations, diaphoresis, and a fear of impending doom lasting approximately 15 minutes.” (This supports R07.89).
-
Frequency and Context: “Reports 3 similar unexpected episodes in the past month.” (Supports the “recurrent” criterion for F41.0).
-
Associated Worry/Behavior: “Patient states they now avoid going to the grocery store for fear of another attack.” (Supports the behavioral change criterion for F41.0).
-
Review of Systems & Physical Exam: Documenting the absence of cardio-pulmonary abnormalities (normal heart sounds, clear lungs) is as important as noting the presence of anxiety.
-
Diagnostic Statement: The note must contain a clear diagnostic conclusion. E.g., “Diagnosis: Panic Disorder, F41.0” or “Chest pain due to panic attack.”
-
Rule-Out Statements: If other conditions are considered (e.g., “rule out myocardial infarction”), document the workup (EKG results, troponin negative) and clinical reasoning for the final diagnosis.
8. Differential Diagnosis and Comorbidities: Navigating a Complex Landscape
Panic attacks rarely exist in a vacuum. Accurate coding requires identifying and coding all relevant conditions.
Conditions that Can Mimic or Cause Panic Attacks:
-
Cardiovascular: Angina (I20.9), arrhythmias (e.g., I49.9), MVP (I34.1)
-
Respiratory: Asthma (J45.909), pulmonary embolism (I26.99)
-
Endocrine: Hyperthyroidism (E05.90), pheochromocytoma (D35.00), hypoglycemia (E16.2)
-
Neurological: Temporal lobe epilepsy (G40.109), vestibular disorders
-
Substance-Induced: Caffeine intoxication, stimulant use (e.g., F15.99 for amphetamine-related disorder), alcohol withdrawal (F10.239)
Common Comorbid Mental Disorders (Code All That Are Present):
-
Agoraphobia (F40.00): Frequently comorbid with Panic Disorder. If both are present, code F41.0 and a separate code from the F40.0- series.
-
Major Depressive Disorder (F32.9): A very common co-occurrence.
-
Generalized Anxiety Disorder (F41.1)
-
Other Specific Phobias (F40.2-)
Coding Hierarchy: Per ICD-10 guidelines, if the panic attacks are deemed to be exclusively due to another medical condition (e.g., hyperthyroidism), the medical condition is coded first, and the panic attack is not separately coded as F41.0. It might be documented as a symptom.
9. The Coding Process: A Step-by-Step Walkthrough
Let’s synthesize the information into a practical workflow for a coder or clinician.
Scenario: A 32-year-old female presents to her primary care physician for “chest pain and feeling like she couldn’t breathe last night.”
Step 1: Review the Chief Complaint & History of Present Illness (HPI).
-
Documentation: “Patient reports sudden onset of sharp left-sided chest pain, palpitations, sweating, and a feeling of ‘being choked’ while watching TV last night. Episode lasted 20 minutes. She was afraid she was having a heart attack. She has had 4 similar ‘spells’ over the past 6 weeks, all unexpected. She has started avoiding her evening walk due to fear of an attack happening outside.”
Step 2: Review Assessment & Plan.
-
Documentation: “Assessment: 1. Chest pain, likely secondary to panic attack. EKG today is normal. 2. Panic Disorder, initial diagnosis. Plan: Start SSRI therapy, refer to psychotherapy, provide education on panic disorder.”
Step 3: Identify Diagnoses and Reason for Visit.
-
Reason for Encounter/Chief Complaint: Chest Pain (R07.89).
-
Confirmed Diagnosis: Panic Disorder, initial episode (F41.0).
Step 4: Apply Coding Guidelines.
-
Outpatient encounter: Code the symptom first if it is the reason for the visit.
-
This is the initial diagnosis and treatment of Panic Disorder.
Step 5: Assemble Codes in Correct Order.
-
Primary Code: R07.89 – Other chest pain
-
Secondary Code: F41.0 – Panic disorder
Step 6: Verify in ICD-10-CM Manual.
-
Confirm code descriptors and any instructional notes (e.g., “Excludes1” notes which indicate conditions that cannot be coded together).
10. Ethical and Legal Implications of Accurate Coding
Incorrect coding is not a mere clerical error; it has serious consequences.
-
Fraud and Abuse: “Upcoding” (using F41.0 when only symptoms were documented) or “unbundling” can be construed as healthcare fraud under the False Claims Act.
-
Downcoding and Denials: Undercoding or using vague codes leads to claim denials, harming the provider’s revenue and potentially limiting the patient’s covered treatment.
-
Patient Harm: Inaccurate codes create an erroneous medical record that can affect future care decisions (e.g., a history coded as “chest pain” vs. “panic disorder” is interpreted differently in an emergency setting).
-
Research Integrity: Faulty codes corrupt public health data, leading to misguided resource allocation and research conclusions about mental health prevalence and treatment.
11. Case Studies: Applying Knowledge to Real-World Scenarios
Case Study 1: The Emergency Department Visit
-
Presentation: 45M, ambulance to ED with crushing chest pain, numbness in left arm. Full cardiac workup negative.
-
Documentation: “After negative workup and thorough interview, patient reveals extreme stress at work and similar prior episodes. Diagnosis: Acute panic attack. No evidence of Panic Disorder at this time.”
-
Correct Coding: R07.89 (Other chest pain) as primary. F41.9 (Anxiety disorder, unspecified) or no psychiatric code if the provider does not make a specific anxiety disorder diagnosis. F41.0 is incorrect as Panic Disorder criteria are not met.
Case Study 2: Follow-up with a Psychiatrist
-
Presentation: Established patient with Panic Disorder and Agoraphobia for monthly medication management.
-
Documentation: “Patient reports stable on current dose of sertraline. No full panic attacks in the past month, though some anticipatory anxiety in crowds. Continues in CBT. Diagnosis: Panic Disorder with Agoraphobia, stable.”
-
Correct Coding: F41.0 (Panic disorder) and F40.00 (Agoraphobia). No R07.89, as the reason for the encounter is the management of the chronic disorder itself.
12. The Future: ICD-11 and Beyond
The World Health Organization’s ICD-11 has been implemented and offers refinements. While the US will eventually transition to ICD-11-CM, understanding its changes is forward-thinking.
-
Panic Disorder is under “Anxiety or fear-related disorders” (code 8C00).
-
Panic Attack (MB24.6) is explicitly listed as a “secondary parent” code that can be used to indicate the presence of panic attacks as a prominent feature of another disorder (e.g., Depression). This provides a more precise way to code the symptom cross-sectionally.
-
This future system may reduce the current ICD-10-CM ambiguity around coding isolated attacks.
13. Conclusion
The search for the ICD-10-CM code for a panic attack reveals the intricate interplay between clinical judgment and administrative precision. The journey leads not to a single code, but to a nuanced understanding: F41.0 for the chronic disorder of recurrent panic and anxious anticipation, and R07.89 (or similar symptom codes) for the acute, physical manifestation that often brings the patient to care. Mastery of this topic requires synthesizing psychiatric diagnostic criteria, coding guidelines, and the paramount importance of clear, definitive clinical documentation. In doing so, healthcare professionals ensure accurate data, ethical billing, and, ultimately, better-informed care for the individual weathering the storm of panic.
14. Frequently Asked Questions (FAQs)
Q1: What is the direct ICD-10-CM code for a single panic attack?
A: There is no specific code for an isolated panic attack. It is coded based on context: as a symptom (e.g., R07.89 for chest pain) if that’s why the patient presented, or as part of the diagnosis for which it is a feature (e.g., F41.0 for Panic Disorder, F40.10 for Social Anxiety Disorder).
Q2: Can I use both F41.0 and R07.89 on the same claim?
A: Yes, and in outpatient settings where the patient presents for acute symptoms, you often should. List R07.89 first if chest pain was the chief complaint, followed by F41.0 as the underlying cause.
Q3: How do I code a panic attack caused by caffeine or medication?
A: You would code the substance-induced disorder. For example, caffeine-induced anxiety disorder would be F15.980 (if caffeine use is disordered) or noted in documentation. The primary code would be related to the substance use, not F41.0.
Q4: What is the difference between F41.0 and F41.1 (Generalized Anxiety Disorder)?
A: F41.0 involves discrete, acute panic attacks with fear of recurrence. F41.1 involves chronic, excessive worry about everyday things, accompanied by restlessness, fatigue, and muscle tension, but not necessarily full panic attacks.
Q5: Is agoraphobia included in code F41.0?
A: No. In ICD-10-CM, Panic Disorder (F41.0) and Agoraphobia (F40.00) are separate codes. If a patient has both, you must assign both codes.
Q6: Where can I find the official, updated coding guidelines?
A: The Centers for Medicare & Medicaid Services (CMS) and the National Center for Health Statistics (NCHS) publish the official ICD-10-CM Guidelines annually. These are free to download.
15. Additional Resources
-
Official ICD-10-CM Guidelines FY 2025: https://www.cms.gov/medicare/coding-billing/icd-10-cm (Check for the latest fiscal year).
-
American Psychiatric Association (APA): Publisher of the DSM-5-TR, the definitive source for psychiatric diagnostic criteria that inform coding. https://www.psychiatry.org/psychiatrists/practice/dsm
-
American Health Information Management Association (AHIMA): The premier organization for health information and coding professionals. Offers certifications, journals, and educational resources. https://www.ahima.org/
-
American Academy of Professional Coders (AAPC): Leading provider of medical coding training, certification, and resources. https://www.aapc.com/
-
National Institute of Mental Health (NIMH) – Panic Disorder: Authoritative information on the science and treatment of panic disorder. https://www.nimh.nih.gov/health/topics/panic-disorder
-
Anxiety and Depression Association of America (ADAA): Provides patient and professional education on anxiety disorders. https://adaa.org/
Disclaimer: This article is intended for informational purposes only and does not constitute medical advice, coding advice, or official guidance. Medical coding is complex and constantly updated. Always consult the latest official ICD-10-CM coding manuals, CMS guidelines, and your facility’s coding compliance officer for accurate coding. Patient care and documentation by qualified healthcare professionals are paramount.
Date: December 25, 2025
Author: The Medical Coding & Psychiatry Team
