Back to Blog
Healthcare 7 min read

How to Find the Right ICD-10 Code (and Avoid Denials)

A diagnosis code can be valid and still get a claim denied, because it isn't specific enough. Here's how ICD-10-CM codes are structured and how to find the complete one.

FreeToolsHubNovember 21, 2026
How to Find the Right ICD-10 Code (and Avoid Denials)

Reviewed by Shayan Ali, CEO of RCM Expert Consultants on November 25, 2026

For billing guidance only. Payer rules vary and change; this is not legal or medical advice. Check your payer contract and current CMS rules before you bill.

Disclosure: RCM Expert Consultants is a separate company. FreeToolsHub's developer built their website, so we have a business relationship with them.

CPT® is a registered trademark of the American Medical Association.

Search ICD-10-CM by code or plain words, then pick the most specific complete code, not the three-character category. F41 is a category and gets denied; F41.1 (generalized anxiety disorder) is a complete code. Use codes valid on the date of service; the set changes every 1 October.

Free toolICD-10 Code LookupSearch ICD-10-CM diagnosis codes
On this page (8 sections)

Billing guidance only

Payer rules vary and change; this is not legal or medical advice. Check your payer contract and current CMS rules before you bill.

Every US medical claim needs at least one diagnosis code from ICD-10-CM, the International Classification of Diseases, 10th Revision, Clinical Modification. It's maintained by the CDC's National Center for Health Statistics and CMS, and it has more than 70,000 codes. Finding a code is easy; finding the right, complete one is where claims go wrong.

How an ICD-10-CM code is built

PartExampleWhat it means
Category (3 characters)F41Other anxiety disorders: a group, not billable
Subcategory / code (4–6 characters)F41.1Generalized anxiety disorder: complete and billable
7th character (some chapters)S72.001AA = initial encounter, D = subsequent, S = sequela

The rule for claims is simple: use the code at its highest level of detail. If a category has subcategories, the category itself can't be billed. Injury and some other codes also need a 7th character, sometimes with placeholder X's to reach it.

How to find the right code, step by step

  1. Start from the documentation. The code has to match what the clinician actually documented, not what the practice usually bills.
  2. Search by words or a partial code. Searching "generalized anxiety" or "F41" both lead to the same family of codes.
  3. Pick the most specific complete code. Prefer F41.1 over F41.9 (unspecified) when the documentation supports it. Unspecified codes are valid but are more likely to be questioned.
  4. Check the notes. Some codes have "code first", "use additional code" or "excludes" notes that change what else goes on the claim.
  5. Confirm it's valid for the date of service. The code set updates every 1 October.

When an unspecified code is fine

Unspecified codes, usually ending in .9 or .90, aren't wrong. They're the right choice when the documentation genuinely doesn't support anything more specific yet, for example at a first visit before an assessment is complete. Update to a specific code once the clinician documents one; payers notice when the same unspecified code repeats for months.

Common mistakes that cause denials

  • Billing a category. F41, E11 or M54 on their own will be rejected as incomplete.
  • Missing the 7th character on injury codes, for example S72.001 instead of S72.001A.
  • Using a deleted code after the 1 October update.
  • Diagnosis that doesn't support the service. Payers check that the diagnosis justifies the procedure. A screening code on a treatment claim, for example, may not be covered.
  • Wrong order. The first-listed diagnosis should be the main reason for the visit.

Common codes in outpatient mental health

CodeDescription
F41.1Generalized anxiety disorder
F41.0Panic disorder
F33.1Major depressive disorder, recurrent, moderate
F43.10Post-traumatic stress disorder, unspecified
F43.23Adjustment disorder with mixed anxiety and depressed mood
F90.0Attention-deficit hyperactivity disorder, predominantly inattentive type

Each of these has neighbours that are more or less specific, so always confirm the exact code against the clinical documentation rather than reusing the one a client had last year.

Z codes: not just extras

Codes beginning with Z describe factors that influence health or contact with services, such as screenings, follow-up visits, family history or social circumstances. They can be the first-listed code when they are the reason for the visit, such as a routine screening, and secondary codes otherwise.

Do it in a minute

Our free ICD-10-CM code lookup searches by code or by words as you type and lists only complete codes, so a category like F41 never shows up as something you could bill. It uses the National Library of Medicine's free Clinical Tables service. Only the words you search are sent; there's no patient field. Building a superbill? The superbill generator has the same search built in and letters your diagnoses A to L.

The short version

Search, then pick the complete, most specific code the documentation supports. Add the 7th character where it's required, check the code's notes, and make sure it's valid on the date of service. Never bill a three-character category that has codes beneath it.

More free tools for practices are on our healthcare tools page. If denials keep coming back, RCM Expert Consultants handles medical billing for practices like yours.

Frequently Asked Questions

Why was my claim denied for an invalid diagnosis code?

Usually because the code wasn't complete: a category such as F41 or E11 was used instead of a specific code, or a required 7th character was missing. It can also happen when a code was deleted in the yearly 1 October update.

What is the ICD-10 code for anxiety?

It depends on the type. F41.1 is generalized anxiety disorder, F41.0 is panic disorder, and F41.9 is anxiety disorder, unspecified. Use the most specific code the clinical documentation supports.

Is ICD-10-CM the same as ICD-10?

ICD-10 is the World Health Organization's classification. ICD-10-CM is the US clinical modification used on claims, with far more detail. US claims use ICD-10-CM for diagnoses.

How many diagnosis codes can go on a claim?

The CMS-1500 form has room for 12, lettered A to L, and each service line points to up to four of them. List the main reason for the visit first.

When do ICD-10-CM codes change?

Every year on 1 October, when the new fiscal-year code set takes effect. Codes can be added, expanded into more specific codes, or deleted, so a code valid last year may not be valid now.

Healthcare Medical Billing ICD-10

Related Articles

Tools mentioned in this guide