Diagnostic Codes

ICD-10 Code Z87.891: Personal History of Nicotine Dependence

Key Takeaways

Key Takeaways

ICD-10 Code Z87.891 is a billable ICD-10-CM code for patients with a personal history of nicotine dependence who no longer use tobacco products.

Z87.891 applies only to former tobacco users – patients with active nicotine dependence require F17.x codes instead.

Z87.891 is always a secondary diagnosis code and does not support tobacco cessation counseling billing (CPT 99406/99407) on its own.

Pabau’s clinical documentation features help practices capture and maintain accurate tobacco history records within patient profiles.

Miscoding a former smoker’s tobacco history is one of the most common and quietly costly documentation errors in primary care and chronic disease management. Clinicians document “quit smoking” in the chart, and the coder has to decide: does that mean active dependence in remission, or a historical note that no longer drives clinical risk? The wrong answer can trigger unnecessary tobacco counseling claims, inaccurate risk stratification, or audit exposure. Accurate claims management starts with knowing exactly when ICD-10 Code Z87.891 applies – and when it does not.

This reference covers the clinical definition, billable status, documentation requirements, code comparisons, sequencing rules, and real-world coding scenarios for Z87.891. Whether you work in primary care, pulmonology, cardiology, or medical coding, this guide gives you the specifics you need to apply this code correctly in 2026.

ICD-10 Code Z87.891: Definition and Billable Status

ICD-10 Code Z87.891 represents Personal history of nicotine dependence – a billable diagnosis code valid for the 2026 ICD-10-CM fiscal year, as confirmed by the CDC/NCHS ICD-10-CM classification tool. It belongs to Chapter 21: Factors Influencing Health Status and Contact with Health Services (Z00-Z99), specifically within the Z77-Z99 range covering persons with potential health hazards related to personal history.

The code signals that a patient previously met criteria for nicotine dependence but is no longer using tobacco products. It is not a code for current smoking, current vaping, or active dependence in any stage. The critical word is “history” – the condition existed, has resolved, and is now documented for clinical context.

Z87.891 Inclusion Terms and Synonyms

The ICD-10-CM tabular list includes the following inclusion terms for Z87.891, which coders may encounter in physician documentation:

  • Personal history of nicotine dependence
  • Former smoker
  • Ex-smoker
  • History of tobacco use (where dependence criteria were previously met)
  • Former smokeless tobacco user (chew, snuff)
  • Former e-cigarette user with prior dependence

These inclusion terms mean the code captures any tobacco delivery system where the patient previously had dependence – not just cigarettes. A former cigar smoker who quit three years ago and previously met dependence criteria maps to Z87.891 the same as a former pack-a-day cigarette smoker. The CMS ICD-10 coding resources provide the complete tabular list and annual update files for verification.

ICD-9-CM Crosswalk: V15.82

Before ICD-10-CM replaced ICD-9-CM in October 2015, personal history of tobacco use was coded as V15.82. The forward mapping from V15.82 is approximately Z87.891 – though coders should note this is a non-exact crosswalk, as ICD-10-CM distinguishes between history of tobacco use (Z72.0, for non-dependent use) and history of nicotine dependence (Z87.891). Practices running legacy claim reviews or gap analysis against historical ICD-9 data should verify that V15.82 records map to the correct 2026 code based on the original clinical context. The AAPC Codify ICD-10-CM lookup provides crosswalk tools for this conversion.

Pro Tip

Flag V15.82 legacy records during annual chart reviews. Not every V15.82 maps cleanly to Z87.891 – if the original documentation only noted ‘tobacco use’ without meeting dependence criteria, the correct 2026 code is Z72.0, not Z87.891. Review the source documentation before assuming a one-to-one crosswalk.

When to Use ICD-10 Code Z87.891 vs. F17.x Active Dependence Codes

This is where most coding errors occur. The distinction between Z87.891 and the F17.x code family is not a gray area – it is a binary clinical determination based on whether the patient currently meets criteria for nicotine dependence.

F17.210 and F17.291: Key Distinctions

The F17.x category covers active nicotine dependence across multiple tobacco product types and clinical presentations. The most relevant codes for comparison:

Code Description Current Use? Counseling Codes Apply?
Z87.891 Personal history of nicotine dependence No – former user No
F17.210 Nicotine dependence, cigarettes, uncomplicated Yes – active Yes (CPT 99406/99407)
F17.291 Nicotine dependence, other tobacco product, in remission In remission – clinical judgment required Provider discretion
Z72.0 Tobacco use (without dependence criteria) Current or past social use Context-dependent

The F17.291 “in remission” designation is where judgment matters most. Per ICD-10-CM guidelines, “in remission” still reflects a current diagnostic status – the patient was dependent, stopped, and has not fully transitioned to historical status. Z87.891, by contrast, is used when the dependence is part of the patient’s history but is no longer clinically active or under management. If the patient’s chart notes active cessation support, cravings, or relapse risk monitoring, F17.x codes remain more appropriate. For GP and primary care practices, this distinction matters during annual wellness visit documentation.

A key operational rule confirmed by the American Dental Association’s CDT and ICD-10-CM Coding Recommendations (2023): when only Z87.891 is documented – meaning tobacco history exists but is no longer clinically active – tobacco counseling services such as CPT 99406 or 99407 are not indicated. The WHO International Classification of Diseases framework underpinning ICD-10-CM reinforces that Z codes represent background health context, not active treatment targets.

Documentation Requirements for Personal History of Nicotine Dependence

Coders cannot assign Z87.891 on clinical inference alone. The physician or authorized provider must explicitly document the tobacco history and the patient’s current non-use status. Two key documentation elements are required.

Documentation Timing: How Long After Cessation?

ICD-10-CM Official Guidelines do not specify a minimum cessation duration before Z87.891 may be used. The transition from F17.x to Z87.891 is a clinical judgment call based on whether the provider considers the dependence resolved. In practice, many providers use Z87.891 after confirmed cessation where no relapse or active management is ongoing – but this varies by specialty and payer. Practices should document the cessation date, method (if known), and current non-use status to support the code selection. Structured patient records make this documentation retrievable during audits.

Required Documentation Elements

To support Z87.891 on a claim, the encounter note should include:

  • Explicit provider statement that the patient is a former tobacco user or has a personal history of nicotine dependence
  • Confirmation of current non-use – “patient no longer smokes” or “tobacco-free for X years” is sufficient
  • Prior dependence context – documentation that the patient previously met dependence criteria (e.g., pack-year history, prior cessation treatment, prior F17.x diagnosis)
  • No active treatment goal – counseling or cessation medications should not be documented as current clinical goals when using Z87.891

The AHIMA Coding Clinic and AAPC both emphasize that Z codes in Chapter 21 require provider attestation, not coder inference. If the chart says only “history of smoking” without confirming prior dependence, coders should query the provider before assigning Z87.891 over Z72.0. Practices using digital intake forms can capture tobacco history systematically at every visit, reducing the need for provider queries.

Tobacco Counseling Codes (CPT 99406/99407) and Z87.891

This combination frequently triggers payer audits. CPT 99406 (tobacco cessation counseling, 3-10 minutes) and CPT 99407 (greater than 10 minutes) require medical necessity supported by a current tobacco use or dependence diagnosis. Z87.891 – a history code – does not establish medical necessity for these services. Submitting 99406 or 99407 alongside Z87.891 as the only tobacco-related code is likely to result in a denial or post-payment audit. Claims management software that flags this code pairing before submission can prevent unnecessary denials.

Accurate Tobacco History Coding Starts with Accurate Records

Pabau's clinical documentation and patient record features help practices capture tobacco history systematically, support accurate ICD-10-CM code selection, and flag claim combinations that could trigger denials.

Pabau clinical documentation interface

Accurate tobacco coding requires understanding how Z87.891 sits within the broader ICD-10-CM code family. Several adjacent codes are frequently confused with Z87.891 or used alongside it.

Z87.891 in the Tobacco Code Landscape

The three primary ICD-10-CM categories for tobacco documentation are:

  • F17.x codes – Active nicotine dependence by product type (cigarettes, chewing tobacco, other products) and clinical specifier (uncomplicated, with withdrawal, in remission). Use when the patient currently meets dependence criteria.
  • Z72.0 (Tobacco use) – For current or past tobacco use that did not reach dependence level. Common for occasional or social tobacco users. Never use simultaneously with F17.x for the same tobacco product.
  • Z87.891 (Personal history of nicotine dependence) – Historical dependence, fully resolved. Use when the patient was previously dependent but no longer is, and tobacco is no longer an active clinical management issue.

A common error is applying Z72.0 when Z87.891 is more appropriate, or vice versa. Z72.0 is a present-status code – it describes current behavior. Z87.891 is a past-status code – it describes resolved history. For a patient who smoked one to two cigarettes per day socially for a decade and never met dependence criteria, Z72.0 (history of use) is technically more accurate than Z87.891. For a former pack-a-day smoker who quit five years ago after a formal cessation program, Z87.891 is the correct code. Functional medicine and integrative practices managing long-term chronic disease risk often encounter this distinction during preventive care visits.

For practices needing a comprehensive lookup reference, the CDC/NCHS ICD-10-CM web tool provides the full 2026 tabular list with inclusion notes, exclusion notes, and coding guidelines for every Z87 code. The CMS ICD Code Lists also publish annually updated valid diagnosis code sets for Medicare claim submissions.

Sequencing and Secondary Diagnosis Guidelines

Z87.891 is always a secondary diagnosis code. It cannot function as a principal diagnosis on an inpatient record or as a primary reason for an outpatient encounter. Its role is to provide relevant clinical context for the primary diagnosis being managed.

When Sequencing Z87.891 as a Secondary Code

Z87.891 adds clinical context in several common encounter types:

  • Cardiovascular disease management – Former smoker status is relevant background for patients with coronary artery disease, peripheral vascular disease, or COPD. Sequence the primary cardiovascular diagnosis first, then Z87.891.
  • Lung cancer screening – Low-dose CT screening eligibility often requires documentation of tobacco history. Z87.891 supports this medical necessity context alongside the screening CPT code.
  • Annual wellness visits (AWV) – Medicare AWV documentation may include Z87.891 as a health risk factor when the provider notes former smoker status in the health risk assessment.
  • Preventive care encounters – Primary care providers may include Z87.891 on preventive visit claims where tobacco history influences the clinical risk assessment, even if no tobacco-specific intervention is provided.

Per ICD-10-CM Official Guidelines Section I.C.21, Z codes may be used as additional codes to identify relevant health status factors. The wellness clinic and longevity practice contexts are particularly relevant here, where comprehensive preventive documentation drives both clinical quality metrics and risk-adjusted reimbursement. Risk stratification models used in value-based care often factor in tobacco history, making accurate secondary code assignment directly relevant to quality reporting.

Z87.891 in Medicare and Preventive Care Workflows

CMS guidance treats Z87.891 as an acceptable secondary code on Medicare claims when the clinical context supports its inclusion. It does not trigger automatic coverage of tobacco cessation services – those require an active F17.x code. For practices participating in Chronic Care Management (CCM) or transitional care programs, Z87.891 may appear on condition lists where tobacco history contributes to chronic disease risk without constituting an active diagnosis requiring direct management. Automated clinical workflows can prompt providers to document tobacco status at each relevant encounter type, ensuring the secondary code appears consistently across the patient’s record.

Pro Tip

Run a quarterly audit on claims that pair Z87.891 with tobacco cessation CPT codes (99406, 99407). This combination is a known denial trigger. If cessation counseling was genuinely provided, verify that an active F17.x code also appears on the claim before submission. Catching this pairing internally saves appeals time and protects your denial rate.

Common Coding Errors and How to Avoid Them

Four patterns account for the majority of Z87.891 coding errors seen in payer audits and coding reviews:

  • Using Z87.891 for current smokers. If the patient currently uses tobacco and meets dependence criteria, the code is F17.2xx, not Z87.891. A “trying to quit” patient is still an active user.
  • Applying Z87.891 and F17.x simultaneously for the same tobacco product. These codes are mutually exclusive for the same episode. The patient is either currently dependent (F17.x) or historically dependent (Z87.891).
  • Confusing Z72.0 with Z87.891. Z72.0 is for tobacco use without dependence. Z87.891 requires that prior dependence be documented. If dependence was never established in the record, Z72.0 may be more defensible.
  • Assigning Z87.891 as principal diagnosis. Z87.891 is a supplemental history code. It cannot stand alone as the reason for an encounter. Always sequence a primary diagnosis first.

Practices managing high volumes of tobacco-history documentation across physical therapy, psychiatry, and dermatology specialties can reduce these errors by building standardized tobacco history screening into intake workflows. Systematic documentation at intake reduces reliance on coder inference and creates a consistent audit trail.

Expert Picks

Expert Picks

Need a framework for clinical documentation accuracy? Safer Clinical Notes covers best practices for structured note-taking that supports accurate code selection and audit defense.

Managing tobacco-related risk in a primary care workflow? GP Clinic Software explains how Pabau supports primary care documentation, recall workflows, and chronic condition tracking.

Looking to reduce claim denials across your practice? Claims Management Software outlines how Pabau helps practices identify and prevent common claim pairing errors before submission.

Conclusion

The difference between Z87.891 and an F17.x code is the difference between a resolved health history and an active clinical problem – and coders who conflate the two expose practices to denials, audits, and inaccurate patient records. ICD-10 Code Z87.891 is the correct tool for documenting former tobacco users where dependence has resolved and no active cessation management is underway.

Pabau’s clinical documentation and patient record features give practices the structure to capture tobacco history accurately at intake, flag conflicting code combinations, and maintain consistent documentation across encounter types. To see how Pabau supports accurate ICD-10-CM coding workflows, book a demo.

Frequently Asked Questions

What is the ICD-10 code for personal history of nicotine dependence?

ICD-10 Code Z87.891 is the correct code for personal history of nicotine dependence. It applies to patients who previously met dependence criteria but are no longer using tobacco products and no longer have active dependence under clinical management.

Is Z87.891 a billable ICD-10 code?

Yes, Z87.891 is a fully billable ICD-10-CM diagnosis code, valid for the 2026 fiscal year. It is classified as a secondary code and must be sequenced after the primary diagnosis on any claim where it appears.

Can Z87.891 be used as a primary diagnosis code?

No. Z87.891 is a supplemental history code that provides clinical context. It cannot serve as the principal diagnosis on an inpatient record or the primary reason for an outpatient encounter. A primary diagnosis must always be sequenced first.

What is the difference between Z87.891 and Z72.0?

Z87.891 requires documented prior nicotine dependence – a clinical diagnosis, not just tobacco use. Z72.0 (Tobacco use) applies to patients who use or used tobacco without meeting full dependence criteria. If the chart reflects only casual or social tobacco use without a dependence history, Z72.0 may be more accurate than Z87.891.

Does Z87.891 support billing for tobacco cessation counseling?

No. CPT codes 99406 and 99407 for tobacco cessation counseling require an active tobacco use or dependence diagnosis (F17.x or Z72.0 in a current-use context). Z87.891 alone – as a history code – does not establish medical necessity for cessation counseling services, and submitting this combination is a known denial trigger.

What is the ICD-9 equivalent of Z87.891?

The approximate ICD-9-CM crosswalk for Z87.891 is V15.82 (Personal history of tobacco use). This is a non-exact mapping – coders reviewing historical ICD-9 data should verify the original documentation to confirm whether Z87.891 or Z72.0 is the more accurate 2026 equivalent.

×