Skip to main navigation Skip to search Skip to main content

Pain diagnoses and pain medication prescriptions before, during and after major depression diagnosis: A nationwide cohort of 521,244 people with new onset depression

  • Brendon Stubbs
  • , Tien Yu Chen
  • , Davy Vancampfort
  • , Ming Shiang Wu
  • , Andre Oliveira Werneck
  • , Joseph Firth
  • , Marco Solmi
  • , Chi Shin Wu
  • King's College London
  • University of Vienna
  • National Defense University Taiwan
  • KU Leuven
  • National Health Research Institutes Taiwan
  • Universidade de São Paulo
  • University of Manchester
  • University of Ottawa
  • Charité – Universitätsmedizin Berlin
  • National Taiwan University

Research output: Contribution to journalArticlepeer-review

Abstract

Background Chronic pain and major depressive disorder (MDD) are prevalent and often co-occurring conditions, yet the temporal relationship between pain management and the onset of MDD remains inadequately understood. Methods This study analyzed data from 521,244 individuals with incident MDD between 2011 and 2020, utilizing Taiwan's National Health Insurance Research Database. We examined prescriptions for analgesics, including acetaminophen, NSAIDs, opioids, and gabapentinoids, and categorized pain diagnoses as inflammatory, degenerative, neuropathic, chronic, or headache-related. Data were collected for 12 months before and after the incident MDD diagnosis. Interrupted time-series analysis was employed to model temporal trends in medication use and diagnoses. Results Findings revealed a notable increase in both pain diagnoses and analgesic prescriptions leading up to the MDD diagnosis, peaking at the index month. Specifically, opioid use reached a prevalence of 3.38 %, acetaminophen 21.67 %, NSAIDs 23.72 %, and gabapentinoids 0.86 %. Headache disorders were present in 2.58 % of patients, and chronic pain was noted in 2.07 %. Following the MDD diagnosis, there was a significant immediate decline in analgesic use, NSAIDs (OR = 0.92, 95 % CI [0.91, 0.92]) and opioids (OR = 0.90, [0.88, 0.92]), with a continued downward trend over the subsequent year. Fibromyalgia and headache disorders demonstrated the strongest associations with the onset of MDD. Conclusions These patterns suggest that escalating pain and analgesic use may serve as prodromal indicators of MDD, and psychiatric interventions post-diagnosis may reduce reliance on pain medications. Integrating pain and mental health assessments in primary care could facilitate earlier treatment, potentially mitigating the compounded burden of these conditions.

Original languageEnglish
Article number120854
JournalJournal of Affective Disorders
Volume397
DOIs
Publication statusPublished - 15 Mar 2026
Externally publishedYes

Bibliographical note

Publisher Copyright:
© 2025 Elsevier B.V.

Keywords

  • Analgesia
  • Chronic pain
  • Depression
  • Mental illness
  • Opioids

Fingerprint

Dive into the research topics of 'Pain diagnoses and pain medication prescriptions before, during and after major depression diagnosis: A nationwide cohort of 521,244 people with new onset depression'. Together they form a unique fingerprint.

Cite this