Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

npj Digital Medicine
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. npj digital medicine
  3. articles
  4. article
TikTok is a valuable data source for tracking the opioid crisis
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 27 April 2026

TikTok is a valuable data source for tracking the opioid crisis

  • Issah A. Samori1,
  • Kristy A. Carpenter2,
  • Delaney A. Smith3,
  • Keith Humphreys4,5,
  • Anna Lembke4,
  • Johannes C. Eichstaedt6,7,8 na1 &
  • …
  • Russ B. Altman1,2,9,10 na1 

npj Digital Medicine (2026) Cite this article

  • 1902 Accesses

  • 16 Altmetric

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Diseases
  • Health care
  • Medical research

Abstract

Monitoring opioid-related chatter on social media can predict the course of opioid addiction and the overdose epidemic. We assessed the utility of TikTok, a prominent short video-based social media platform, as a means of tracking the opioid addiction and overdose crisis. We collected 569,581 TikTok comments (posted between January 2021 and June 2025) from 48,306 opioid-related videos, making this study the first large-scale analysis of TikTok comments for opioid surveillance. We extracted 200 topics from these comments using Latent Dirichlet Allocation (LDA) and incorporated the topics into ARIMA models that forecast synthetic opioid mortality over 6-month horizons. We also analyzed conversational patterns using the LIWC2015 pronoun dictionaries and GPT o1-mini. We found that (1) incorporating TikTok topics into the ARIMA models reduced forecasting Mean Absolute Error by up to 37% (2) the topics spanned five broad themes (use, source, recovery, harm-reduction, loss), showing the diversity of opioid discourse on TikTok, and (3) TikTok comments included first-person, second-person, and third-person accounts of opioid use (i.e., personal use, engaging with other users in conversation about their use, and relating views of others’ use, respectively). These findings emphasize the usefulness of TikTok comments as a data source for opioid use surveillance.

Similar content being viewed by others

Monitoring the opioid epidemic via social media discussions

Article Open access 15 May 2025

Opioid death projections with AI-based forecasts using social media language

Article Open access 08 March 2023

Predicting opioid consumption after surgical discharge: a multinational derivation and validation study using a foundation model

Article Open access 26 August 2025

Acknowledgements

The authors would like to thank Mathew Kiang, Samuel Campione, Prakhar Goel, Cedric (Chun Hui) Lim, and members of the Altman Lab for insightful conversations and assistance. We would also like to thank the Microsoft Accelerate Foundation Models Research Program for Azure GPT credits. This work is supported by NIH DA057598 and NIH DA057605; IAS is supported by the Stanford Bioengineering Department and Sarafan ChEM-H CBI Program Award; K.A.C. is supported by NIH 1F31GM151783. D.A.S. is supported by the Stanford Biochemistry Department and NSF GRFP 2019286895. K.H. is supported by a Senior Research Career Scientist Award (RCS 04-141-3) from the Department of Veterans Affairs Health System Research Service. J.C.E., R.B.A. and A.L. are supported by the Stanford Institute for Human-Centered AI. R.B.A. is supported by the Chan Zuckerberg Biohub and NIH GM153195.

Author information

Author notes
  1. These authors contributed equally: Johannes C. Eichstaedt, Russ B. Altman.

Authors and Affiliations

  1. Department of Bioengineering, Stanford University, Stanford, CA, USA

    Issah A. Samori & Russ B. Altman

  2. Department of Biomedical Data Science, Stanford University, Stanford, CA, USA

    Kristy A. Carpenter & Russ B. Altman

  3. Department of Biochemistry, Stanford University, Stanford, CA, USA

    Delaney A. Smith

  4. Department of Psychiatry and Behavioral Sciences, Stanford University, Stanford, CA, USA

    Keith Humphreys & Anna Lembke

  5. Veterans Affairs Health Care System, Palo Alto, CA, USA

    Keith Humphreys

  6. Department of Psychology, Stanford University, Stanford, CA, USA

    Johannes C. Eichstaedt

  7. Institute for Human-Centered AI, Stanford University, Stanford, CA, USA

    Johannes C. Eichstaedt

  8. Decision Sciences, INSEAD, Fontainebleau, France

    Johannes C. Eichstaedt

  9. Department of Genetics, Stanford University, Stanford, CA, USA

    Russ B. Altman

  10. Department of Medicine, Stanford University, Stanford, CA, USA

    Russ B. Altman

Authors
  1. Issah A. Samori
    View author publications

    Search author on:PubMed Google Scholar

  2. Kristy A. Carpenter
    View author publications

    Search author on:PubMed Google Scholar

  3. Delaney A. Smith
    View author publications

    Search author on:PubMed Google Scholar

  4. Keith Humphreys
    View author publications

    Search author on:PubMed Google Scholar

  5. Anna Lembke
    View author publications

    Search author on:PubMed Google Scholar

  6. Johannes C. Eichstaedt
    View author publications

    Search author on:PubMed Google Scholar

  7. Russ B. Altman
    View author publications

    Search author on:PubMed Google Scholar

Corresponding authors

Correspondence to Issah A. Samori or Russ B. Altman.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Supplementary Information (download PDF )

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Samori, I.A., Carpenter, K.A., Smith, D.A. et al. TikTok is a valuable data source for tracking the opioid crisis. npj Digit. Med. (2026). https://doi.org/10.1038/s41746-026-02654-x

Download citation

  • Received: 16 December 2025

  • Accepted: 10 April 2026

  • Published: 27 April 2026

  • DOI: https://doi.org/10.1038/s41746-026-02654-x

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Download PDF

Advertisement

Explore content

  • Research articles
  • Reviews & Analysis
  • News & Comment
  • Collections
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • Aims and scope
  • Content types
  • Journal Information
  • About the Editors
  • Contact
  • Editorial policies
  • Calls for Papers
  • Journal Metrics
  • About the Partner
  • Open Access
  • Early Career Researcher Editorial Fellowship
  • Editorial Team Vacancies
  • News and Views Student Editor
  • Communication Fellowship

Publish with us

  • For Authors and Referees
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

npj Digital Medicine (npj Digit. Med.)

ISSN 2398-6352 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing