Long-Term Medication Use ICD-10-CM codes
ICD-10-CM codes for the medication refill visit and long-term drug therapy, covering the entire Z79 series (anticoagulants, insulin, steroids, immunosuppressants, hormone replacement, opioids) and the repeat prescription code Z76.0.
50 codes, 41 billable. FY2027, valid from October 1, 2026. In chapter 21: Factors Influencing Health Status and Contact with Health Services.
Advertisements
How to code Long-Term Medication Use
A medication refill visit is coded to the condition being treated, not to the drug. Hypertension gets I10, type 2 diabetes gets E11.9, and so on, with the Z79 code added as a secondary diagnosis to show the patient is on long-term therapy: Z79.4 for insulin, Z79.84 for oral hypoglycemics, Z79.85 for injectable non-insulin antidiabetics such as GLP-1 agonists, Z79.01 for anticoagulants, Z79.52 for systemic steroids, Z79.891 for opioids, and Z79.899 for any drug without its own code. Z79 codes are never first-listed when the treated condition is known. Z76.0 (encounter for issue of repeat prescription) is the only code for a refill-only encounter where no condition is evaluated, and it should be rare in a physician office because such a visit usually does not support an E/M service.
Per section I.C.21.c.3, Z79 applies when a patient takes a drug for an extended period as prophylaxis, as treatment for a chronic condition, or to prevent recurrence. It does not apply to a short course for an acute illness (a 10-day antibiotic is not Z79.2), and it does not apply to methadone or buprenorphine maintenance for opioid dependence, which is captured by the F11.2x code alone. For diabetes, the guidelines now instruct that a patient on both insulin and an oral agent gets both Z79.4 and Z79.84, and a patient on insulin plus an injectable non-insulin drug gets Z79.4 and Z79.85.
Hormone replacement is Z79.890, added as a secondary code to the reason for therapy: N95.1 for symptomatic menopause, Z78.0 for the asymptomatic menopausal state, or a hypogonadism code. Long-term hormonal contraceptives are Z79.3 and are coded with the Z30.4x surveillance encounter, and the cancer-related endocrine agents have their own codes: Z79.810 for tamoxifen and other SERMs, Z79.811 for aromatase inhibitors. Immunosuppressant and biologic use is now subdivided in Z79.6x (Z79.620 biologics, Z79.621 calcineurin inhibitors, Z79.622 JAK inhibitors) and maintenance oral chemotherapy in Z79.63x.
When a drug level or safety lab is the reason for the visit, sequence Z51.81 (therapeutic drug level monitoring) first, then the Z79 code, then the condition. Underdosing or noncompliance with the medication regimen is reported with Z91.12x, Z91.13x, or Z91.14x alongside the condition that worsened, and the underdosing T code with 6th character 6 when the drug is identified.
All Long-Term Medication Use codes
- Z51.81Encounter for therapeutic drug level monitoring
- Z76.0Encounter for issue of repeat prescription
- Z78.0Asymptomatic menopausal state
- Z79Long term (current) drug therapy
- Z79.0Long term (current) use of anticoagulants and antithrombotics/antiplatelets
- Z79.01Long term (current) use of anticoagulants
- Z79.02Long term (current) use of antithrombotics/antiplatelets
- Z79.1Long term (current) use of non-steroidal anti-inflammatories (NSAID)
- Z79.2Long term (current) use of antibiotics
- Z79.3Long term (current) use of hormonal contraceptives
- Z79.4Long term (current) use of insulin
- Z79.5Long term (current) use of steroids
- Z79.51Long term (current) use of inhaled steroids
- Z79.52Long term (current) use of systemic steroids
- Z79.6Long term (current) use of immunomodulators and immunosuppressants
- Z79.60Long term (current) use of unspecified immunomodulators and immunosuppressants
- Z79.61Long term (current) use of immunomodulator
- Z79.62Long term (current) use of immunosuppressant
- Z79.620Long term (current) use of immunosuppressive biologic
- Z79.621Long term (current) use of calcineurin inhibitor
- Z79.622Long term (current) use of Janus kinase inhibitor
- Z79.623Long term (current) use of mammalian target of rapamycin (mTOR) inhibitor
- Z79.624Long term (current) use of inhibitors of nucleotide synthesis
- Z79.63Long term (current) use of chemotherapeutic agent
- Z79.630Long term (current) use of alkylating agent
- Z79.631Long term (current) use of antimetabolite agent
- Z79.632Long term (current) use of antitumor antibiotic
- Z79.633Long term (current) use of mitotic inhibitor
- Z79.634Long term (current) use of topoisomerase inhibitor
- Z79.64Long term (current) use of myelosuppressive agent
- Z79.69Long term (current) use of other immunomodulators and immunosuppressants
- Z79.8Other long term (current) drug therapy
- Z79.81Long term (current) use of agents affecting estrogen receptors and estrogen levels
- Z79.810Long term (current) use of selective estrogen receptor modulators (SERMs)
- Z79.811Long term (current) use of aromatase inhibitors
- Z79.818Long term (current) use of other agents affecting estrogen receptors and estrogen levels
- Z79.82Long term (current) use of aspirin
- Z79.83Long term (current) use of bisphosphonates
- Z79.84Long term (current) use of oral hypoglycemic drugs
- Z79.85Long-term (current) use of injectable non-insulin antidiabetic drugs
- Z79.89Other long term (current) drug therapy
- Z79.890Hormone replacement therapy
- Z79.891Long term (current) use of opiate analgesic
- Z79.899Other long term (current) drug therapy
- Z91.120Patient's intentional underdosing of medication regimen due to financial hardship
- Z91.128Patient's intentional underdosing of medication regimen for other reason
- Z91.130Patient's unintentional underdosing of medication regimen due to age-related debility
- Z91.138Patient's unintentional underdosing of medication regimen for other reason
- Z91.141Patient's other noncompliance with medication regimen due to financial hardship
- Z91.148Patient's other noncompliance with medication regimen for other reason
More Encounter and Z-Code Guides
Annual Physical ExamWell-Woman ExamMedicare Annual Wellness VisitPre-Operative ClearanceImmunization EncounterColon Cancer ScreeningScreening MammogramPap Smear and Cervical Cancer ScreeningDiabetes and Cholesterol ScreeningSTI, HIV, and COVID-19 ScreeningDepression ScreeningLab Work EncounterAll 335 guides
