ICD-10-CM

Sepsis Coding in ICD-10-CM — Complete Guidelines

📅 March 2026 📖 13 min read ✍️ Clear CPC Team
Sepsis Coding in ICD-10-CM — Complete Guidelines

Sepsis is one of the most heavily tested and most frequently miscoded conditions in ICD-10-CM. The coding guidelines for sepsis are unusually specific — they dictate a mandatory sequencing order, require additional codes in defined circumstances, and depend on precise clinical terminology that many coders confuse. Because sepsis is a life-threatening condition that appears constantly in inpatient and emergency department documentation, getting the coding right has real consequences for both data accuracy and reimbursement.

This guide walks through the complete sepsis coding framework: the terminology, the mandatory sequencing rules, severe sepsis and septic shock, and the special scenarios the CPC exam uses to test this topic. For the underlying sequencing conventions this topic builds on, see ICD-10-CM Sequencing Rules, and for the broader guideline framework, see ICD-10-CM Coding Guidelines.

Understanding Sepsis Terminology

Before coding sepsis, a coder must understand the clinical progression the terminology describes, because ICD-10-CM’s code structure mirrors this progression directly.

Sepsis is a life-threatening organ dysfunction caused by a dysregulated host response to infection. In plain terms, it is a systemic, whole-body inflammatory response triggered by an infection that has become severe enough to threaten organ function.

Severe sepsis is sepsis associated with acute organ dysfunction. This represents a progression beyond sepsis alone — one or more organ systems (renal, respiratory, cardiovascular, hepatic, and so on) are failing or beginning to fail as a result of the septic process.

Septic shock is a subset of severe sepsis in which circulatory and cellular/metabolic abnormalities are profound enough to substantially increase mortality. Clinically, septic shock is generally identified by persistent hypotension requiring vasopressor therapy despite adequate fluid resuscitation.

Understanding that severe sepsis and septic shock are progressively more severe stages — not separate, unrelated conditions — is essential to correctly applying the codes described below.

Where Sepsis Codes Live in ICD-10-CM

Sepsis codes are found predominantly in Chapter 1 (Certain Infectious and Parasitic Diseases), reflecting the fact that sepsis is fundamentally a systemic response to an infectious process.

Code Range Description
A40.- Streptococcal sepsis
A41.- Other sepsis (including sepsis due to staphylococcus, E. coli, gram-negative organisms, and unspecified organism)
R65.20 Severe sepsis without septic shock
R65.21 Severe sepsis with septic shock
P36.- Bacterial sepsis of newborn
O85 Puerperal sepsis
T81.44- Sepsis following a procedure

Mandatory Sequencing for Sepsis

The sequencing rules for sepsis are mandatory — they are not discretionary based on the encounter setting, and they apply the same way regardless of whether the sepsis is coded in an inpatient or outpatient context.

Step 1 — Code the Underlying Infection First

The systemic infection code is always sequenced first. This is typically a code from category A40 (Streptococcal sepsis) or A41 (Other sepsis), but it can also be a different infection code if the specific organism or infection type is classified elsewhere and a “Code first” instruction directs the sequencing.

Example: A patient has sepsis due to E. coli. The first-listed code is A41.51 (Sepsis due to Escherichia coli [E. coli]).

Step 2 — Add Severe Sepsis Codes If Applicable

If the documentation supports severe sepsis (sepsis with associated acute organ dysfunction), R65.20 (Severe sepsis without septic shock) or R65.21 (Severe sepsis with septic shock) is sequenced immediately after the infection code.

Example continued: The same patient with E. coli sepsis also has documented acute kidney injury as a result of the sepsis. The codes become: A41.51 (Sepsis due to E. coli); R65.20 (Severe sepsis without septic shock); N17.9 (Acute kidney injury, unspecified) — the organ dysfunction code.

Step 3 — Code Each Associated Organ Dysfunction

When severe sepsis is present, every documented acute organ dysfunction must be coded individually as an additional code. There is no single combination code that captures the infection, the severity, and every organ dysfunction together — each affected organ system gets its own code, sequenced after R65.20 or R65.21.

Sequencing Position Code Type Example
1st Underlying systemic infection A41.51 (Sepsis due to E. coli)
2nd Severe sepsis code (if applicable) R65.20 or R65.21
3rd+ Each associated acute organ dysfunction N17.9 (AKI), J96.00 (Acute respiratory failure), R57.1 (Cardiogenic shock — if unrelated to sepsis code, verify separately)

Septic Shock Always Implies Severe Sepsis

Septic shock cannot be coded without also reflecting severe sepsis, because septic shock is, by definition, a form of severe sepsis. When septic shock is documented, R65.21 (Severe sepsis with septic shock) is used — not R65.20. R65.21 is always sequenced as a secondary code; it is never sequenced first, because it inherently depends on the underlying infection code being reported first.

Important exam point: R65.21 (severe sepsis with septic shock) cannot stand alone or be listed as the principal/first-listed diagnosis. The infection code always precedes it.

Sepsis Without Documented Organ Dysfunction

If a patient has sepsis but there is no documentation of associated acute organ dysfunction, only the infection code is reported — R65.20 and R65.21 are not used, because they specifically represent the severe sepsis stage with organ involvement. Sepsis without severe sepsis or septic shock is coded with just the underlying infection code (A40.- or A41.-).

SIRS Due to a Non-Infectious Process

Systemic Inflammatory Response Syndrome (SIRS) can result from either an infectious or a non-infectious process (such as trauma, burns, or pancreatitis). This is one of the most frequently tested distinctions on the CPC exam.

SIRS due to infection = sepsis. This is coded using the sepsis codes described above (A40-/A41.- plus, if applicable, R65.2-).

SIRS due to a non-infectious process is coded from category R65.1- (Systemic inflammatory response syndrome of non-infectious origin), not from the sepsis codes. If organ dysfunction is present, R65.11 (SIRS of non-infectious origin with acute organ dysfunction) is used; if not, R65.10 (SIRS of non-infectious origin without acute organ dysfunction) is used.

Scenario Correct Code Category
SIRS caused by an infection Sepsis codes (A40.-/A41.- + R65.2- if severe)
SIRS caused by trauma, burns, or pancreatitis (non-infectious) R65.1- (SIRS of non-infectious origin)

The underlying cause documented — infectious versus non-infectious — is what determines the correct code category. The presence of the term “SIRS” in the documentation does not automatically mean sepsis codes apply.

Sequencing When Sepsis Develops During an Encounter for an Unrelated Condition

If a patient is admitted for a condition unrelated to sepsis, and sepsis develops during the encounter, sequencing depends on whether the sepsis meets the definition of principal diagnosis. If the original condition and the sepsis both meet the criteria and the sepsis was not present on admission, sequencing follows the general principal diagnosis selection rules — the condition that, after study, was chiefly responsible for the admission is sequenced first.

Sepsis and a Localized Infection

When a patient has sepsis due to a localized infection (such as a urinary tract infection or pneumonia that has progressed to sepsis), both the systemic infection code and the code for the localized infection are reported. The sepsis code is sequenced first, followed by the code identifying the localized infection site, unless ICD-10-CM sequencing rules or the Alphabetic Index direct otherwise.

Example: A patient has sepsis due to a urinary tract infection caused by E. coli. Codes: A41.51 (Sepsis due to E. coli); N39.0 (Urinary tract infection, site not specified) — the localized infection.

Sepsis Present on Admission vs Developing After Admission

For inpatient coding, whether sepsis was present on admission (POA) affects quality reporting and, in some payment systems, reimbursement — though POA indicators are a documentation and reporting requirement layered on top of, not a replacement for, the standard sequencing rules above. A coder must still apply mandatory infection-first sequencing regardless of POA status; POA simply flags whether the condition existed at the time of the admission order.

Newborn and Puerperal Sepsis

Sepsis in a newborn is coded differently from adult sepsis, using category P36 (Bacterial sepsis of newborn), which is organism-specific similar to the adult A41 category. Puerperal sepsis — sepsis occurring during the puerperium (the period following childbirth) — is coded from category O85 and is sequenced according to obstetric coding conventions, which generally place the obstetric complication code first regardless of other conditions present, similar to rules covered in Outpatient vs Inpatient Guidelines for obstetric sequencing exceptions.

How the CPC Exam Tests Sepsis Coding

Pattern 1 — Correct Sequencing Order

The question presents a sepsis scenario with an infection, severe sepsis, and one or more organ dysfunctions, and the answer choices arrange these codes in different orders. The correct answer always sequences the infection first, the severe sepsis code second (if applicable), and organ dysfunction codes after.

Pattern 2 — SIRS Infectious vs Non-Infectious

The scenario describes SIRS resulting from either an infection or a non-infectious cause like trauma or pancreatitis. The correct answer depends entirely on correctly identifying the underlying cause — sepsis codes for infectious SIRS, R65.1- codes for non-infectious SIRS.

Pattern 3 — Missing the Organ Dysfunction Code

The scenario documents severe sepsis with a specific organ dysfunction (such as acute kidney injury), and one answer choice includes only the infection and severe sepsis codes, omitting the organ dysfunction code. The correct answer always includes a separate code for each documented organ dysfunction.

Pattern 4 — Septic Shock Requires the Full Sequence

The scenario documents septic shock, and one answer choice uses only R65.21 as a standalone code. The correct answer always includes the underlying infection code first, since R65.21 can never be sequenced alone or first.

Common Mistakes

Sequencing R65.20 or R65.21 first. These codes represent the severity of sepsis, not the underlying infection, and can never be the first-listed or principal diagnosis. The infection code always comes first.

Failing to code each organ dysfunction separately. Severe sepsis requires an individual code for every documented acute organ dysfunction. Omitting one under-codes the severity and clinical complexity of the encounter.

Confusing infectious SIRS with non-infectious SIRS. SIRS due to infection is sepsis and uses the sepsis code categories. SIRS due to trauma, burns, or pancreatitis uses R65.1- codes instead. The documentation must specify the cause.

Coding severe sepsis without organ dysfunction documentation. R65.20 and R65.21 should only be used when acute organ dysfunction is documented as part of the sepsis process. Sepsis without documented organ involvement is coded with the infection code alone.

Missing the localized infection code. When sepsis originates from a documented localized infection (UTI, pneumonia, wound infection), both the sepsis code and the localized infection code should generally be reported, not just the sepsis code alone.

🧪 Test Yourself: Sepsis Coding

5 quick questions drawn from this guide. Click an answer to check it — explanations appear as you go.

1. Sepsis without severe sepsis or organ dysfunction is coded with:

For sepsis, first code the underlying systemic infection (e.g., A41.9, sepsis unspecified organism). No R65.2- unless severe sepsis is documented.

2. Severe sepsis requires a minimum of how many codes?

Severe sepsis needs the systemic infection code plus R65.2- (severe sepsis), plus codes for any acute organ dysfunction.

3. Severe sepsis WITH septic shock is captured by:

R65.21 = severe sepsis with septic shock; R65.20 is severe sepsis without shock.

4. SIRS of non-infectious origin without acute organ dysfunction is:

R65.10 reports SIRS of non-infectious origin without acute organ dysfunction (e.g., from trauma or pancreatitis).

5. When sepsis is present on admission and is the reason for admission, it is:

If sepsis meets the definition of principal diagnosis, the underlying infection is sequenced first, followed by R65.2- if severe.

Frequently Asked Questions

What is the correct sequencing for sepsis codes?

The underlying systemic infection code is always sequenced first (typically from category A40 or A41). If severe sepsis is documented, R65.20 (without septic shock) or R65.21 (with septic shock) is sequenced second. Any documented acute organ dysfunction is then coded with additional codes sequenced after. This order is mandatory and does not change based on care setting.

Can R65.21 (severe sepsis with septic shock) be the first-listed diagnosis?

No. R65.21 can never be sequenced first or reported alone. It always requires the underlying infection code (from category A40 or A41) to be sequenced before it, because septic shock is a manifestation of the infectious process, not the infection itself.

What is the difference between sepsis and SIRS?

Sepsis is Systemic Inflammatory Response Syndrome (SIRS) caused specifically by an infection, and it is coded using sepsis codes from categories A40-A41. SIRS can also result from non-infectious causes such as trauma, burns, or pancreatitis, in which case it is coded from category R65.1- instead of the sepsis codes. The underlying cause documented determines which code category applies.

Do I need to code every organ dysfunction in severe sepsis separately?

Yes. When severe sepsis is documented, each acute organ dysfunction caused by the sepsis must be coded individually as an additional code, sequenced after the infection code and the R65.20 or R65.21 code. There is no single code that captures the infection, severity, and all organ dysfunctions together.

How is sepsis due to a urinary tract infection coded?

Both the sepsis code and the code for the localized urinary tract infection are reported. The sepsis code (identifying the causative organism when documented) is sequenced first, followed by the urinary tract infection code identifying the localized site of infection.