ICD-10-CM 2027 diagnosis code
B20Human immunodeficiency virus [HIV] disease
B20 is a valid, billable ICD-10-CM code for human immunodeficiency virus [hiv] disease. It can be reported on claims for dates of service from October 1, 2026 – September 30, 2027.
Looking up by condition? See ICD-10 code for HIV, ICD-10 code for ARC, ICD-10 code for AIDS, ICD-10 code for Slim disease.
Code unchanged since ICD-10-CM took effect on October 1, 2015. Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data
About B20
B20 is the ICD-10-CM diagnosis code for human immunodeficiency virus [HIV] disease. It belongs to block B20 (human immunodeficiency virus [HIV] disease) and chapter 1 (certain infectious and parasitic diseases). It is billable, so it can be reported on its own for dates of service from October 1, 2026 through September 30, 2027.
Don't report B20 together with the conditions in its Excludes1 note: asymptomatic human immunodeficiency virus [HIV] infection status (Z21), exposure to HIV virus (Z20.6) and inconclusive serologic evidence of HIV (R75).
Code first: Human immunodeficiency virus [HIV] disease complicating pregnancy, childbirth and the puerperium, if applicable (O98.7-).
Use an additional code(s) to identify all manifestations of HIV infection.
As a secondary diagnosis it is a CC (complication or comorbidity), which can move an inpatient stay into the "with CC" MS-DRG of its family, unless the principal diagnosis excludes it.
In MS-DRG v44.0, it is part of the grouping logic for DRG 969 (HIV with Extensive O.R. Procedures with MCC, relative weight 7.1775), DRG 970 (HIV with Extensive O.R. Procedures without MCC, relative weight 3.1469), DRG 974 (HIV with Major Related Condition with MCC, relative weight 3.0506), DRG 975 (HIV with Major Related Condition with CC, relative weight 1.3252), DRG 976 (HIV with Major Related Condition without CC/MCC, relative weight 0.8124) and DRG 977 (HIV with or without Other Related Condition, relative weight 1.3911), in MDC 25 (Human Immunodeficiency Virus Infections), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.
It has been part of ICD-10-CM since the code set took effect on October 1, 2015 and hasn't changed since.
Before ICD-10, this condition was coded in ICD-9-CM as 042 (human immunodeficiency virus [HIV] disease).
Coding notes
- acquired immune deficiency syndrome [AIDS]
- AIDS-related complex [ARC]
- HIV infection, symptomatic
- Human immunodeficiency virus [HIV] disease complicating pregnancy, childbirth and the puerperium, if applicable (O98.7-)
- code(s) to identify all manifestations of HIV infection
Notes that apply from higher levels
Instructions written at a parent level also apply to B20.
Broader instructions also apply from Chapter 1: Certain infectious and parasitic diseases.
Alphabetic index entries
15 entriesTerms in the official ICD-10-CM index that lead to B20.
- Acquired › immunodeficiency syndrome (AIDS)
- AIDS (related complex)
- ARC (AIDS-related complex)
- Dementia (degenerative (primary)) (persisting) (unspecified severity) (without behavioral disturbance, psychotic disturbance, mood disturbance, and anxiety) › in (due to) › human immunodeficiency virus (HIV) disease
- Dementia (degenerative (primary)) (persisting) (unspecified severity) (without behavioral disturbance, psychotic disturbance, mood disturbance, and anxiety) › in (due to) › human immunodeficiency virus (HIV) disease › with behavioral disturbance
- Disease, diseased › human immunodeficiency virus (HIV)
- Disease, diseased › slim (HIV)
- Disease, diseased › viral, virus › human immunodeficiency (HIV)
- Encephalitis (chronic) (hemorrhagic) (idiopathic) (nonepidemic) (spurious) (subacute) › due to › human immunodeficiency virus (HIV) disease
- HIV
- Human › immunodeficiency virus (HIV) disease (infection)
- Human › immunodeficiency virus (HIV) disease (infection) › dementia
- Human › immunodeficiency virus (HIV) disease (infection) › dementia › with behavioral disturbance
- Slim disease (in HIV infection)
- Syndrome › HIV infection, acute
Codes whose notes reference B20
- B39Code first
- B97.3Excludes1
- C46Code first
- D59.31Use additional code
- D61.81Excludes1
- D84.81Excludes1
- D89.89Excludes1
- E88.14Code first
- F02Code first
- F06.7Code first
- G05Code first
- I27.21Code also
- I88Excludes1
- L04Excludes1
- O98.7Use additional code
- O98.7Use additional code
- R62.5Excludes1
- R75Excludes1
- Z21Excludes1
- Z21Excludes1
MS-DRG v44.0 grouping
All DRGs →Inpatient MS-DRGs this diagnosis can group to, as the principal or a secondary diagnosis, depending on the rest of the claim.
MDC 25 · Human Immunodeficiency Virus Infections
- 969HIV with Extensive O.R. Procedures with MCCRW 7.1775
- 970HIV with Extensive O.R. Procedures without MCCRW 3.1469
- 974HIV with Major Related Condition with MCCRW 3.0506
- 975HIV with Major Related Condition with CCRW 1.3252
- 976HIV with Major Related Condition without CC/MCCRW 0.8124
- 977HIV with or without Other Related ConditionRW 1.3911
MDC 25 · Human Immunodeficiency Virus Infections
ICD-9-CM equivalent
Converter →- 042Human immunodeficiency virus [HIV] diseaseexact
From the CMS 2018 General Equivalence Mappings (GEMs), the final GEMs release.
Code history
- 2016
- 2017
- 2018
- 2019
- 2020
- 2021
- 2022
- 2023
- 2024
- 2025
- 2026
- 2027
- FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
- No changes since FY2016.
Common questions about B20
Is B20 billable?
- Yes. B20 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can B20 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict B20 as a principal diagnosis.
Is B20 a CC or MCC?
- B20 is a CC (complication or comorbidity) under MS-DRG v44.0, unless excluded by the principal diagnosis.
What DRG does B20 group to?
- B20 is used in the MS-DRG v44.0 logic for MS-DRG 969 (HIV with Extensive O.R. Procedures with MCC), MS-DRG 970 (HIV with Extensive O.R. Procedures without MCC), MS-DRG 974 (HIV with Major Related Condition with MCC), MS-DRG 975 (HIV with Major Related Condition with CC), MS-DRG 976 (HIV with Major Related Condition without CC/MCC) and MS-DRG 977 (HIV with or without Other Related Condition). Which one applies depends on whether it is the principal diagnosis and on the rest of the claim.
What is the ICD-9 code for B20?
- The CMS General Equivalence Mappings map B20 to ICD-9-CM 042.