2027 ICD-10-CM Diagnosis Code T40.5X1APoisoning by cocaine, accidental (unintentional), initial encounter

ICD-10-CM Codes›S00–T88›T36-T50›T40

ICD-10-CM T40.5X1A
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

T40.5X1A is a billable ICD-10-CM diagnosis code for poisoning by cocaine, accidental (unintentional), initial encounter. The 7th character A marks it as an initial encounter code, used while the patient is receiving active treatment. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 917 through 918. Coders also document this condition as accidental overdose by cocaine. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under External cause codes: intent of injury, accidental/unintentional; External cause codes: poisoning by drug; and Poisoning by drugs, initial encounter.

For Medicare Advantage risk adjustment, T40.5X1A maps to CMS-HCC Category 137 (Drug Use Disorder, Moderate/Severe, or Drug Use with Non-Psychotic Complications) under the V28 model, adding a risk factor of about 0.424 for a community, non-dual, aged beneficiary in payment year 2027.

Code Identity

ICD-10-CM Code
T40.5X1A
Billable Status
Yes — Valid for Submission
Code Describes
Poisoning by cocaine, accidental (unintentional), initial encounter
Short Description
Poisoning by cocaine, accidental (unintentional), init
Parent Code
Poisoning by cocaine, accidental (unintentional)

Code Classification

ChapterS00–T88Injury, poisoning and certain other consequences of external causes
SectionT36-T50Poisoning by, adverse effect of and underdosing of drugs, medicaments and biological substances
CategoryT40Poisoning by, adverse effect of and underdosing of narcotics and psychodysleptics [hallucinogens]
This CodeT40.5X1APoisoning by cocaine, accidental (unintentional), initial encounter

Medicare Risk Adjustment (HCC)Billing

T40.5X1A maps to a payment category in the CMS-HCC model used to risk-adjust Medicare Advantage payments. Weights are the published community factors for payment year 2027.

CMS-HCC V28 Category (Payment Model)
HCC 137— Drug Use Disorder, Moderate/Severe, or Drug Use with Non-Psychotic Complications
Payment HCC · PY 2027 one of 308 ICD-10-CM codes in this category
Risk Adjustment Factor (RAF) Weight
+0.424
community, non-dual, aged · ranges 0.297–0.502 across segments
Hierarchy
Superseded by HCC 135 and HCC 136
a more severe related category takes the payment when both are reported
Prior Model (CMS-HCC V24)
HCC 55
V24 retired V28 pays 100% of MA risk scores since PY 2026
Other CMS Models
ESRD (V24): HCC 55
ESRD V24 weights: 0.111 dialysis, 0.172–0.416 functioning graft
Part D (RxHCC)
Not mapped
T40.5X1A does not risk-adjust in the RxHCC prescription drug model

Source: CMS Payment Year 2027 risk adjustment mappings and model software. Weights are relative factors, not dollar amounts; a beneficiary's total RAF also includes demographics and interactions. Browse all CMS-HCC categories.

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Accidental overdose by cocaine
  • Accidental overdose by crack cocaine
  • Accidental poisoning by cocaine
  • Accidental poisoning by crack cocaine
  • Cocaine-induced acrocyanosis and livedo reticularis
  • Fetal cocaine syndrome
  • Overdose of cocaine
  • Overdose of crack cocaine
  • Poisoning by crack cocaine
  • Skin lesion in drug addict

Coding GuidelinesGuidance

When coding a poisoning or reaction to the improper use of a medication (e.g., overdose, wrong substance given or taken in error, wrong route of administration), first assign the appropriate code from categories T36-T50. The poisoning codes have an associated intent as their 5th or 6th character (accidental, intentional self-harm, assault and undetermined). If the intent of the poisoning is unknown or unspecified, code the intent as accidental intent. The undetermined intent is only for use if the documentation in the record specifies that the intent cannot be determined. Use additional code(s) for all manifestations of poisonings.

The appropriate 7th character is to be added to each code from block Poisoning by, adverse effect of and underdosing of narcotics and psychodysleptics [hallucinogens] (T40). Use the following options for the applicable episode of care:

  • A - initial encounter
  • D - subsequent encounter
  • S - sequela

Source: ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027, published by CMS and the National Center for Health Statistics.

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to T40.5X1A: its own notes plus those printed at T40, block T36-T50, and Chapter 19. A note printed at a category, block or chapter applies to every code under it.

Includes

Further defines, or gives examples of, the content of the category.

From Block T36-T50 Poisoning by, adverse effect of and underdosing of drugs, medicaments and biological substances applies to 3,186 codes
  • adverse effect of correct substance properly administered
  • poisoning by overdose of substance
  • poisoning by wrong substance given or taken in error
  • underdosing by (inadvertently) (deliberately) taking less substance than prescribed or instructed

Excludes1

Not coded here: the excluded code is never reported together with this one, unless the two conditions are unrelated.

From Block T36-T50 Poisoning by, adverse effect of and underdosing of drugs, medicaments and biological substances applies to 3,186 codes
  • toxic reaction to local anesthesia in pregnancy (O29.3-)

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

From T40 Poisoning by, adverse effect of and underdosing of narcotics and psychodysleptics [hallucinogens] applies to 258 codes
  • drug dependence and related mental and behavioral disorders due to psychoactive substance use (F10.-F19.-)
From Block T36-T50 Poisoning by, adverse effect of and underdosing of drugs, medicaments and biological substances applies to 3,186 codes
  • abuse and dependence of psychoactive substances (F10-F19)
  • abuse of non-dependence-producing substances (F55.-)
  • immunodeficiency due to drugs (D84.821)
  • drug reaction and poisoning affecting newborn (P00-P96)
  • pathological drug intoxication (inebriation) (F10-F19)
From Chapter 19 (S00-T88) Injury, poisoning and certain other consequences of external causes applies to 41,187 codes

Code First

The underlying condition named in the note is sequenced before this code.

From Block T36-T50 Poisoning by, adverse effect of and underdosing of drugs, medicaments and biological substances applies to 3,186 codes
  • for adverse effects, the nature of the adverse effect, such as:
  • adverse effect NOS (T88.7)
  • aspirin gastritis (K29.-)
  • blood disorders (D56-D76)
  • contact dermatitis (L23-L25)
  • dermatitis due to substances taken internally (L27.-)
  • nephropathy (N14.0-N14.2)

Use Additional Code

Add a second code, after this one, to fully describe the condition.

From Block T36-T50 Poisoning by, adverse effect of and underdosing of drugs, medicaments and biological substances applies to 3,186 codes
  • code(s) to specify:
  • manifestations of poisoning
  • underdosing or failure in dosage during medical and surgical care (Y63.6, Y63.8-Y63.9)
  • underdosing of medication regimen (Z91.12-, Z91.13-)
From Chapter 19 (S00-T88) Injury, poisoning and certain other consequences of external causes applies to 41,187 codes
  • code to identify any retained foreign body, if applicable (Z18.-)

Notes

General instructions on how these codes are used.

From Block T36-T50 Poisoning by, adverse effect of and underdosing of drugs, medicaments and biological substances applies to 3,186 codes
  • The drug giving rise to the adverse effect should be identified by use of codes from categories T36-T50 with fifth or sixth character 5.
From Chapter 19 (S00-T88) Injury, poisoning and certain other consequences of external causes applies to 41,187 codes
  • Use secondary code(s) from Chapter 20, External causes of morbidity, to indicate cause of injury. Codes within the T section that include the external cause do not require an additional external cause code
  • The chapter uses the S-section for coding different types of injuries related to single body regions and the T-section to cover injuries to unspecified body regions as well as poisoning and certain other consequences of external causes.

7th Character

Every code in the category takes a 7th character from the listed values, with the placeholder X filling any empty positions before it.

From T40 Poisoning by, adverse effect of and underdosing of narcotics and psychodysleptics [hallucinogens] applies to 258 codes
  • The appropriate 7th character is to be added to each code from category T40
  • Ainitial encounter this code
  • Dsubsequent encounter
  • Ssequela

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name T40.5X1A, its category, or a range that includes it.

Excludes1 2

These codes carry an Excludes1 note naming T40.5X1A: they are not reported together with it, unless the two conditions are unrelated.

  • T41 Poisoning by, adverse effect of and underdosing of anesthetics and therapeutic gases
    cocaine (T40.5-) names T40.5-, which includes this code
  • T43.6 Poisoning by, adverse effect of and underdosing of psychostimulants
    poisoning by, adverse effect of and underdosing of cocaine (T40.5-) names T40.5-, which includes this code

Excludes2 2

These codes carry an Excludes2 note naming T40.5X1A: its condition is not part of those codes, and both may be reported when the patient has both.

  • F14.2 Cocaine dependence
    cocaine poisoning (T40.5-) names T40.5-, which includes this code
  • T41.3 Poisoning by, adverse effect of and underdosing of local anesthetics
    poisoning by cocaine used as a central nervous system stimulant (T40.5X1-T40.5X4) names T40.5X1-T40.5X4, which includes this code

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR EXT020
External cause codes: intent of injury, accidental/unintentional
Default principal diagnosis: inpatient No · outpatient No
CCSR EXT014
External cause codes: poisoning by drug
Default principal diagnosis: inpatient No · outpatient No
CCSR INJ022
Poisoning by drugs, initial encounter
Default principal diagnosis: inpatient Yes · outpatient Yes
CCSR MBD021
Stimulant-related disorders
Default principal diagnosis: inpatient No · outpatient No

Clinical InformationClinical

  • Cocaine

    an alkaloid ester extracted from the leaves of plants including coca. it is a local anesthetic and vasoconstrictor and is clinically used for that purpose, particularly in the eye, ear, nose, and throat. it also has powerful central nervous system effects similar to the amphetamines and is a drug of abuse. cocaine, like amphetamines, acts by multiple mechanisms on brain catecholaminergic neurons; the mechanism of its reinforcing effects is thought to involve inhibition of dopamine uptake.

Table of Drugs and ChemicalsClinical

Substances in the Table of Drugs and Chemicals that reference this code family. Always confirm in the Tabular List before coding.

SubstanceAccidentalSelf-harmAssaultUndeter­minedAdverse
Effect
Under­dosing
Coca (leaf)T40.5X1T40.5X2T40.5X3T40.5X4T40.5X5T40.5X6
CocaineT40.5X1T40.5X2T40.5X3T40.5X4T40.5X5T40.5X6
CrackT40.5X1T40.5X2T40.5X3T40.5X4––

Patient EducationClinical

Cocaine

Cocaine is a very addictive drug that is made from leaves of the coca plant found in South America. It is mostly available as an illegal drug that some people use to get high. In rare cases, it is also used as a prescription drug for for anesthesia during certain surgeries.

The full article covers:

  • What is cocaine?
  • How do people use cocaine?
  • What are the short-term effects of cocaine?
  • What are the long-term effects of cocaine?
  • Can a person overdose on cocaine?
  • What are the treatments for cocaine use disorder?

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Convert T40.5X1A to ICD-9-CMHistory

The closest ICD-9-CM equivalents under the General Equivalence Mappings.

ICD-9-CM
970.81 Poisoning by cocaine
ApproximateCombination The match is approximate, and more than one code can be needed to describe the source diagnosis. Confirm with contextual judgment.
ICD-9-CM
E854.2 Acc poisn-psychstimulant
ApproximateCombination The match is approximate, and more than one code can be needed to describe the source diagnosis. Confirm with contextual judgment.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About T40.5X1AOverview

What is the ICD-10 code for poisoning by cocaine, accidental (unintentional), initial encounter?

The ICD-10-CM code for poisoning by cocaine, accidental (unintentional), initial encounter is T40.5X1A (sometimes written as T405X1A). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is T40.5X1A (Poisoning by cocaine, accidental (unintentional)) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report poisoning by cocaine, accidental (unintentional), initial encounter on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What does the 7th character A in T40.5X1A mean?

The final character A marks the initial encounter: use it while the patient is receiving active treatment for poisoning by cocaine, accidental (unintentional), such as an emergency visit or first evaluation.

What MS-DRG does T40.5X1A group to?

When poisoning by cocaine, accidental (unintentional), initial encounter is the principal diagnosis on an inpatient stay, it groups to MS-DRG 918, 917, with relative weights from 0.8716 to 1.5698 depending on complications. Higher weights mean higher Medicare reimbursement.

Can T40.5X1A be reported with a code from O29.3?

Not as a rule. The Excludes1 note at block T36-T50, which applies to T40.5X1A, lists "toxic reaction to local anesthesia in pregnancy (O29.3-)". An Excludes1 note means the excluded code is never reported together with this one; the only exception is when the two conditions are unrelated to each other (Official Guidelines, Section I.A.12.a).

What HCC is T40.5X1A?

T40.5X1A (poisoning by cocaine, accidental (unintentional), initial encounter) maps to CMS-HCC Category 137 (Drug Use Disorder, Moderate/Severe, or Drug Use with Non-Psychotic Complications), commonly written as HCC 137, in the CMS-HCC V28 model used for Medicare Advantage risk adjustment in payment year 2027. It mapped to HCC 55 under the retired V24 model. It also maps in the ESRD (V24) model. It does not map to any RxHCC in the Part D prescription drug model.

Does T40.5X1A risk-adjust for Medicare Advantage payment?

Yes. When documented and reported on a Medicare Advantage encounter, T40.5X1A adds a risk adjustment factor of about 0.424 to the beneficiary's RAF score for a community, non-dual, aged enrollee (published V28 weights range from 0.297 to 0.502 depending on the payment segment). A more severe related category (HCC 135 and HCC 136) supersedes it when both are reported. See the full factor table on the HCC 137 category page.