Pabau GO app

The new Pabau GO is heredownload on the App Store

Download on the App Store
Book a demo Book a demo
Diagnostic Codes

ICD-10 code I40.0: Infective myocarditis coding guide

Key Takeaways

Key Takeaways

ICD-10 code I40.0 (Infective myocarditis) is a billable ICD-10-CM diagnosis code valid for claims with a date of service on or after October 1, 2015.

I40.0 requires a mandatory additional code from B95-B97 to identify the specific infectious agent. Submitting I40.0 alone, without the companion code, is an audit risk.

The parent code I40 (Acute myocarditis) is non-billable. Coders must specify I40.0, I40.1, I40.8, or I40.9 — using unspecified I40.9 when documentation supports I40.0 may trigger payer scrutiny.

Pabau’s claims management software helps cardiology and internal medicine practices document the infectious agent at the point of care, reducing dual-coding errors before claim submission.

ICD-10 code I40.0 is the billable ICD-10-CM diagnosis code for infective myocarditis — inflammation of the heart muscle caused by a confirmed infectious agent. It requires a mandatory additional code from the B95-B97 range to identify the specific organism, and a claim submitted without that companion code is incomplete under the tabular instruction.

This guide covers I40.0’s position in the coding hierarchy, the mandatory B95-B97 pairing, documentation standards, and the audit triggers that most often lead to a denial.

Billable status of ICD-10 code I40.0

I40.0 is a valid, billable ICD-10-CM diagnosis code. According to the Centers for Medicare and Medicaid Services (CMS), ICD-10-CM codes are required for all claims with a date of service on or after October 1, 2015. I40.0 is active in the FY2026 ICD-10-CM tabular list with no pending deletion or revision flags.

The code falls under the broader category I40 (Acute myocarditis), which is itself non-billable. Coders must always select a four-character code that reflects the documented etiology. I40.0 specifically represents myocarditis confirmed to have an infectious origin, distinguishing it from I40.1 (Isolated/Fiedler’s/Giant cell/Idiopathic), I40.8 (Other acute myocarditis), and I40.9 (Acute myocarditis, unspecified).

CodeDescriptionBillable?
I40Acute myocarditis (parent)No
I40.0Infective myocarditisYes
I40.1Isolated myocarditis (Fiedler’s, Giant cell, Idiopathic)Yes
I40.8Other acute myocarditisYes
I40.9Acute myocarditis, unspecifiedYes

The I40 parent code also includes subacute myocarditis under its “Includes” notation, meaning subacute presentations with a confirmed infective etiology still map to I40.0.

Code hierarchy and Excludes1 notes for I40.0

Understanding where I40.0 sits in the ICD-10-CM hierarchy prevents sequencing errors. The full hierarchy chain runs: I00-I99 (Diseases of the circulatory system) > I30-I5A (Other forms of heart disease) > I40 (Acute myocarditis) > I40.0 (Infective myocarditis). Each level must be recognized before selecting the terminal billable code.

Two exclusion notes govern code selection at the I40 category level and must be checked before coding any myocarditis encounter.

  • Excludes1: I01.2 (Acute rheumatic myocarditis). This is a mutually exclusive exclusion. A coder can never assign I40.0 and I01.2 on the same claim. If the physician documents rheumatic fever with myocarditis, I01.2 is the correct code, not I40.0. The presence of a documented preceding streptococcal infection does not override this rule. Rheumatic valve involvement follows the same logic — for example, rheumatic aortic valve disease coded to ICD-10 code I06.9 is excluded from any nonrheumatic valve code in the same way I01.2 is excluded from I40.0.
  • Related code I41 (Myocarditis in diseases classified elsewhere). When myocarditis is a manifestation of an underlying disease classified elsewhere, I41 applies, not I40.0. The distinction requires reviewing the attending physician’s documented cause-and-effect relationship, not coder inference. The same “in diseases classified elsewhere” logic applies to I39 (Endocarditis and heart valve disorders in diseases classified elsewhere) when the manifestation is endocarditis rather than myocarditis.

The ICD-10-CM Official Guidelines for Coding and Reporting reinforce that coders must not apply I40.0 based on clinical inference. The physician’s documentation must explicitly state an infective etiology. “Suspected” or “probable” infection does not meet the threshold for confirmed coding in the inpatient setting without physician confirmation.

Dual-coding requirement: Pairing I40.0 with B95-B97 infectious agent codes

The most operationally significant instruction attached to I40.0 is the “use additional code” notation in the ICD-10-CM tabular list: Coders must assign a code from B95-B97 to identify the specific infectious agent. This is not optional. Submitting I40.0 without a companion B95-B97 code leaves the claim incomplete, and payers can flag it during review.

The three code blocks cover the major infectious categories encountered in practice.

Code RangeInfectious Agent CategoryCommon Examples
B95Streptococcal and staphylococcal agentsB95.0 Strep A, B95.61 MSSA, B95.62 MRSA
B96Other bacterial agentsB96.1 Klebsiella, B96.3 H. influenzae, B96.89 Other
B97Viral agentsB97.10 Unspecified enterovirus, B97.89 Other viral agents

COVID-19-associated myocarditis follows a specific sequencing rule. When a patient has confirmed, active COVID-19 causing myocarditis, U07.1 (COVID-19) is sequenced first as the principal or first-listed diagnosis, with I40.0 assigned as a secondary code. I40.0 only becomes the principal diagnosis once the COVID-19 infection has resolved, at which point B94.8 (Sequela of other specified infectious disease) replaces U07.1 as the paired code. Coders should verify sequencing against the most current FY2026 ICD-10-CM Official Guidelines, since COVID-19 coding instructions have been revised multiple times since 2020.

Accuracy at this step depends entirely on what the physician documents. If the attending notes “viral myocarditis” without identifying the specific virus, the coder assigns I40.0 plus B97.89 (Other viral agents). If the culture identifies staphylococcus aureus, B95.61 or B95.62 is the appropriate companion code depending on methicillin resistance. The coder translates documented findings — assigning a best-guess organism when documentation is incomplete is not acceptable coding practice.

Pro Tip

Run a pre-claim audit: Before submitting any I40.0 encounter, confirm that the claim includes a paired B95-B97 code and that the specific code matches what the physician documented in the discharge summary or progress note. A mismatch between the B-code and the lab report is an audit red flag.

I40.0 vs I40.1 vs I40.9: Choosing the right code

Selecting among the I40 subcodes is a common source of coding errors. Each subcode maps to a distinct clinical presentation, and using I40.9 (Acute myocarditis, unspecified) when the record supports I40.0 is a specificity failure that can trigger post-payment audits.

  • Use I40.0 when the physician documents myocarditis caused by an infection, whether bacterial, viral, or other identified pathogen. The documentation must explicitly state infective etiology or name the causative organism.
  • Use I40.1 when the physician documents Fiedler’s myocarditis, Giant cell myocarditis, or Idiopathic myocarditis. These are non-infectious etiologies. Giant cell myocarditis, in particular, is associated with autoimmune processes rather than pathogen exposure.
  • Use I40.8 when the acute myocarditis is confirmed but does not fit the specific presentations of I40.0 or I40.1. This “other” category requires documentation of a distinct, identified type of myocarditis not captured by the other subcodes.
  • Use I40.9 only when the physician documents acute myocarditis without specifying etiology and further clarification is not available or clinically determinable.

The practical trigger for a query to the attending physician: When a patient presents with cardiac inflammation and the workup includes infectious studies (troponin elevation, viral serology, endomyocardial biopsy), but the documentation says only “acute myocarditis,” coders working under UHDDS guidelines in the inpatient setting should query for etiology before defaulting to I40.9. Querying the physician for etiology, rather than defaulting to I40.9, is standard clinical documentation integrity practice. Practices running clinical documentation software can flag this query automatically when I40.9 is selected without a physician-confirmed etiology.

Document infectious agents at the point of care

Pabau's claims management software helps cardiology and internal medicine teams capture the specific infectious organism in structured clinical records before claim submission, reducing dual-coding errors and audit exposure.

Pabau clinical documentation for cardiology coding

Documentation requirements for I40.0 claims

Payer audits on I40.0 claims typically focus on two documentation elements: Confirmation of infective etiology and identification of the causative organism. Both must come from the treating physician’s documentation, not from laboratory reports alone.

The following documentation components support a clean I40.0 claim.

  • Physician-authored diagnosis statement. The attending or treating physician must explicitly document that the myocarditis is infective or infectious in origin. Terms such as “septic myocarditis” also map to I40.0 per the tabular inclusion note.
  • Identified causative organism. Laboratory confirmation (blood culture, viral serology, PCR, or endomyocardial biopsy pathology) providing the organism name supports assignment of a specific B95-B97 subcode. Without physician documentation linking the lab result to the myocarditis diagnosis, the coder cannot assume the connection.
  • Temporal relationship. The documentation should establish that the myocarditis is acute or subacute (per the I40 inclusion note). Chronic myocarditis coded as unspecified maps to I51.4, not I40.0.
  • Exclusion of rheumatic etiology. For patients with a history of rheumatic fever or streptococcal pharyngitis, the physician must clearly differentiate between post-streptococcal rheumatic myocarditis (I01.2) and direct infective myocarditis (I40.0). These two codes are Excludes1, meaning they cannot coexist on a claim.

Practices with HIPAA-compliant structured clinical records can build documentation prompts into the cardiology encounter template, flagging the organism identification field whenever an ICD-10 code in the I40 range is selected. This reduces the back-and-forth between coders and clinicians that delays claim submission. Pabau’s digital forms support customized cardiology intake and encounter templates — similar in structure to a general practice intake form template — that capture this structured data at the point of care.

Detailed client records in Pabau
Detailed client records in Pabau

Several adjacent codes appear frequently in the same encounter as I40.0 or serve as alternative codes depending on presentation. Knowing these crosswalks reduces coding errors on complex cardiology encounters.

CodeDescriptionRelationship to I40.0
I01.2Acute rheumatic myocarditisExcludes1: mutually exclusive with I40.0
I40.1Isolated myocarditis (Fiedler’s, Giant cell, Idiopathic)Alternative when non-infectious etiology confirmed
I40.9Acute myocarditis, unspecifiedUse only when etiology not documented
I41Myocarditis in diseases classified elsewhereUse when myocarditis is a manifestation of another coded condition
I51.4Myocarditis, unspecified (chronic)Chronic presentations, not acute/subacute
U07.1COVID-19Sequenced first when COVID-19 is active — I40.0 becomes principal, paired with B94.8, once the infection resolves

Two further crosswalks matter in cardiology-heavy practices. I43 (Cardiomyopathy due to other conditions) applies when the underlying process produces cardiomyopathy rather than inflammation, and T86.22 (Heart transplant failure) applies when myocarditis-like inflammation appears in a transplanted heart — a distinct clinical and coding scenario from primary I40.0.

For practices working with complex ICD-10 coding scenarios across multiple organ systems, the CDC/NCHS ICD-10-CM web tool provides the official tabular list and index entries to verify code crosswalks and exclusion notes without relying on secondary sources. AAPC Codify is also widely used in cardiology coding for cross-referencing index entries and code history.

Pro Tip

When coding a myocarditis encounter that also involves heart failure, assign the heart failure code (I50.x) as a secondary code after I40.0. The myocarditis is the underlying cause — the heart failure is the manifestation. Check sequencing conventions in the ICD-10-CM Official Guidelines, Section I.C.9, for circulatory system coding rules.

MS-DRG assignment and reimbursement impact for I40.0

For inpatient hospital claims, code specificity directly affects MS-DRG grouping. Myocarditis coded as I40.9 (unspecified) may group differently than I40.0, affecting the expected reimbursement rate under Medicare’s inpatient prospective payment system. The MS-DRG grouper assigns the case based on the principal diagnosis and any complications or comorbidities (CCs/MCCs) documented in the record.

A confirmed infective etiology paired with a specific B96 or B97 organism code can qualify as a CC or MCC depending on the organism’s severity, affecting the DRG weight. This makes accurate dual-coding a revenue integrity issue as much as a compliance one. Practices billing under the inpatient setting should verify current MS-DRG v43.0 groupings using CMS’s ICD-10 codes and files page.

For outpatient cardiology and internal medicine practices, I40.0 appears on professional claims under the CMS Physician Fee Schedule. Reimbursement is driven by the associated E/M or procedural CPT codes rather than the ICD-10 code itself, though the diagnosis code must still support medical necessity for the services billed. A claim for cardiac imaging — an echocardiogram (CPT 93306) or cardiac CT angiography (CPT 75574), for example — filed with I40.0 as the supporting diagnosis must align with the clinical picture documented in the note. Pabau’s claims management software links diagnosis codes to procedures at the time of documentation, reducing mismatched claim rejections before submission.

Automate claims through Healthcode
Automate claims through Healthcode

Common coding errors and audit risks for I40.0

Recovery Audit Contractors (RACs) and Medicare Administrative Contractors (MACs) review myocarditis claims for a predictable set of documentation failures. Knowing these patterns in advance is the most efficient way to reduce post-payment recoupment risk.

  • Missing B95-B97 companion code. The single most common error. I40.0 submitted without a paired infectious agent code is incomplete under the tabular instruction. Even when the organism is documented in the record, the claim must include the code.
  • Using I40.9 when the record supports I40.0. Documentation that explicitly names an infective cause requires I40.0. Defaulting to I40.9 for convenience is a specificity failure that payers can identify through clinical documentation review.
  • Assigning I40.0 and I01.2 together. These are Excludes1 codes. A claim with both codes violates the tabular exclusion note and will be rejected or flagged for review.
  • Coder inference of infective etiology. Assigning I40.0 based on lab results without a physician linking those results to the myocarditis diagnosis is a documentation integrity violation. The physician, not the coder, must establish the cause-and-effect relationship.
  • Applying I40.0 to chronic presentations. Chronic myocarditis maps to I51.4. I40.0 is reserved for acute and subacute presentations per the I40 category definition.

Practices using EHR integration workflows that flag incomplete diagnosis pairings before a claim leaves the practice reduce these errors at the source rather than correcting them during the appeals process. Structured automated workflows can alert billing staff when an I40.0 code is selected without an accompanying B-code, catching the omission before it reaches the clearinghouse. Consistent medical documentation practices are the foundation of clean cardiology claims.

Automated communication in Pabau
Automated communication in Pabau

Conclusion

Infective myocarditis claims fail most often because the dual-coding requirement gets missed or the documentation trail between the physician’s diagnosis and the laboratory findings is incomplete. Accurate I40.0 coding requires three aligned elements: A physician-documented infective etiology, a matched B95-B97 companion code, and a clear exclusion of rheumatic myocarditis.

Pabau’s claims management software helps cardiology and internal medicine teams build these documentation checks into the clinical workflow, catching missing companion codes before submission rather than after denial. To see how Pabau handles structured diagnosis coding and patient care documentation for specialist practices, book a demo with the team.

Continue your research

Continue your research

Need guidance on ICD-10-CM diagnostic coding for other conditions? Intraparenchymal hemorrhage ICD-10 codes covers neurological diagnosis coding with the same dual-code and documentation structure.

Looking for ICD-10 code selection guidance across specialties? Situational anxiety ICD-10 code explains how to select between specificity levels in ICD-10-CM, directly relevant to avoiding unspecified code use.

Want to reduce claim errors across your practice? Pabau claims management software links diagnosis codes to procedures at documentation, reducing mismatched submissions before they reach the clearinghouse.

Coding for behavioral health alongside a physical diagnosis? CPT code 96138 covers billing for psychological and neuropsychological testing services.

Need a refresher on trauma wound coding? ICD-10 code S31.106D covers subsequent encounters for an open wound of the right flank.

Frequently asked questions

What is ICD-10 code I40.0?

ICD-10 code I40.0 is the billable ICD-10-CM diagnosis code for Infective myocarditis, representing acute or subacute inflammation of the myocardium caused by a confirmed infectious agent such as a virus, bacterium, or other pathogen. It is valid for claims with a date of service on or after October 1, 2015, and requires an additional code from B95-B97 to identify the specific organism.

Is I40.0 always paired with a B95-B97 code?

Yes. The ICD-10-CM tabular list includes a “use additional code (B95-B97)” instruction for I40.0. This means every claim using I40.0 must include a companion code identifying the infectious agent. If the specific organism is unknown, B97.89 (Other viral agents) or B96.89 (Other specified bacterial agents) may apply depending on what the physician documents.

Can I40.0 and I01.2 be coded together on the same claim?

No. I01.2 (Acute rheumatic myocarditis) is listed as an Excludes1 code at the I40 category level, meaning it is mutually exclusive with I40.0. These two codes cannot appear on the same claim. If the physician documents rheumatic fever with myocarditis, use I01.2, not I40.0.

When should I use I40.9 instead of I40.0?

Use I40.9 (Acute myocarditis, unspecified) only when the physician documents acute myocarditis without specifying the etiology and further clarification through a physician query is not possible. When the documentation supports an infective cause, I40.0 is the required code; using I40.9 in that scenario is a specificity failure that may trigger audit review.

How does COVID-19 myocarditis get coded under ICD-10-CM?

When a patient has confirmed, active COVID-19 causing myocarditis, U07.1 (COVID-19) must be sequenced first as the principal or first-listed diagnosis, with I40.0 (Infective myocarditis) assigned as a secondary or additional code to identify the manifestation. I40.0 becomes the principal diagnosis only once the COVID-19 infection has resolved, at which point B94.8 (Sequela of other specified infectious disease) is coded for the resolved infection instead of U07.1. Coders should confirm sequencing against the most current FY2026 ICD-10-CM Official Guidelines and AHA Coding Clinic advice, since COVID-19 sequencing instructions have been revised multiple times since 2020.

×