ObjectiveOpioid and benzodiazepine co-prescribing is associated with a substantial increase in opioid overdose deaths. In this study, we examine the prescribing trends of substitutes of opioids and benzodiazepines alone or in combination, compared with opioids and benzodiazepines.DesignRetrospective cohort study.SettingData were collected using a 20% national sample of Medicare beneficiaries from 2013 to 2018.Participants4.1–4.3 million enrollees each year from 2013 to 2018.InterventionNone.Primary outcomeWe employ a generalised linear mixed models to calculate ORs for opioid use, benzodiazepine or Z-drug (benzos/Z-drugs) use, opioid/benzos/Z-drugs 30-day use, gabapentinoid use and (selective serotonin reuptake inhibitors (SSRI) and serotonin norepinephrine reuptake inhibitors (SNRIs)) use, adjusted for the repeated measure of patient. We then created two models to calculate the ORs for each year and comparing to 2013.ResultsOpioid and benzos/Z-drugs use decreased by 2018 (aOR 0.626; 95% CI 0.622 to 0.630) comparing to 2013. We demonstrate a 36.3% and 9.9% increase rate of gabapentinoid and SSRI/SNRI use, respectively. Furthermore, combined gabapentinoid and SSRI/SNRI use increased in 2018 (aOR 1.422; 95% CI 1.412 to 1.431).ConclusionLittle is known about the prescribing pattern and trend of opioid and benzodiazepine alternatives as analgesics. There is a modest shift from prescribing opioid and benzos/Z-drugs (alone or in combination) towards prescribing non-opioid analgesics—gabapentinoids with and without non-benzos/Z-drugs that are indicated for anxiety. It is unclear if this trend towards opioid/benzos/Z-drugs alternatives is associated with fewer drug overdose death, better control of pain and comorbid anxiety, and improved quality of life.