ICDcodes.org
FY2027

7th characters and the placeholder X

How do 7th characters work in ICD-10-CM, and when do I need a placeholder X?

Applies to ICD-10-CM FY2027 · October 1, 2026September 30, 2027

The short answer
A 7th character records the episode of care — typically whether this is the initial encounter, a subsequent encounter, or treatment of a sequela. Where a category requires one, the code is invalid without it, and it must sit in the seventh position even if that means padding the code with the placeholder X.

In ICD-10-CM FY2027, 51,186 codes — 52% of the entire code set — carry a 7th character. They are concentrated in the injury, poisoning and external cause chapters, and in obstetrics and some musculoskeletal categories.

The meaning is defined per category, not globally

This is the mistake worth avoiding
A, D and S are not universal. Many categories use only three extensions where A means “initial encounter”, but fracture categories use seven or more, and the same letter carries a different meaning. The definition that applies is the one printed on the category you are coding from.

Fracture categories carry a much richer set

Under S52.5 (fracture of the lower end of the radius), the 7th characters distinguish not just the episode but the fracture type and healing status:

  • A — initial encounter for closed fracture
  • B — initial encounter for open fracture type I or II
  • C — initial encounter for open fracture type IIIA, IIIB or IIIC
  • D — subsequent encounter for closed fracture with routine healing
  • S — sequela

So S52.501A and S52.501B differ by whether the fracture was open — a clinical distinction, not an administrative one.

“Initial encounter” does not mean the first visit

This is the most persistent misreading of the convention. A applies while the patient is receiving active treatment for the condition — which can span many visits and several clinicians. D applies once the patient has moved to routine aftercare during the healing phase. A second surgeon seeing the patient for active treatment still uses A, even though it is not their first encounter with that patient.

S is different again: it is for treating a consequence of the original condition after the acute phase has ended, such as a scar contracture following a burn. When S is used, the sequela is sequenced first and the original injury code with S follows.

The placeholder X

Official definition — 7th characters and placeholder X
For codes less than 6 characters that require a 7th character a placeholder X should be assigned for all characters less than 6. The 7th character must always be the 7th character of a code
— ICD-10-CM Tabular List of Diseases and Injuries, FY2027, published by CDC/NCHS

The 7th character must occupy the seventh position. When the base code is shorter than six characters, X pads the gap so the extension lands in the right place. A code written without the padding is invalid even though the extension is correct.

Padding in practice

T15.02 (foreign body in cornea, left eye) needs a 7th character, but it is only five characters long. The valid code is T15.02XA — X fills position six so A can occupy position seven. T15.02A is not a valid code.

How to check quickly

  • A category requiring a 7th character says so in the Tabular List, and lists the extensions that apply to it.
  • If the base code is fewer than six characters, expect to pad with X before adding the extension.
  • Confirm the extension against the category you are coding from — never from memory of a different category.

On this site, every code that carries a 7th character states what that character means for that specific code. See S52.501A for an example, and what billable means for why a missing extension makes a code invalid.