Skip to main content

Special Coding Situations

FY2027 · CURRENT

Advanced

Reviewed October 1, 2026

What Are the Medicare Code Editor Edits, and Why Do Individually Valid Codes Fail Them?

Part ofInpatient reporting and risk adjustment · step 3 of 4 · Read nextWhat Is an HCC, and What Does the CMS-HCC V28 Mapping Tell a Coder About an ICD-10-CM Code?

Editorial explanation — not an official CMS/CDC rule. Official coding instructions and source material are identified below. How to read the labels

Current data releases:ICD-10-CM FY2027 · ICD-10-PCS FY2027 · HCPCS October 2026 · MS-DRG v44 · Medicare Code Editor v44.0 · NCCI PTP Q4 2026 · MUE Q4 2026 · NCD code lists 2026-01 · LCD export September 28, 2026 · All releases and sources

Quick answer · MedCoder editorial

The Medicare Code Editor (MCE) is the software CMS applies to Medicare inpatient claims; its edits are CMS edits, distinct from any commercial payer’s rules. Most diagnosis edits restate a classification rule as a machine check: an invalid code, an external cause or manifestation code as principal, a status or symptom-type code on the unacceptable-principal list, a diagnosis impossible at the patient’s age. Two valid codes fail when their combination or position breaks one of those rules.

Jump to the decision rule ↓

What decides the answer?

  • Which edit fired, and the classification rule it restates
  • The principal diagnosis, which edits 2, 6, 8 and 9 examine
  • The patient’s documented age against the MCE age categories
  • Complete codes: 7th characters and placeholders as printed
  • A Medicare inpatient claim; other payers’ editors are their own

Why it matters

Why: an official editor, and what it actually checks

The MCE definitions file CMS publishes with each Medicare inpatient release lists twenty numbered edits. Several are historical — edit 5 (sex conflict) was deactivated as of October 1, 2024, and edits 7, 10, 12 and 13 were discontinued years earlier — and several concern procedures, discharge status or coverage rather than diagnosis coding. The diagnosis edits that coders meet are these, in CMS’s own words:

  • 1. Invalid diagnosis or procedure code — “The Medicare Code Editor checks each diagnosis including the admitting diagnosis and each procedure against a table of valid ICD codes. If an entered code does not agree with any code on the internal list, it is assumed to be invalid.” A missing placeholder X or 7th character produces exactly this.
  • 2. External causes of morbidity codes as principal diagnosis — “External cause codes (V, W, X or Y codes …) describe the circumstance causing an injury, not the nature of the injury, and therefore should not be used as a principal diagnosis.”
  • 3. Duplicate of PDX — “Whenever a secondary diagnosis is coded the same as the principal diagnosis, the secondary diagnosis is identified as a duplicate of the principal diagnosis.”
  • 4. Age conflict — “The Medicare Code Editor detects inconsistencies between a patient’s age and any diagnosis on the patient’s record.” Four age categories: perinatal/newborn (age 0 only), pediatric (0–17), maternity (9–64), adult (15–124), each with its own code list.
  • 6. Manifestation code as principal diagnosis — “Manifestation codes describe the manifestation of an underlying disease, not the disease itself, and therefore should not be used as a principal diagnosis.” The list includes, for example, D63.0, D63.1 and D63.8.
  • 8. Questionable admission — “Some diagnoses are not usually sufficient justification for admission to an acute care hospital,” with elevated blood pressure reading without a hypertension diagnosis (R03.0) as the example; the list includes E11.9, E11.A and E13.9 as principal diagnosis.
  • 9. Unacceptable principal diagnosis — “selected codes that describe a circumstance which influences an individual’s health status but not a current illness or injury, or codes that are not specific manifestations but may be due to an underlying cause.” One code on it, Z51.89, is accepted when a secondary diagnosis is present.
  • 20. Unspecified code — “Unspecified codes exist in the ICD-10-CM classification for circumstances when documentation in the medical record does not provide the level of detail needed to support reporting a more specific code. However, in the inpatient setting, there should generally be very limited and rare circumstances for which the laterality (right, left, bilateral) of a condition is unable to be documented and reported.” The list is of unspecified codes that have a more specific laterality alternative — the laterality guideline’s “rarely used” rule as an edit.

The edits are Medicare’s. Other payers run their own editing systems, which may or may not mirror these; nothing here describes any payer but Medicare, and MedCoder’s Claim Check applies the classification’s own notes and these published edits — not every payer’s rules.

How to apply it

How to apply the rule

  1. Treat an edit as a pointer to the classification rule behind it. Edit 1 → Sections I.A.4–5 (placeholder X, 7th character). Edit 2 → Section I.C.20 (external cause codes are never principal). Edit 6 → Section I.A.13 (“in diseases classified elsewhere” codes never principal). Edit 9 → the status-code and Z-code sequencing rules in Section I.C.21. Fix the coding, and the edit clears as a consequence.
  2. Two valid codes, one failure: a claim leading with a Z93 status code, a D63 manifestation, or a Y92 place-of-occurrence code fails edits 9, 6 or 2 even though each code is valid on its own — the position is the error, not the code.
  3. Age conflicts are checked against the four categories; a maternity code on a 70-year-old or a newborn code on an adult fails edit 4 — and the fix is to confirm the documented age and the code, since “either the diagnosis or the age is presumed to be incorrect.”
  4. Questionable admission (edit 8) is a flag, not a prohibition: a principal diagnosis such as E11.9 asks whether the record supports inpatient admission for it; often a more specific principal diagnosis is documented.
  5. Distinguish official from payer. A denial citing an “Excludes1 conflict” is applying the classification; a denial citing an MCE edit number is applying CMS’s editor; a denial citing a proprietary rule is the payer’s own. Only the first two are answered by the coding sources.

Examples

Coding examples

  1. Claim leads with Z93.6, other artificial openings of urinary tract status, for an admission to reform a ureterostomy. Fails edit 9 (Z93.6 is on the unacceptable-principal list) — and was wrongly sequenced regardless: category Z93’s Excludes1 sends an encounter for attention to the opening to Z43.6, and a complication of the stoma to N99.5-. The Z-code guide walks it.
  2. Claim leads with D63.1, anemia in CKD. Fails edit 6; the N18 code the Code First note names must lead.
  3. T36.01A entered for a penicillin poisoning. Fails edit 1 — the placeholder X is missing; T36.0X1A is the valid code.
  4. Y92.009, place of occurrence, listed first. Fails edit 2; the injury leads and the external cause codes follow.

Common mistakes

Common mistakes

  • Treating an MCE edit as a payer quirk — every diagnosis edit above restates an official rule.
  • Assuming other payers use the MCE — they may not; the MCE is Medicare’s inpatient editor.
  • Fixing the edit by deleting a code instead of re-sequencing — edits 2, 6 and 9 are about position.
  • Citing the deactivated sex-conflict edit (edit 5) as current — it was deactivated October 1, 2024.

Documentation matters

Documentation that changes the outcome

  • Which condition was chiefly responsible for the admission — the principal diagnosis is what edits 2, 6, 8 and 9 examine.
  • The patient’s documented age against the four MCE age categories.
  • Complete codes: 7th characters and placeholders as printed in the tabular.

Decision rule

Decision framework

IF the edit is…THEN the coding rule behind it is…
1 Invalid codePlaceholder X / required 7th character (I.A.4–5); a deleted or never-valid code
2 External cause as principalExternal cause codes are secondary only (I.C.20)
3 Duplicate of PDXEach code reported once (I.B.12)
4 Age conflictConfirm the age and the code; one is wrong
6 Manifestation as principalCode First the underlying condition (I.A.13)
8 Questionable admissionIs a more specific principal diagnosis documented?
9 Unacceptable principalStatus / history / symptom-type codes are secondary; re-sequence (I.C.21)
20 Unspecified codeLaterality should be documented and coded; unspecified-side codes rarely (I.B.13)

Fiscal-year awareness

Changes by fiscal year

EffectiveChange
FY 2025MCE edit 5 (sex conflict) was deactivated as of October 1, 2024. Later editions of the Definitions of Medicare Code Edits list it as deactivated; a claim is no longer rejected on it.

FAQ

What is the Medicare Code Editor?

CMS’s software that checks Medicare inpatient claims against a published set of edits — invalid codes, external cause codes as principal diagnosis, duplicate principal diagnosis, age conflicts, manifestation codes as principal, questionable admissions, unacceptable principal diagnoses and others. The definitions are published by CMS with each release; version 44.0 (October 2026) applies to FY 2027.

Why can two valid codes fail an MCE edit?

Because most diagnosis edits check position or combination, not validity: a manifestation code (edit 6), an external cause code (edit 2) or a status code (edit 9) fails when it is the principal diagnosis even though the code itself is valid. Re-sequencing per the Guidelines clears the edit.

Do commercial payers use the MCE?

The MCE is Medicare’s inpatient editor. Other payers operate their own editing systems, which may differ; a coding source can answer only the classification’s rules and the published CMS edits, not any individual payer’s rules.

Is the MCE sex-conflict edit still active?

No. The edit list in Definitions of Medicare Code Edits v44.0 marks edit 5, Sex conflict, as deactivated as of October 1, 2024.

Code set release

This guide was verified against ICD-10-CM FY2027, effective October 1, 2026.

Compare these pairs

Check these codes on a claim →

Authoritative sources

Applies to FY2027 ICD-10-CM

Verified against Definitions of Medicare Code Edits v44.0 (October 2026) and the FY 2027 ICD-10-CM Official Guidelines (Sections I.A.4–5, I.A.13, I.C.20, II).

  • CMS, Definitions of Medicare Code Edits, version 44.0 (October 2026) — edit list and definitions
  • ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027 (Sections I.A.4–5, I.A.13, I.C.20, II)

Official guidance cited

The Official Guidelines sections this guide quotes or applies, by heading. Passages set as quotations above are the sections’ own words; the surrounding text is MedCoder’s reading of them.

  • Section I.A.4 — Placeholder character
  • Section I.C.20 — Chapter 20: External Causes of Morbidity (V00-Y99)
  • Section I.A.13 — Etiology/manifestation convention (“code first”, “use additional code” and “in diseases classified elsewhere” notes)
  • Section I.C.21 — Chapter 21: Factors influencing health status and contact with health
  • Section I.B.12 — Reporting Same Diagnosis Code More than Once
  • Section I.B.13 — Laterality

Source document (CMS PDF) · Release and checksum

Passages set as quotations are verbatim official text from the sources listed. Surrounding explanation, decision tables and examples are MedCoder’s editorial reading of those sources and are not official statements. Examples are illustrative; they assign no code to any real patient.

Coder Takeaway: Each MCE diagnosis edit restates an official rule as a machine check — validity, external cause or manifestation as principal, unacceptable principal, age — so fix the coding under the Guidelines and the edit clears; and never mistake Medicare’s editor for another payer’s.

Real-world questions this guide answers

Coding questions

No community questions relate to this guide yet.

Ask a Coding Question about this guide.

Didn’t find your answer?

Ask a coding question and get help from the MedCoder community.

Applicable code set: FY2027. Published September 3, 2026; last updated October 1, 2026; last reviewed October 1, 2026.