TL;DR: The panic disorder ICD 10 code is F41.0, described as "Panic disorder [episodic paroxysmal anxiety]." The trap is its Excludes1 note: if agoraphobia is present, you code F40.01 instead, not both. Getting that wrong is the most common coding error in this diagnosis.
Key takeaways
- F41.0 is billable, with "panic attack" and "panic state" listed as synonyms.
- Its Excludes1 note bars coding it alongside panic disorder with agoraphobia, F40.01.
- An Excludes1 note means the two codes cannot both appear. That is stronger than Excludes2.
- Panic disorder carries the highest proportion of serious cases among the common anxiety diagnoses.
- Attack frequency is the outcome measure, and it lives between sessions rather than in them.
A panic attack is not panic disorder. Most clinicians know this and charts still blur it, because the client arrives describing the attack and the attack is what the session is about.
The classification takes the distinction seriously enough to list "panic attack" as a synonym under the disorder code while maintaining a separate exclusion structure around agoraphobia. That combination catches people out.
What is the ICD-10 code for panic disorder?
The code is F41.0, with the official descriptor "Panic disorder [episodic paroxysmal anxiety]" (AAPC). It is billable. Listed synonyms include "Panic attack" and "Panic state."
The bracketed phrase in the descriptor is doing something useful. Episodic paroxysmal anxiety describes the shape of the condition: discrete, sudden, time-limited surges rather than the sustained baseline worry that characterizes generalized anxiety disorder at F41.1. The two codes sit side by side in the same category and describe genuinely different phenomena.
If you find yourself hesitating between them, ask about shape rather than severity. Sustained and diffuse points to F41.1. Sudden, peaking, and discrete points to F41.0.
What does the agoraphobia exclusion actually mean?
F41.0 carries an Excludes1 note for "panic disorder with agoraphobia (F40.01)" (AAPC). In ICD-10-CM convention, an Excludes1 note means the two conditions are not coded together, because the excluded code represents a distinct form of the same condition.
What is an Excludes1 note? It signals that two codes are mutually exclusive. Where an Excludes2 note means "not included here, but may coexist," an Excludes1 means "do not use both."
So a client with panic disorder who has developed avoidance of situations where escape feels difficult is not F41.0 plus an agoraphobia code. They are F40.01, a single code that captures the combined presentation.
This is the error to watch for, and it is easy to make because agoraphobia often develops after the panic diagnosis is already on the chart. The client is coded F41.0 in month one, avoidance builds through months three and four, and nobody revisits the code. The chart now describes one condition and codes another.
F41.0 also carries Excludes2 notes covering anxiety in acute stress reaction, transient adjustment reaction, neurasthenia, psychophysiologic disorders, and separation anxiety (AAPC). Those are different in kind: they may coexist and be coded together where both are genuinely present.
How severe is panic disorder relative to other anxiety diagnoses?
More severe, on the measure that matters clinically. An estimated 2.7% of US adults had panic disorder in the past year and 4.7% experience it at some point in life, which is broadly comparable to GAD (NIMH).
The distribution of severity is where it separates. Among past-year cases, 44.8% were classified as serious, against 29.5% moderate and 25.7% mild (NIMH). Compare that with social anxiety disorder, where the serious proportion is 29.9%.
There is also a marked sex difference, with past-year prevalence of 3.8% in females against 1.6% in males, and a sharp drop after 60 to 0.8% (NIMH).
The practical implication is about level-of-care documentation. Nearly half of panic disorder cases are serious, so a chart describing mild, well-managed symptoms while requesting intensive treatment authorization will read oddly, and a chart describing severe impairment with a thin treatment plan will read worse. Match the two.
What has to be in the note?
Attack characteristics, frequency, the anticipatory anxiety between attacks, any developing avoidance, and functional impact. The avoidance line is the one that protects your coding.
Weak: Client reports continued panic attacks. Anxious about recurrence. Discussed grounding techniques.
Defensible: Client reports four discrete attacks since last session, down from seven the prior fortnight. Each described as peaking within approximately five minutes with chest tightness, derealisation, and fear of losing control. Two occurred on public transport and two at home without an identifiable trigger. Reports persistent anticipatory worry about further attacks, rated 6/10. Has continued using the train daily and reports no avoidance of previously tolerated situations. Interventions: reviewed attack log, introduced interoceptive exposure targeting chest tightness with in-session practice.
The sentence about continuing to use the train is what keeps F41.0 correct rather than F40.01. Documenting the absence of avoidance is as important as documenting its presence, and almost nobody does it.
When would you use F41.0, and when would you not?
F41.0 requires recurrent unexpected panic attacks plus persistent concern about further attacks or a behavior change because of them. The most consequential exclusion is agoraphobia. Where avoidance of situations offering no easy escape has developed, F40.01 replaces F41.0 rather than joining it.
Use F41.0 here
A client reports four attacks in the past month, each peaking within minutes with chest tightness, derealization, and a fear of losing control. Two happened at home with no trigger. She worries daily about the next one but has not changed anything she does, and still commutes by train.
Textbook F41.0. Attacks are recurrent and unexpected, anticipatory worry is present, and crucially there is no avoidance. Document the absence of avoidance explicitly, because that sentence is what keeps this code correct rather than F40.01.
Do not use F41.0 here
The same client, four months later. She has stopped taking the train, avoids supermarkets, and will only travel by car with her husband because "I can get out if I need to."
Code F40.01 instead. Avoidance of situations where escape feels difficult has developed, and X12 lists panic disorder with agoraphobia as an Excludes1 against F41.0, which means the two are not coded together. This transition is gradual and it is the most commonly missed code change in this diagnosis.
A client had one severe panic attack after a car accident three weeks ago. It has not recurred and he is not preoccupied with it happening again.
Do not code panic disorder. A single attack is not the disorder, and the code requires recurrence plus either persistent concern or behavior change. Consider whether an acute stress presentation fits better.
A client experiences attacks reliably, but only in the ten minutes before she has to present at work. She has never had one outside a performance situation.
Code social anxiety disorder. Panic attacks occur across many conditions. What makes them panic disorder is that they are unexpected, and these are entirely cued by anticipated evaluation.
A client has attacks triggered by reminders of an assault, alongside intrusive imagery and hypervigilance.
Code the trauma-related disorder. The attacks are a feature of that presentation rather than a separate condition, and coding both risks describing two disorders where one accounts for everything.
How the between-session tracking can be automated
Panic disorder is measured in events that happen when you are not there. Attack frequency is the primary outcome, it changes week to week, and it reaches your record only through what a client remembers to tell you. That is a capture problem sitting outside the session, and it shapes what automation can usefully do.
The in-session half is straightforward. Attack counts, the durations and symptoms a client describes, the anticipatory rating they give, and crucially the avoidance question and its answer all get captured while being said rather than summarised afterwards as "reports ongoing panic."
The trend becomes readable. Four attacks this fortnight against seven the last means nothing as an isolated entry and a great deal as a series. When each note carries the figure in a consistent place, the trajectory is visible without anyone reconstructing it from prose.
The coding trigger surfaces. The transition from F41.0 to F40.01 happens gradually and is easy to miss. When avoidance is asked about and recorded every session, its appearance is legible in the record rather than being noticed months later.
Supanote drafts the note from the session so these figures land consistently, which gives you a chart where the outcome measure is actually trackable. You review, edit, and sign every draft.
What it cannot do is decide that avoidance has crossed into agoraphobia, or that the code should change. That is a clinical threshold judgment, it depends on knowing the client, and the software's job is making sure you have the evidence in front of you when you make it. If a tool offered to reassign the diagnosis automatically, that would be a reason to walk away rather than a feature.
Want the attack trend to be visible rather than buried in prose? Try for Free.
FAQ
Q: What is the ICD-10 code for panic disorder?
A: F41.0, officially "Panic disorder [episodic paroxysmal anxiety]." It is a billable code, and listed synonyms include panic attack and panic state. It sits alongside generalized anxiety disorder in category F41.
Q: Can I code panic disorder and agoraphobia together?
A: No. F41.0 carries an Excludes1 note for panic disorder with agoraphobia, which means the two are not coded together. Where agoraphobia is present, F40.01 covers the combined presentation as a single code.
Q: What is the difference between a panic attack and panic disorder?
A: A panic attack is a discrete event that can occur across many conditions. Panic disorder involves recurrent unexpected attacks plus persistent concern about further attacks or a change in behavior because of them. Coding the disorder for isolated attacks overstates the picture.
Q: How do I document the absence of agoraphobia?
A: Say so explicitly, and name what the client still does. "Continues to use public transport daily with no avoidance of previously tolerated situations" supports F41.0 far better than silence, which a reviewer can read either way.
Q: What is the difference between Excludes1 and Excludes2?
A: An Excludes1 note means the two codes are mutually exclusive and cannot both be used. An Excludes2 note means the excluded condition is not part of this code but may coexist, so both can be coded when both are present.
Q: How often should I record attack frequency?
A: Every session, in a consistent place in the note. Frequency is the primary outcome measure for this diagnosis, and a number recorded inconsistently cannot show a trend, which is what both treatment decisions and authorization reviews depend on.

Written by
Meet
Meet Chopra is a health-tech writer at Supanote, focusing on clinical documentation, behavioral health workflows, and evidence-informed therapy practices. His writing helps clinicians understand documentation standards, therapeutic concepts, and practical tools used in modern mental health care.