What are the possible ICD‑10‑CM (and ICD‑9‑CM) codes for pneumonia?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: March 21, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

ICD Coding for Pneumonia

The primary ICD-10-CM codes for pneumonia include J18.9 (pneumonia, organism unspecified), J13 (pneumococcal pneumonia), J15.x (bacterial pneumonia by specific organism), and J12.x (viral pneumonia), with the specific code selection depending on whether the organism is identified and documented.

ICD-10-CM Coding Structure

The ICD-10-CM system provides significantly more specificity than ICD-9-CM for pneumonia diagnosis, though research shows only 44.6% of available ICD-10-CM codes are actually utilized in practice 1.

Most Common ICD-10-CM Codes for Pneumonia:

  • J18.9 - Pneumonia, organism unspecified (most frequently used when etiology is unknown) 2, 3
  • J13 - Pneumococcal pneumonia (Streptococcus pneumoniae) 4, 2
  • J15.x series - Bacterial pneumonia due to specific organisms:
    • J15.0 - Klebsiella pneumoniae
    • J15.1 - Pseudomonas
    • J15.2 - Staphylococcus aureus 4, 5
    • J15.3 - Streptococcus, group B
    • J15.4 - Other streptococci
    • J15.7 - Mycoplasma pneumoniae 5, 6
  • J12.x series - Viral pneumonia 7
  • J14 - Hemophilus influenzae pneumonia 5
  • J16.0 - Chlamydial pneumonia 8, 6
  • J17 - Pneumonia in diseases classified elsewhere 9

ICD-9-CM Historical Codes (Pre-October 2015)

For historical reference or legacy systems:

  • 481 - Pneumococcal pneumonia (Streptococcus pneumoniae) 2
  • 482.x series - Other bacterial pneumonia 2
    • 482.3 - Streptococcal pneumonia
    • 482.4 - Staphylococcal pneumonia
  • 483.x series - Pneumonia due to other specified organism 3
  • 486 - Pneumonia, organism unspecified (most commonly used) 2, 3
  • 485 - Bronchopneumonia, organism unspecified 2

Important Coding Considerations

Validation and Accuracy

ICD-10-CM codes demonstrate high validity for pneumonia identification with sensitivity of 94% and positive predictive value of 92% in children, though performance is lower in older adults (74% sensitivity, 79% PPV) 10. When medical record notation is used as the reference standard, ICD-10 coding achieves kappa 0.95, sensitivity 97.8%, and specificity 96.9% 9.

Common Coding Pitfalls:

  • Unspecified codes are overused: 33.3% of ICD-10-CM pneumonia codes used are "unspecified" despite greater specificity being available, representing a 108.5% increase compared to ICD-9-CM 1
  • Sensitivity varies by organism: ICD-9-CM code 481 (pneumococcal pneumonia) had only 58.3% sensitivity, while code 486 (organism unspecified) had 14.2% sensitivity 2
  • Secondary codes matter: Using both primary and secondary diagnosis codes increases sensitivity from 72.4% to 79.5% without substantially affecting specificity 3
  • COPD misclassification: In ICD-10-CM, some pneumonia cases in adults with COPD are incorrectly coded as COPD exacerbation rather than pneumonia 10

Coding by Clinical Context:

Community-acquired pneumonia (CAP) should be coded based on identified organism when possible, as clinical features alone cannot reliably distinguish etiologic pathogens 5. The most common organisms include S. pneumoniae, H. influenzae, M. pneumoniae, and respiratory viruses 4, 5.

Hospital-acquired/healthcare-associated pneumonia may require additional codes for gram-negative organisms, MRSA (J15.212 for MRSA pneumonia), or Pseudomonas 5, 11.

Pediatric pneumonia coding should reflect age-specific pathogens: viral causes predominate in children under 5 years, while bacterial causes (especially S. pneumoniae and M. pneumoniae) are more common in school-aged children 6, 7, 6.

Optimization Strategies:

For research or quality improvement studies, excluding patients with complex chronic conditions improves coding accuracy, with specificity exceeding 90% 12. When validating pneumonia cases, combining ICD codes with chest radiograph confirmation provides the most reliable case identification 9, 12.

References

Guideline

acr appropriateness criteria® pneumonia in the immunocompetent child.

Journal of the American College of Radiology, 2020

Guideline

recommendations and guidelines for the treatment of pneumonia in taiwan.

Journal of Microbiology, Immunology and Infection, 2019

Related Questions

What ICD‑10 (International Classification of Diseases, Tenth Revision) code should be used for a follow‑up visit after completing treatment for pneumonia?
What is the appropriate workup and treatment for diarrhea in an immunocompromised patient with pneumonia?
Can pneumonia be detected on a computed tomography pulmonary angiography (CTPA) of the chest to rule out pneumonia?
How should pediatric pneumonia be diagnosed, including clinical criteria, age‑specific tachypnea thresholds, oxygen saturation, physical examination findings, imaging, and laboratory testing?
In a patient one month after pneumonia who has unilateral pleuritic dull chest pain and clear lung auscultation, is a contrast‑enhanced CT of the chest still the most appropriate next step?
What prophylaxis should be given to patients taking mycophenolate mofetil (MMF) to prevent opportunistic infections?
How frequently can therapeutic lumbar puncture be performed for idiopathic intracranial hypertension?
What is the best way to break the bad news of a confirmed ovarian carcinoma to a female patient who presented with weight loss?
When is a ventriculoperitoneal or lumboperitoneal shunt indicated in idiopathic intracranial hypertension?
When should a cerebrospinal fluid shunt be placed in an adult with idiopathic intracranial hypertension who is sodium‑sensitive and has persistent migraine‑type headache, visual disturbance, or other neurological deficits despite optimal medical therapy?
What is the appropriate evaluation and initial management for a female patient who woke up with diffuse joint pain, stiffness, limited range of motion, and joint swelling?

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.