Epic Research is not viewable using Internet Explorer. Please try accessing it with an alternate browser.
Cosmos Study

Fentanyl Testing Associated with Short-Term Survival Benefits; Increased Long-Term Mortality Risk Among Overdose Patients

February 26, 2026
Dual-Team Study
Team A:Dave Little, MDEmily HiggsEric Barkley
Team B:Kersten Bartelt, RNJoe Deckert, PhDNicholas Volker

Key Findings

  • The 12-month average rate of emergency department (ED) visits for overdoses of all types declined from a peak of 946 per 100,000 ED visits in March 2021 to 634 per 100,000 ED visits in November 2025, falling below pre-COVID-19 pandemic levels. Testing for fentanyl in these encounters more than quadrupled over this period, from 5% of encounters to 28% of encounters.
  • Patients who were tested for fentanyl during an overdose visit were 147% more likely to begin a medication for opioid use disorder (MOUD) during their overdose encounter. Testing was also associated with an 11% lower likelihood of death within 30 days compared to those who were not tested.
  • However, patients who were tested for fentanyl had a higher likelihood of mortality and repeat overdose at one year, suggesting tested patients may represent a higher-risk population whose long-term outcomes require sustained treatment engagement.

Opioid misuse continues to pose a critical public health issue in the United States, particularly due to the increasing prevalence of synthetic opioids such as fentanyl.1 Efforts to curb this epidemic have been implemented, such as increased fentanyl screening and increasing access to naloxone2. However, questions remain about whether fentanyl testing during ED encounters is associated with subsequent treatment and survival.

To understand trends in overdose visits, we studied more than 230 million ED visits between January 2018 and November 2025. We studied overall overdoses, overdoses from opioids, and overdoses from synthetic opioids, each a subset of the preceding broader category.

The 12-month rolling average rate of ED visits for all types of overdoses peaked at 946 per 100,000 in March 2021, a period when overall ED volumes were unusually low, as seen in Figure 1.3 By November 2025, the rate had declined to 634 per 100,000, reflecting a 33% decline and falling below pre-pandemic levels. Opioid overdoses followed a similar trajectory, with rates trending downward after naloxone became available over the counter in 2023.2 In contrast, synthetic opioid overdoses increased more than threefold from 15 to 51 per 100,000 visits between December 2018 and November 2025, though rates have declined after peaking at 66 per 100,000 in December 2023. Notably, testing for synthetic opioids also increased by more than 400% from the first quarter of 2021 to the fourth quarter of 2025, as seen on the Epic Research Fentanyl and Opiate Toxicology data tracker.4

Figure 1
12-Month Rolling Rate of Overdose Emergency Department Visits Over Time
12-Month Rolling Rate of Overdose Emergency Department Visits Over Time
Figure 1. The 12-month rolling average rate of ED visits for any overdose, opioid overdose, and synthetic opioid overdose.

There has been a rise in the incidence of synthetic opioid overdose mortality cases since 2018,5 picking up in 2020 and reaching a peak of 77,695 cases in June 2023, according to the U.S. Centers for Disease Control and Prevention (CDC), as seen in Figure 2. Since then, the number of synthetic opioid overdose deaths has declined substantially, reaching a low of 38,514 cases in August 2025, a reduction of more than 50% from the peak.

Figure 2
12-Month Rolling Rate of Synthetic Opioid Overdose Deaths
12-Month Rolling Rate of Synthetic Opioid Overdose Deaths
Figure 2. The rate of synthetic opioid overdose deaths for the previous 12 months based on data from the CDC.

To understand the relationship between fentanyl testing and outcomes such as mortality and repeat overdose encounters, we studied more than 1 million patients who had a non-fatal ED visit for an overdose. We accounted for demographics, social vulnerability and rurality based on most recently documented address, count of prior overdose encounters, administration of naloxone during the ED visit, and ED acuity score.

Among patients who were tested for fentanyl, the likelihood of being prescribed a medication for opioid use disorder (MOUD) during the encounter was 147% higher compared to those who were not tested for fentanyl, as seen in Figure 3. Short term outcomes were also improved: the likelihood of death within 30 days was 11% lower. There was not a significant difference in the likelihood of a repeat ED visit for an overdose within 30 days between patients who had fentanyl testing and those who did not. The likelihood of mortality or a repeat overdose within one year was higher among those who had fentanyl testing than those who were not tested. This pattern might reflect that patients who receive fentanyl testing represent a higher-risk population with more severe substance use disorders.

Figure 3
Likelihood of Mortality, Subsequent Overdose, or MOUD Treatment by Fentanyl Testing
Likelihood of Mortality, Subsequent Overdose, or MOUD Treatment by Fentanyl Testing
Figure 3. The likelihood of mortality, subsequent overdose, or MOUD treatment by whether the patient was tested for fentanyl during an overdose encounter.

Importantly, fentanyl testing might indicate clinical suspicion or resource availability. Indications for testing patients for fentanyl might include additional considerations we were not able to fully assess as part of this analysis.


These data come from Cosmos, a dataset created in collaboration with a community of Epic health systems representing more than 300 million patient records from 1,900 hospitals and more than 42,000 clinics from all 50 U.S. states, Lebanon, and Saudi Arabia. This study was completed by two teams that worked independently, each composed of a clinician and research scientists. The two teams came to similar conclusions. Graphics by Brian Olson.

References

  1. Pickens CM, Park J, Casillas SM, et al. Trends in Suspected Fentanyl-Involved Nonfatal Overdose Emergency Department Visits, by Age Group, Sex, and Race and Ethnicity – United States, October 2020-March 2024. MMWR Morb Mortal Wkly Rep. 2025;74(16):282-287. Published 2025 May 8. doi:10.15585/mmwr.mm7416a2
  2. Emergent BioSolutions’ NARCAN® Nasal Spray Launches Over the Counter Making it Possible for Everyone to Help Save a Life from an Opioid Overdose Emergency. Emergent BioSolutions. August 30, 2023. https://investors.emergentbiosolutions.com/news-releases/news-release-details/emergent-biosolutions-narcanr-nasal-spray-launches-over-counter. Accessed January 12, 2026.
  3. Noel A, Alban C, Trinkl J et al. Fewer Visits, Sicker Patients: The Changing Character of Emergency Department Visits During the COVID-19 Pandemic. Epic Research. https://epicresearch.org/articles/fewer-visits-sicker-patients-the-changing-character-of-emergency-department-visits-during-the-covid-19-pandemic. Accessed on August 11, 2025.
  4. Fentanyl and Opiate Toxicology in Emergency Department Overdoses. Epic Research. https://www.epicresearch.org/data-tracker/fentanyl-and-opiate-toxicology. Accessed August 26, 2025.
  5. Ahmad FB, Cisewski JA, Rossen LM, Sutton P. Provisional drug overdose death counts. National Center for Health Statistics. 2025. DOI: https://dx.doi.org/10.15620/cdc/20250305008

Data Definitions

Study period
Study population: inclusion
Study population: exclusion
Exposure
Outcomes
Confounders
Overdose
Opioid overdose
Synthetic opioid overdose
MOUD
Naloxone
Follow-up face-to-face encounter
Model specifications
Limitations