If you have ever tried to find the right medical code for a patient who is restless, irritable, or unable to sit still, you know it can be tricky. Agitation is not a stand-alone illness. It is a symptom. And in the world of medical billing and diagnosis, symptoms have their own specific place.
This guide walks you through everything you need to know about the ICD-10 code for agitation. We will look at when to use it, when to avoid it, and how to document properly. By the end, you will feel confident choosing the correct code for your patients.
Let us start with the simple answer, then dig deeper into the details.

ICD-10 Code for Agitation
The Primary ICD-10 Code for Agitation: R45.1
The most direct code for agitation is R45.1. This code falls under the category “Symptoms and signs involving emotional state.”
Here is what you need to know about R45.1 right away:
-
Full description: Restlessness and agitation.
-
Chapter: 18 (Symptoms, signs, and abnormal clinical and laboratory findings, not elsewhere classified).
-
Billable: Yes. This code is valid for billing purposes.
-
Age range: Can be used for adults and children.
When a patient presents with noticeable physical or emotional agitation, and you cannot immediately link it to a specific diagnosed mental health disorder, R45.1 is often your best choice.
Important note from a coding specialist: R45.1 describes a symptom, not a final diagnosis. Whenever possible, you should look for an underlying cause. But in emergency or short-term care settings, documenting the symptom is both appropriate and necessary.
When to Use R45.1 (And When to Look Further)
Using R45.1 correctly saves you from claim denials and audits. Let us break down the real-world scenarios.
Appropriate Situations for R45.1
You can confidently use R45.1 when:
-
A patient arrives at the emergency department acutely agitated for an unknown reason.
-
A person with no prior psychiatric history shows restlessness due to a temporary trigger, such as pain or medication side effects.
-
Agitation is the main complaint, and you are still running tests to find the root cause.
-
The agitation is mild to moderate and not better explained by another mental disorder.
When You Should Avoid R45.1
Do not use R45.1 as the primary diagnosis when:
-
The patient has a known, confirmed psychiatric disorder like bipolar disorder or schizophrenia. In these cases, code the disorder first.
-
The agitation is clearly caused by delirium or dementia. There are specific codes for behavioral disturbances in these conditions.
-
The agitation is due to alcohol or drug withdrawal. Withdrawal syndromes have their own codes.
-
The patient has a medical condition such as hyperthyroidism or hypoxia causing the restlessness. Code the medical condition first.
Think of R45.1 as a temporary signpost. It tells other providers, “This person is agitated, and we are still figuring out why.”
Comparing R45.1 to Related Codes
To make the right choice, you need to see how R45.1 compares to other codes. The table below shows the most common alternatives.
| ICD-10 Code | Description | When to Use This Instead of R45.1 |
|---|---|---|
| R45.1 | Restlessness and agitation | Undiagnosed, acute agitation without other clear mental disorder |
| F03.91 | Unspecified dementia with behavioral disturbance | Agitation in a patient with known dementia (any type) |
| F31.9 | Bipolar disorder, unspecified | Agitation during a manic or mixed episode |
| F29 | Unspecified psychosis | Agitation with hallucinations or delusions |
| F10.231 | Alcohol dependence with withdrawal-induced agitation | Agitation during alcohol detox |
| R45.0 | Nervousness | Mild anxiety without physical restlessness |
| Z73.0 | Burnout | Chronic exhaustion, not acute agitation |
This table helps you see that R45.1 sits in a specific middle ground. It is not for chronic behavioral issues. It is not for withdrawal. It is for acute, unexplained agitation.
The Link Between Agitation and Dementia: Choosing the Correct Code
One of the most common coding dilemmas involves elderly patients with dementia who become agitated. Many coders instinctively reach for R45.1. That is often a mistake.
When a patient has a confirmed dementia diagnosis, the agitation is considered a behavioral disturbance related to that dementia. Medicare and most private insurers expect you to use a dementia code that includes “with behavioral disturbance.”
Correct Coding for Dementia with Agitation
Here is how to do it properly:
-
Identify the specific type of dementia (Alzheimer’s, vascular, Lewy body, etc.).
-
Use the code that specifies “with behavioral disturbance.”
Examples:
-
F02.81 – Dementia in Alzheimer’s disease with behavioral disturbance.
-
F01.51 – Vascular dementia with behavioral disturbance.
-
F03.91 – Unspecified dementia with behavioral disturbance.
In these cases, you would not add R45.1 separately. The behavioral disturbance code covers the agitation completely. Adding R45.1 would be redundant and could confuse billing systems.
Pro tip from a medical coder: If your documentation says “agitation” and “dementia” in the same note, always check if a “with behavioral disturbance” code exists for that dementia type. It almost always takes priority over R45.1.
The Importance of Proper Documentation for Agitation
Insurance companies do not simply take your word for it. Your documentation must paint a clear picture. Vague terms like “patient seems upset” or “acting out” are not enough.
When you document agitation, include specific, observable behaviors.
Examples of Strong Documentation
Use phrases like these in your notes:
-
“Patient unable to sit still for more than two minutes.”
-
“Patient pacing continuously in the examination room.”
-
“Patient pulling at IV lines and attempting to leave the bed.”
-
“Patient speaking rapidly with pressured speech and inability to focus.”
-
“Patient reported feeling internally restless and ‘on edge.'”
How Many Symptoms Should You Note?
Aim to document at least two to three specific manifestations of agitation. This supports the medical necessity of any interventions you order, such as:
-
Behavioral assessment.
-
Safety observation.
-
Medication for acute agitation (e.g., lorazepam or haloperidol).
-
Referral to psychiatry.
Poor documentation is the number one reason for denied claims related to R45.1. Take an extra minute to describe what you see.
R45.1 in Different Clinical Settings
The way you use R45.1 changes depending on where you work. Let us look at three common settings.
1. Emergency Department
In the ED, R45.1 is frequently used. Patients arrive in crisis. You often do not have a full psychiatric history. Coding R45.1 as a primary or secondary diagnosis is completely appropriate while you rule out medical causes.
Example ED scenario:
A 34-year-old arrives with acute restlessness, unable to explain why. Labs and CT head are normal. You document R45.1 and admit for observation.
2. Primary Care Office
In primary care, R451. should prompt you to dig deeper. Agitation that lasts more than a few days often points to an underlying condition.
Common causes you might uncover:
-
Generalized anxiety disorder.
-
Medication side effect (steroids, SSRIs, decongestants).
-
Thyroid disorder.
-
Sleep deprivation.
You can still use R45.1 for the visit, but your treatment plan should focus on investigating the cause.
3. Inpatient Psychiatry
On a psychiatric unit, R45.1 is rarely the primary diagnosis. Patients here almost always have a known mental disorder. You will use specific codes like F31.9 (bipolar) or F29 (psychosis) instead.
However, R45.1 might appear as a secondary code if the agitation is a new or worsening symptom that is not fully explained by the primary disorder.
A Practical List: Common Causes of Agitation (To Help You Code Accurately)
When you see agitation, run through this mental checklist. Each cause points to a different ICD-10 code.
Medical causes (code the condition first):
-
Infection (especially UTIs in elderly)
-
Hypoglycemia or hyperglycemia
-
Hypoxia
-
Head injury
-
Thyroid disorders
-
Pain
Psychiatric causes (code the disorder first):
-
Bipolar disorder (manic phase)
-
Schizophrenia
-
Major depressive disorder (agitated depression)
-
Panic disorder
Substance-related causes (use withdrawal or intoxication codes):
-
Alcohol withdrawal
-
Benzodiazepine withdrawal
-
Stimulant intoxication
-
Caffeine intoxication
Environmental or situational causes (R45.1 is appropriate):
-
Recent traumatic event
-
Severe sleep deprivation
-
Acute stress reaction
By identifying the cause, you move beyond R45.1 to a more specific, often more billable code.
Step-by-Step: How to Select the Right Code in 30 Seconds
When you are busy, you need a quick decision tree. Use this flow.
-
Is there a confirmed dementia diagnosis?
-
Yes → Use dementia with behavioral disturbance code (F02.81, F01.51, F03.91, etc.). Do not use R45.1.
-
No → Go to question 2.
-
-
Is there a confirmed major psychiatric disorder (bipolar, schizophrenia, major depression)?
-
Yes → Code the disorder first. Add R45.1 only if the agitation is a separate, new feature.
-
No → Go to question 3.
-
-
Is the patient in acute drug or alcohol withdrawal?
-
Yes → Use the specific withdrawal code (e.g., F10.231 for alcohol).
-
No → Go to question 4.
-
-
Is there a clear medical cause (infection, metabolic issue, hypoxia)?
-
Yes → Code the medical condition first. Add R45.1 as a secondary symptom code.
-
No → R45.1 is likely appropriate as a primary code.
-
This flow takes practice, but it becomes second nature quickly.
Billing and Reimbursement Tips for R45.1
Let us talk about money. Insurance companies view symptom codes differently than definitive diagnosis codes.
What Payers Expect
Most payers, including traditional Medicare, accept R45.1 as a primary diagnosis for:
-
Outpatient office visits (99201-99215).
-
Emergency department visits (99281-99285).
-
Observation stays (G0378, G0379).
Potential Red Flags
Payers may deny or audit claims with R45.1 when:
-
It is used repeatedly for the same patient over many months without an underlying diagnosis.
-
It is used as a primary diagnosis for an inpatient hospital stay beyond two days.
-
It is paired with a dementia code (redundant).
How to Improve Reimbursement
To get paid fairly for services related to agitation, follow these three rules:
-
Always document severity. Mild, moderate, or severe. Severe agitation may justify higher-level billing codes.
-
Document risk. Does the agitation pose a danger to the patient or staff? This supports medical necessity.
-
Update the diagnosis as soon as possible. If you start with R45.1 but later find bipolar disorder, go back and correct the claim if allowed.
Frequently Asked Questions (FAQ) About ICD-10 Code for Agitation
Here are the questions I hear most often from clinicians and coding students.
Q1: Can I use R45.1 for a child with ADHD who is restless?
A: It depends. If the child has a confirmed ADHD diagnosis and the restlessness is typical for that child, code ADHD (F90.9) first. Do not add R45.1. However, if the child has no ADHD diagnosis and the restlessness is new or severe, R45.1 is fine as a temporary code.
Q2: Is agitation the same as anxiety in ICD-10?
A: No. Anxiety has its own codes, such as F41.1 (generalized anxiety disorder). R45.1 is for restlessness and agitation specifically. A patient can be anxious without being agitated (pacing, hand-wringing, inability to sit still). Code what you actually observe.
Q3: What if the patient has both dementia and a new, unrelated agitation?
A: This is rare but possible. For example, a patient with stable Alzheimer’s disease develops acute agitation due to a painful kidney stone. In this case, you would code the pain (N23 for renal colic) as primary, the dementia with behavioral disturbance (F02.81) as secondary, and you would not use R45.1 at all. The pain explains the agitation.
Q4: Does R45.1 require a mental health specialist to assign?
A: No. Any physician, nurse practitioner, or physician assistant can assign R45.1. It is a symptom code, not a psychiatric diagnosis code. Family doctors, emergency physicians, and hospitalists use it regularly.
Q5: How long can I keep using R45.1 for the same patient?
A: Ideally, no more than one or two visits. If a patient remains agitated for weeks without a clear cause, you have an obligation to investigate further. Continued use of R45.1 without a definitive diagnosis may be seen as poor quality of care.
Common Mistakes to Avoid with Agitation Coding
Even experienced coders make errors. Here are the top five mistakes and how to avoid them.
Mistake 1: Using R45.1 for every restless patient without considering dementia.
-
Fix: Always check the patient’s problem list for dementia first.
Mistake 2: Adding R45.1 to a patient already coded for “behavioral disturbance” in dementia.
-
Fix: Remember that behavioral disturbance codes are complete. Do not add extra symptom codes.
Mistake 3: Using R45.1 as a primary code for a planned psychiatric admission.
-
Fix: Use the specific mental disorder code as primary. R45.1 adds no value here.
Mistake 4: Failing to document observable behaviors.
-
Fix: Write down what you see, hear, and measure. “Pacing for 30 minutes” is better than “agitated.”
Mistake 5: Keeping R45.1 for months without an updated diagnosis.
-
Fix: Set a reminder to review and update the diagnosis at each visit.
How to Document Agitation for Maximum Clarity
Clear documentation protects you legally and financially. Use the structure below as a template.
Example Documentation Entry
Subjective: “Patient reports feeling ‘wired’ and unable to relax. Family states patient has been pacing at home for two days and has not slept.”
Objective: In the examination room, the patient is unable to remain seated. Stands up and sits down repeatedly. Hands are tremulous. Speech is rapid and pressured. No signs of hallucinations or delusions. Vital signs: BP 145/90, HR 110, afebrile.
Assessment: Restlessness and agitation (R45.1). Differential includes possible alcohol withdrawal, anxiety disorder, or thyroid condition. Labs pending.
Plan: Basic metabolic panel, thyroid function tests, urine drug screen. Offer quiet room and oral lorazepam 1 mg if agitation worsens. Reassess in 60 minutes.
Notice how this documentation supports the code. It is specific, observable, and honest.
A Note on Cultural Considerations
Agitation does not look the same in every person or every culture. Some cultures express emotional distress through physical symptoms. Others may show restlessness in more subtle ways.
As a coder and clinician, focus on observable signs:
-
Increased motor activity (pacing, fidgeting).
-
Inability to follow instructions due to movement.
-
Verbal expressions of inner restlessness.
Avoid making assumptions based on stereotypes. Let the patient’s behavior guide your coding, not your expectations.
The Future of Agitation Coding: What Might Change
ICD-11 has already been released internationally, though the United States still primarily uses ICD-10. In ICD-11, agitation remains a symptom. However, there is a greater emphasis on linking symptoms to specific disorders.
What does this mean for you? If you master R45.1 and related codes now, you will be ready for future changes. The principles of good documentation and linking symptoms to causes will never go out of style.
Additional Resource for Readers
For the most current official guidance on ICD-10 coding for mental and behavioral symptoms, bookmark the American Health Information Management Association (AHIMA) . Their website offers coding clinics, webinars, and updated guidelines.
👉 Recommended link: www.ahima.org (Search for “mental health coding” or “behavioral symptoms” in their resource library.)
AHIMA provides authoritative, peer-reviewed coding advice that can save you from audit risks.
Putting It All Together: A Final Quick Reference
| If you see this… | Use this code… | Do NOT use… |
|---|---|---|
| Acute agitation, cause unknown | R45.1 | A specific psychiatric code without evidence |
| Agitation + known dementia | Dementia with behavioral disturbance (e.g., F02.81) | R45.1 |
| Agitation + alcohol withdrawal | F10.231 | R45.1 |
| Agitation + manic episode | F31.9 | R45.1 alone |
| Agitation + hyperthyroidism | E05.90 + R45.1 (secondary) | R45.1 alone |
| Mild nervousness without restlessness | R45.0 | R45.1 |
Print this table. Keep it near your computer. It will save you time.
Conclusion (Three Lines)
Agitation is a common but often miscoded symptom in clinical practice. The correct ICD-10 code for acute, unexplained agitation is R45.1, but always rule out dementia, withdrawal, and major psychiatric disorders first. Good documentation with specific, observable behaviors protects your billing and improves patient care.
FAQ Section (Recap for Skimmers)
-
What is the ICD-10 code for agitation? R45.1 (Restlessness and agitation).
-
Can I use R45.1 for dementia patients? No. Use a dementia with behavioral disturbance code instead.
-
Is R45.1 billable? Yes, it is a valid, billable code for symptom documentation.
-
Do I need a psychiatrist to assign R45.1? No, any qualified provider can use it.
-
What is the difference between R45.1 and F41.1? R45.1 is physical restlessness; F41.1 is generalized anxiety, which may or may not include restlessness.
*Disclaimer: This article is for educational purposes only. Medical coding guidelines change regularly. Always consult the latest ICD-10-CM official guidelines and verify codes with your local payer or compliance officer before submitting claims.*
