Sepsis coding is one of the most frequently tested and commonly misunderstood topics in medical coding. The ICD-10-CM guidelines for sepsis are detailed, specific, and slightly different from how many coders initially approach the condition. This guide breaks down sepsis coding step-by-step so you understand how to identify sepsis, code it correctly, and assign the proper site-of-infection diagnosis.
What is Sepsis?
Sepsis is a life-threatening condition caused by the body’s response to infection. It occurs when microorganisms (bacteria, viruses, or fungi) spread into the bloodstream and trigger a systemic inflammatory response. Sepsis progresses in severity:
- Sepsis: SIRS (systemic inflammatory response syndrome) with confirmed or suspected infection
- Severe Sepsis: Sepsis with acute organ dysfunction (shock, respiratory failure, renal failure, etc.)
- Septic Shock: Sepsis with persistent hypotension requiring vasopressor support
How to Code Sepsis in ICD-10-CM
Step 1: Identify the Infecting Organism
The first step in coding sepsis is to identify the organism causing the infection. ICD-10-CM requires you to code the specific organism whenever possible. The infecting organism is coded with a code from category A40 (Streptococcal sepsis) or A41 (Other sepsis).
| Organism Type | ICD-10-CM Code Range |
|---|---|
| Streptococcal sepsis | A40.0–A40.9 |
| Staphylococcal sepsis | A41.0–A41.1 |
| Streptococcal pneumoniae | A40.3 |
| E. coli sepsis | A41.5 |
| Pseudomonas sepsis | A41.5 |
| Sepsis, unspecified organism | A41.9 |
Step 2: Code the Site of Infection
Once you’ve identified the organism, you must code the site where the infection originated. This is crucial because the source of infection affects treatment and patient outcomes. Common sites include:
- Urinary tract infection (UTI) — leads to urosepsis
- Pneumonia — respiratory tract infection
- Intra-abdominal infection (appendicitis, perforation, abscess)
- Skin/soft tissue infection (cellulitis, abscess, wound infection)
- Endocarditis (infection of heart valve)
- Meningitis (infection of brain/spinal cord membranes)
Step 3: Code Associated Organ Dysfunction
If the patient develops severe sepsis or septic shock with acute organ failure, you must code the organ dysfunction. This includes:
- Sepsis with acute respiratory failure — add respiratory failure code (J96)
- Sepsis with acute kidney injury — add acute kidney injury code (N17–N19)
- Sepsis with shock — add shock code (R57)
- Sepsis with coagulopathy — add DIC code (D65)
- Sepsis with altered mental status — add code for encephalopathy or altered consciousness
The Sepsis Coding Sequence
🏥 Inpatient Sepsis Coding
- Sepsis code (A40/A41) is principal diagnosis if sepsis is reason for admission
- If patient admitted for other reason and sepsis develops — code as secondary diagnosis
- Always include site of infection code
- Always include organ dysfunction codes
- Sequence: Sepsis code, then site, then complication codes
🏢 Outpatient Sepsis Coding
- Sepsis code is first-listed if patient presents with sepsis
- Include site of infection as secondary diagnosis
- Include organ dysfunction codes if documented
- Sequence: Sepsis code first, then site, then complications
- Often results in hospital admission — rarely treated purely outpatient
Real-World Sepsis Coding Examples
Example 1: Sepsis with Pneumonia
Clinical Scenario: 68-year-old admitted with fever, shortness of breath, and low blood pressure. Chest X-ray shows left lower lobe pneumonia. Blood cultures grow Staphylococcus aureus. Patient requires mechanical ventilation.
Codes to Assign:
- A41.0 — Staphylococcal sepsis (principal diagnosis)
- J15.211 — Pneumonia due to Staphylococcus aureus (site of infection)
- J96.01 — Acute respiratory failure with hypoxia (organ dysfunction)
Why These Codes? The sepsis code comes first because sepsis was the reason for admission. The pneumonia code identifies where the infection originated. The respiratory failure code documents the acute organ dysfunction requiring mechanical ventilation.
Example 2: Urosepsis (Urinary Tract Sepsis)
Clinical Scenario: 82-year-old female with E. coli sepsis secondary to urinary tract infection. Patient has acute kidney injury requiring dialysis.
Codes to Assign:
- A41.5 — Sepsis due to Gram-negative organisms (principal diagnosis)
- N39.0 — Urinary tract infection, site not specified (site of infection)
- N17.9 — Acute kidney injury, unspecified (organ dysfunction)
Why These Codes? E. coli is a Gram-negative organism, so A41.5 applies. The UTI code shows the source. The acute kidney injury code documents the serious complication.
Example 3: Post-Surgical Sepsis
Clinical Scenario: Patient develops streptococcal sepsis on post-op day 3 after abdominal surgery. Source is intra-abdominal abscess from surgical site infection.
Codes to Assign:
- A40.9 — Streptococcal sepsis, unspecified (principal diagnosis if sepsis is focus)
- K65.9 — Peritonitis, unspecified (intra-abdominal infection site)
- T81.4 — Infection following a procedure (complication code)
Why These Codes? Streptococcal sepsis becomes the principal diagnosis. The peritonitis code identifies the infected site. The procedural complication code shows this is a post-operative infection.
Common Sepsis Coding Mistakes
Sepsis and Septic Shock — The Key Distinction
| Condition | Definition | ICD-10-CM Code |
|---|---|---|
| Sepsis | SIRS with confirmed or suspected infection | A40–A41 |
| Severe Sepsis | Sepsis with acute organ dysfunction (still used in documentation) | A40–A41 + organ dysfunction codes |
| Septic Shock | Sepsis with persistent hypotension requiring vasopressor support | R57.2 (Septic shock) |
When a patient has septic shock, you code both the sepsis code (A40 or A41) AND the septic shock code (R57.2). Septic shock is always a serious complication and the codes work together to paint the complete clinical picture.
Summary: The Sepsis Coding Checklist
When you encounter sepsis in a medical record, ask yourself these questions:
- Is infection confirmed or suspected? → Code A40 or A41
- What organism is documented? → Use specific code (Staph, Strep, Gram-negative, etc.)
- What is the source/site of infection? → Code site separately (UTI, pneumonia, abscess, etc.)
- Are there complications? → Code respiratory failure, kidney injury, shock, coagulopathy, etc.
- Is this severe sepsis or septic shock? → Add appropriate severity/shock codes
- What is the principal/first-listed diagnosis? → Usually sepsis if that’s why patient was admitted