Association of Preoperative Depression and Anxiety With Long-term Opioid Use After Hysterectomy for Benign Indications.

OA: closed
AI-generated summary by gemini-2.5-flash-lite, 2026-08-03

Women undergoing hysterectomy with preoperative depression or anxiety show higher risks of persistent opioid use and related complications compared to those without.

One-sentence paraphrase of the abstract; not a substitute for reading it. No clinical advice. How this works

AI-generated deep summary by qwen3.7-flash, 2026-09-03 · read from full text

This retrospective cohort study analyzed administrative claims data from nearly 290,000 opioid-naïve women undergoing hysterectomy to determine if preoperative depression or anxiety predicts long-term postoperative opioid use. The researchers found that patients with these psychiatric comorbidities had a significantly higher risk of persistent opioid filling during the first six months after surgery compared to those without such diagnoses, even after adjusting for various demographic and clinical factors. While the study noted that surgical indications included endometriosis, it did not isolate this specific condition as a primary variable in its main statistical models regarding mental health and pain management outcomes. Relevance to endometriosis: listed as one indication for hysterectomy among the study population, though the paper's main focus is on psychiatric predictors of opioid persistence rather than the pathophysiology of endometriosis itself.

Read from the paper's body, not the abstract. Not a substitute for reading the paper. No clinical advice. How this works

Abstract

ObjectiveTo assess whether preoperative depression or anxiety is associated with increased risk of long-term, postoperative opioid use after hysterectomy among women who are opioid-naïve.MethodsWe conducted an observational cohort study of 289,233 opioid-naïve adult women (18 years or older) undergoing hysterectomy for benign indications from 2010 to 2017 using IBM MarketScan databases. Opioid use and refills in the 180 days after surgery and preoperative depression and anxiety were assessed. Secondary outcomes included 30-day incidence of emergency department visits, readmission, and 180-day incidence of opioid complications. The association of depression and anxiety were compared using inverse-probability of treatment weighted log-binomial and proportional Cox regression.ResultsTwenty-one percent of women had preoperative depression or anxiety, and 82% of the entire cohort had a perioperative opioid fill (16% before surgery, 66% after surgery). Although perioperative opioid fills were relatively similar across the two groups (risk ratio [RR] 1.07, 95% CI 1.06-1.07), women with depression or anxiety were significantly more likely to have a postoperative opioid fill at every studied time period (RRs 1.44-1.50). Differences were greater when restricted to persistent use (RRs 1.49-2.61). Although opioid complications were rare, women with depression were substantially more likely to be diagnosed with opioid dependence (hazard ratio [HR] 5.54, 95% CI 4.12-7.44), and opioid use disorder (HR 4.20, 95% CI 1.97-8.96).ConclusionPerioperative opioid fills are common after hysterectomy. Women with preoperative anxiety and depression are more likely to experience persistent use and opioid-related complications.
Full text 21,193 characters · extracted from pmc-nxml · 4 sections · click to expand

Methods

This study was conducted using the IBM Watson Health/Truven Health Analytics MarketScan® Commercial Claims and Encounters database. This administrative database contains de-identified, individual-level health insurance claims across the continuum of care (e.g. inpatient services, outpatient services, outpatient pharmacy) as well as enrollment data from roughly 150 large employers and health plans across the US who provide private healthcare coverage for employees, their spouses, and dependents (roughly 50 million individuals each year). Diagnoses and procedures were captured using ICD-9-CM and ICD-10-CM, diagnosis and procedure codes and CPT codes. All adult women (18-65 years old) who underwent total abdominal hysterectomy (TAH), total laparoscopic hysterectomy (TLH), laparoscopic supracervical hysterectomy (LSH), vaginal hysterectomy (VH), or laparoscopic-assisted vaginal hysterectomy (LAVH) between January 1, 2010 and December 31, 2017 were eligible for inclusion. ICD-9-CM and CPT procedure codes were identified using clinical review and prior studies; ICD-10-CM procedure codes were identified using forward and backward mapping with CMS Generalized Equivalence Mappings (GEMs). If a woman had multiple billed encounters with hysterectomy codes, the first one was used for analysis. Surgery was classified as abdominal (TAH), laparoscopic (TLH, LSH, LAVH), and vaginal (VH). Women with multiple surgical approaches (on the same day) were categorized using the most invasive surgical approach (most to least invasive: abdominal, laparoscopic, vaginal). Women were required to have at least 180 days of continuous coverage (with 8-day grace periods) before either their hysterectomy date (outpatient surgeries) or admission date (inpatient surgeries) and ≥30 days coverage after their hysterectomy (outpatient) or discharge date (inpatient), Figure 1 . The lookback window (days −180 to −1) was used to identify diagnoses of preoperative depression or anxiety, antidepressant use, gynecological cancer, and comorbidities ( Appendixes 1 and 2 ). The postoperative 30-day window (days 0 to 30) was used to identify undiagnosed preoperative gynecological or peritoneal cancer. Women with gynecologic cancer were excluded (n=26,980 [6%] diagnosed before, n=6,639 [1%] diagnosed after hysterectomy), as were women with inpatient hospitalizations >4 days (n=6,840 [5% of all inpatient hysterectomies]). Women were also excluded if they had prevalent opioid use prior to hysterectomy. Prevalent use was defined as 1) any opioid use between 180 and 30 days before hysterectomy or 2) >1 opioid prescription within the 30 days before surgery 9 . Perioperative opioid use was defined as an opioid fill during the perioperative period (days −30 to 14), Figure 1 . All women were then followed after their hysterectomy date (outpatient surgeries) or date of discharge (inpatient surgeries) until insurance disenrollment, date of another invasive surgery 19 , or 180 days, whichever came first. The primary outcome of interest was long-term, postoperative opioid use during the first 6 months after surgery. Postoperative time was categorized into the following periods: 15-30, 31-60, 61-90, and 91-180 days after hysterectomy. New, persistent opioid use was classified in 2 ways: 1) any fill during the postoperative time periods listed above, and 2) consecutive fills during the postoperative time periods (high-risk persistent use). These definitions have been used previously for assessing post-hysterectomy opioid use. 9 Additional outcomes of interest included the 30-day incidence of emergency department (ED) visits and readmission, and 180-day incidence of opioid dependence, abuse, and poisoning. ED visits were identified using CPT codes 99281-99285, revenue codes 0450-0459 and 0981, and place of service code 23. Other variables of interest included other psychiatric disorders and comorbidities that may affect postoperative outcomes or are associated with opioid use(. All comorbidities were captured using inpatient and outpatient service records in the 180 days prior to surgery or admission ( Figure 1 ). Charlson Comorbidity Index (CCI) score was calculated using the methodology described in Deyo et al (1992) 20 . Surgical indications (benign neoplasm of uterus, inflammatory pelvic disease, endometriosis, prolapse, menstrual disorders) were identified using records in the 30 days before and the date of surgery (or admission, days −30 to 0); women were allowed to have >1 indication for surgery. Differences in patient demographics, comorbidities, and surgical characteristics were assessed using descriptive statistics. Trends in preoperative depression and anxiety- stratified into medically managed depression or anxiety (medication fill with or without diagnosis) and non-medically managed depression or anxiety (diagnosis alone)- and perioperative opioid use (stratified into fills before and on/after surgery) were also described. Differences in long-term, postoperative opioid use (any and persistent) among women with and without depression or anxiety were assessed using inverse-probability of treatment weighted (IPTW) log-binomial regression. Complete follow-up during the time period was required for each analysis (e.g. a woman with 80 days follow-up would be included in perioperative [−30 to 14 days], 15-30, and 31-60 day analyses, but excluded for 61-90 and 91-180). IPTW Cox proportional hazards regression was used to estimate the association between preoperative depression or anxiety, and the 30-day incidence of ED visits, readmission, and 180-day incidence of opioid complications (dependence, abuse, and poisoning). IPTWs for each patient were calculated using multivariable logistic regression, adjusting for age at surgery (treated as restricted quadratic spline), CCI score (categorized as 0, 1, 2, and ≥3), surgical indications, comorbidities (other psychiatric diagnoses, hypertension, obesity, pain), non-opioid analgesic medication use, procedure type (abdominal, laparoscopic, vaginal), inpatient procedure, and timing of surgery (treated as categorical by year and quarter). We performed two sensitivity analyses. First, we assessed the association of depression or anxiety between women with medically managed and non-medically managed depression or anxiety, compared to women without depression or anxiety. IPTWs were re-calculated for each patient using generalized logistic regression (to allow for a 3-level exposure). Wald Chi-square tests were used to compare the effect of medically managed and non-medically managed depression or anxiety. Second, we restricted our definition of depression or anxiety to major depressive disorder (ICD-9-CM: 296.20-296.36; ICD-10-CM: F32.0-F33.9); women classified as having preoperative depression or anxiety, but not major depressive disorder were excluded. IPTWs were again re-calculated for each patient before analysis. All analyses were performed using SAS version 9.4 (SAS Inc., Cary, NC). This study was classified as exempt by the University of North Carolina at Chapel Hill Institutional Review Board (IRB# 18-1890).

Results

Overall, 417,147 women underwent hysterectomy for benign conditions; 121,914 (30%) were prevalent opioid users prior to surgery. Women with depression or anxiety were more likely to be prevalent users (41% vs 26%). After restricting to women who were opioid-naïve, 289,233 were included in the analyses; 21% of women (n=60,260) were classified as having preoperative depression or anxiety, and 83% (n=239,032) had complete follow-up (180 days). The prevalence of preoperative depression or anxiety slightly increased between 2010 and 2017 from 19% to 23% ( Figure 1 A). Overall, women with and without depression had similar patient demographics ( Table 1 ). Notable differences include women with depression having slightly higher prevalence of comorbidities (17% vs 13%), other psychiatric conditions (3% vs <1%), chronic pain conditions (20% vs 14%) and were less likely to have benign neoplasm as the indication for hysterectomy (61% vs 70%). Women with depression or anxiety were also less likely to undergo an abdominal hysterectomy (20% vs 26%) or have an inpatient surgery (31% vs 37%). Perioperative opioid fills remained consistent during the study period, with 82% of women filling a prescription (16% before surgery, 66% after surgery; Figure 2A ). Women with depression or anxiety were slightly more likely to have a perioperative opioid fill (87% vs. 81%), and the slight increase was seen both in fills before and after surgery (18% vs 16% and 69% vs. 65%, respectively). The majority of opioid prescriptions were for either oxycodone or hydrocodone (51% and 38% of fills, respectively). There was no meaningful difference in the type of opioid drugs prescribed across women with and without depression or anxiety. Median days supplied was 5 days (interquartile range 3 – 5 days). The 30-day ED visits and readmission rates were similar between women with and without depression or anxiety (8% and 8% vs. 7% and 8%, respectively; Table 2 ). Additionally, only 15% of women who visited the ED (n=20,455) within 30 days of surgery were admitted the same day (14% depression or anxiety, 15% no depression or anxiety). Twelve percent of women with depression or anxiety and 8% of women without depression or anxiety had at least one opioid fill 91-180 days after surgery; however, after restricting to new high-risk persistent use (i.e. requiring consecutive fills in every time period prior), this dropped to 0.2% and 0.1%, respectively. Opioid complications were also very rare. After accounting for age at surgery, comorbidities, non-opioid analgesic medication use, procedure type, inpatient procedure, and date of surgery through weighting, women with depression or anxiety were significantly more likely to have an ED visit (HR 1.17, 95% CI 1.13, 1.21), but there was a similar incidence of 30-day readmission across groups (HR 0.99, 95% CI 0.96, 1.03; Table 2 ). Additionally, while perioperative opioid fills were relatively similar across the two groups (RR 1.07, 95% CI 1.06, 1.07), women with depression or anxiety were significantly more likely to have an opioid fill at every postoperative time period (RR 1.44 to 1.50). After restricting to new high-risk persistent use, the association of depression or anxiety increased (RR 1.49 to 2.61). Finally, while opioid complications were rare, women with depression or anxiety were substantially more likely to be diagnosed with opioid dependence (HR 5.54, 95% CI 4.12, 7.44), and opioid abuse (HR 4.20, 95% CI 1.97, 8.96). Unweighted results are presented in Appendix 3 . Women taking antidepressants, compared to non-medically managed depression or anxiety, were significantly more likely to have a perioperative fill (90% vs. 80%, RR 1.13, 95% CI 1.12, 1.14) and overall long-term use, although both groups had a higher risk of long-term use compared to women without depression or anxiety ( Table 3 ). When looking at new high-risk persistent postoperative use only, no differences were seen between groups. Similar incidences of opioid-related complications were seen between groups. Fifteen percent of women (n=8,865) with depression or anxiety were diagnosed with major depressive disorder. When analyses were restricted to women with major depressive disorder, similar results were seen, Appendix 4 .

Discussion

In a national cohort of 289,233 women who are opioid-naïve who underwent hysterectomy for benign conditions, we found that 1 in 5 were diagnosed with depression or anxiety before surgery. Additionally, despite perioperative opioid fills being relatively equal between women with and without depression or anxiety (87% and 81%, respectively), women with depression or anxiety were substantially more likely to continue to use opioids in every postoperative time period, become new high-risk persistent users, and be diagnosed with opioid dependence and opioid abuse within 6 months. Amidst the opioid epidemic, perioperative opioid prescribing after hysterectomy has been challenged. With the transition to minimally invasive hysterectomy and the implementation of enhanced recovery protocols, postoperative pain scores and opioid consumption has decreased 21 , 22 . Interestingly, despite the implementation of protocols shown to reduce post-operative pain 21 , 23 and the transition of minimally invasive hysterectomy to primarily an outpatient procedure, we found no decrease in outpatient perioperative opioid fills over time in our cohort. These findings match other recent studies which have found that gynecologists prescribe between two to four times more opioids than patients need after benign hysterectomy 7 , 8 . We also found that among women who filled a prescription, a median of five days of medication was prescribed, which is approximately twice the number of days most women need opioids after hysterectomy 8 . Additionally, almost two in every ten women undergoing hysterectomy filled their perioperative prescription before their actual date of surgery. While writing prescriptions during preoperative visits may be convenient for some surgeons, it can also result in unneeded opioids in the home and potential misuse by the patient or others. Depression and anxiety are the two most common psychological comorbidities in those dealing with chronic pain 24 . These conditions are known moderators of pain perception and have strong, bidirectional and comorbid relationships with chronic pain; patients with depression or anxiety are more likely to report chronic pain, and conversely, developing chronic pain increases the risk of depression or anxiety 25 , 26 . We found that 20% of women undergoing hysterectomy had preoperative depression or anxiety (75% medically managed), which is twice as high as the prevalence among women in the general population (10.4%) 15 . A similar relationship has also been identified with opioid use and misuse. Women with depression and anxiety have been found to be more likely to use and misuse opioids for both acute and chronic pain conditions 27 , 28 . Additionally, prolonged opioid use, regardless of dose, has been associated with an increased risk of new onset depression 29 . In our study, women with depression or anxiety were over 50% more likely to not be opioid naïve at surgery (41% vs 26%) and among those that were opioid naïve, more likely to have a chronic pain condition (21% versus 14%). We also found that women with depression or anxiety were more likely to visit the ED, despite 30-day readmission rates being the same between groups. Increased ED use among women with preoperative depression or anxiety has been reported in at least one other study focused on gynecologic surgery 30 . Women with preoperative depression or anxiety are more likely to proceed to new high-risk opioid use after surgery. Targeted interventions focused on optimizing preoperative depression and anxiety and measuring the utilization of postoperative opioids and emergency services are needed. This study has several important strengths. We used a national database of health care claims, which means results are highly generalizable to women aged 18-65 who are privately insured and not biased by individual institution practices or trends. We measured opioid fills, as opposed to opioid prescriptions, which would overestimate opioids available to women after surgery (since some likely do not fill their prescriptions). We also captured depression and anxiety using both diagnoses and outpatient medications and performed several analyses to assess whether treated and untreated depression or anxiety had different effects on opioid use. This study has a few limitations. First, we were only able to capture outpatient opioid fills that were reimbursed through insurance; opioids paid for out-of-pocket or obtained through other means (including inpatient opioid use) cannot be captured. However, we expect this to be relatively rare in an opioid-naïve patient population with private insurance and prescription drug coverage. Second, we were unable to determine the indication for the opioid prescription and attributed each prescription to postoperative pain. We restricted our study to women who were opioid naïve in the 6 months prior to surgery to make this attribution more clinically reasonable, but it is likely that some opioids were prescribed for other causes. Third, we used diagnosis codes and outpatient medication fills to capture depression, anxiety, comorbidities, and opioid-related complications. This likely led to an underestimation of the prevalence of these factors, as undiagnosed conditions or conditions not related to any health care billing during the study period would be missed. Opioid-related dependence and abuse are particularly under-estimated in claims data, and results should be interpreted with caution 31 . The transition between ICD-9-CM to ICD-10-CM codes in October 2015 could also impact our results, although we saw consistent trends over time. We were also unable to capture several relevant clinical covariates in this dataset, such as uterine weight, operative time, or postoperative complications, and residual confounding may exist in our analyses. Additionally, while hysterectomy is a major surgical intervention, most cases are performed using minimally invasive techniques in the outpatient setting, therefore the findings of this study may not be generalizable to other major surgery patients. Finally, our analyses were restricted to commercially insured individuals, and results may not generalize to women with public insurance (e.g. Medicare, Medicaid) or those who are uninsured. In summary, perioperative opioid fills remain very common among women who are opioid-naïve undergoing hysterectomy for benign conditions with 4 out of 5 women filling a perioperative prescription (month before to 14 days after surgery). Women with depression or anxiety were more likely to have continued opioid fills 15-180 days after hysterectomy compared to those without depression or anxiety. While relatively rare in this population, depression or anxiety substantially increases the risk of new high-risk persistent opioid use, opioid abuse, and opioid dependence. Given the relatively high prevalence of depression and anxiety among women undergoing hysterectomy, clinicians and prescribers should be aware of the effects of these conditions and follow opioid-prescribing guidelines in order to reduce the incidence of long-term and inappropriate opioid use in their patients.

Introduction

In the United States, opioid prescribing increased by a staggering 400% from 1999 to 2010 1 . Despite a decline in the prescribing rate since 2012, the amount of opioids in morphine milligram equivalents (MME) prescribed per person remains approximately three times higher than in 1999 2 . The opioid crisis, which is still considered a major health threat, is associated with an average of 130 American deaths each day from opioid misuse or abuse 3 . Perioperative opioid prescribing has been repeatedly found to be excessive and inconsistent among surgeons, regardless of the type of surgery performed 4 - 6 . Moreover, in a national study of US adults, approximately 6% of opioid-naive patients went on to use opioids for more than 90 days after their surgical procedure 4 . Opioid use after hysterectomy follows a similar pattern, and studies have found that surgeons overprescribe up to four times the needed amount of opioids postoperatively 7 , 8 and opioid persistence rates range from 1.5%-6% 4 , 9 . As new onset opioid dependence has been linked to opioid prescribing surrounding both minor and major surgical procedures, a focus on pre-existing patient comorbidities and preoperative pain rather than the surgery itself may offer insights to persistent use 4 . There is a bidirectional relationship between depression, anxiety, and opioid use. While several studies have shown that chronic opioid use is associated with the risk of new-onset depression 10 , 11 , 12 , a few studies have now also found that individuals with a history of depression and anxiety are at a higher risk for initiation and continuation of opioid use overall 13 and one month after major surgery 14 . However, while hysterectomy is considered major surgery, technological advances have led to minimal discomfort after procedures and most procedures now occur in an outpatient setting 15 – both of which suggest that opioid prescribing and use may differ in this patient population. Additionally, depression and anxiety are common amongst women with endometriosis, pelvic inflammatory disease, and generally among women undergoing hysterectomy 16 - 18 , which could make women at higher risk for long-term use, misuse, and abuse. Despite this, the association of preoperative depression or anxiety and long-term opioid use after hysterectomy is currently unknown. The purpose of our study was to assess the association of depression and anxiety on perioperative and postoperative opioid use, opioid dependence, and postoperative outcomes among women undergoing hysterectomy in the United States.

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: pmc-nxml

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. The paper's references may be in our DB but unresolved to ``paper_id`` (resolution happens at ingest when the cited DOI matches a row we already have). Run the cross-source citation reconcile pass to retry.

Source provenance

europepmc
last seen: 2026-09-20T09:27:46.357103+00:00