Antidepressants and Opioid Risk After Total Joint Arthroplasty: What Patients Should Know

Total joint arthroplasty — whether we’re talking about hip replacement or knee replacement — is one of the most reliable and successful procedures I perform. Over the course of my career, I’ve watched thousands of patients go from debilitating pain and limited mobility to getting back to the activities they love. But as we continue to improve how we care for patients before, during, and after surgery, there’s an important conversation I find myself having more frequently in the office: how do antidepressants — particularly SSRIs and other commonly prescribed medications for depression and anxiety — interact with postoperative pain management and opioid use after joint replacement?
Emerging research suggests that patients taking antidepressants at the time of total joint arthroplasty may face a higher risk of prolonged opioid use and, in some cases, opioid misuse following surgery. Now, I want to be very clear — this does not mean that antidepressants are dangerous or should be stopped before surgery. Far from it. What it does mean is that patients and their surgical teams should have open, proactive conversations about pain management planning well before the day of surgery.
Why This Connection Matters
Depression and anxiety are remarkably common among the patients I see in my practice. And honestly, it makes perfect sense. Many people living with chronic joint pain also experience mood disorders — chronic pain affects sleep, activity levels, social engagement, and overall quality of life. When you’ve been dealing with months or years of debilitating hip or knee pain, it’s entirely natural to also be managing your mental health with medications such as SSRIs (selective serotonin reuptake inhibitors), SNRIs, or other antidepressants.
However, what I’ve observed clinically — and what the research now supports — is that patients with pre-existing depression or anxiety, and particularly those on antidepressant medications, may have different pain experiences after surgery. These patients may report higher pain scores postoperatively, require more opioid medication during recovery, and have a greater likelihood of transitioning from short-term, appropriate opioid use to prolonged or problematic use.[1]

The Science Behind the Connection: Serotonin, Pain Pathways, and Opioids
To understand why antidepressants might influence postoperative opioid use, it helps to understand a little about how pain signals travel through the body. I often explain this to my patients in the office because it makes the whole picture click into place.
Serotonin is a neurotransmitter — a chemical messenger — that plays a central role in mood regulation. That’s why SSRIs, which increase serotonin availability in the brain, are so effective at treating depression. But here’s the key point many patients don’t realize: serotonin doesn’t just affect mood. It is also deeply involved in the body’s pain modulation system — the network of signals that determines how intensely we perceive pain.[1]
When serotonin pathways are altered by antidepressant medications, the way a patient’s nervous system processes pain signals can change. Some research suggests that this alteration may reduce the effectiveness of certain pain medications or change pain thresholds in ways that make postoperative discomfort harder to control with standard protocols. The result can be a need for higher doses of opioids, longer courses of opioid therapy, or both.
Additionally, there is a well-documented overlap between the brain circuits involved in depression and those involved in chronic pain perception. In my experience, patients who are already managing a mood disorder may have a nervous system that is, in a sense, already sensitized to pain — meaning that the surgical trauma of a total joint arthroplasty may produce a stronger or more prolonged pain response than it would in a patient without these underlying factors.
Comorbidities and Prescribing Patterns
It’s also important to recognize that the relationship between antidepressants and postoperative opioid risk isn’t purely biological. There are behavioral and systemic factors at play as well, and I think patients deserve to understand them.
Patients with depression or anxiety may be more likely to have other conditions that increase pain sensitivity or complicate recovery, including fibromyalgia, chronic fatigue, sleep disorders, or prior chronic pain conditions unrelated to their hip or knee. These overlapping comorbidities can independently increase the need for pain medication after surgery.
Prescribing patterns also matter. What I tell my patients is that when care is spread across multiple providers — a psychiatrist, a primary care physician, and an orthopedic surgeon — communication gaps can emerge. Patients who are already taking multiple medications may sometimes be prescribed opioids more readily or in higher quantities without a well-coordinated plan for tapering.[1] That’s exactly why I believe the preoperative conversation is so critical.

What the Research Shows
While large-scale, definitive studies continue to be refined, several lines of evidence paint a consistent picture. I often see patients who fit these patterns, and the data backs up what we observe clinically. Patients on antidepressants prior to total joint arthroplasty tend to:
Report higher pain scores in the early postoperative period, even when receiving the same pain management protocols as patients not on antidepressants.
Require more opioid medication during their hospital stay and in the weeks following discharge.
Have a higher rate of persistent opioid use beyond the typical recovery window — generally defined as continued opioid use beyond 90 days after surgery.
Show increased risk of opioid-related adverse events, including dependence, misuse, and the need for intervention or treatment for opioid use disorder.
Now, I want to emphasize: these findings do not mean that every patient on an antidepressant will have these experiences. Many of my patients taking SSRIs or other antidepressants undergo hip or knee replacement and recover beautifully with well-managed pain. But the statistical trends are significant enough that the orthopedic community is paying close attention, and it’s changing how we plan preoperatively.[1]
Practical Guidance for Patients on Antidepressants Facing Joint Replacement
If you are currently taking an antidepressant and are scheduled for — or considering — total joint arthroplasty, here are some important steps I recommend:
- Disclose all medications early and completely. I need a full picture of every medication you are taking, including antidepressants, anti-anxiety medications, sleep aids, and any other prescriptions. This information directly affects how we plan your pain management.
- Do not stop your antidepressant without medical guidance. Abruptly discontinuing an SSRI or other antidepressant can cause withdrawal symptoms, mood instability, and other complications that could negatively affect your recovery. What I tell my patients is this: any changes to your antidepressant regimen should be made collaboratively between your prescribing physician and your surgical team. Never make that decision on your own.
- Ask about multimodal pain management. Modern orthopedic pain management has evolved tremendously — we’ve moved far beyond simply prescribing opioids and sending patients home. In my practice, we use a combination of approaches including nerve blocks, non-opioid medications like acetaminophen and anti-inflammatories, local anesthetic injections, ice therapy, physical therapy, and other techniques to minimize the need for opioids after surgery. Ask your surgeon specifically how your antidepressant use will influence your pain management plan.
- Discuss a clear opioid tapering plan before surgery. If opioids are part of your postoperative pain management, your surgeon should outline a specific plan for reducing and eventually discontinuing them. In my experience, knowing the timeline and expectations in advance helps patients stay on track during recovery and reduces anxiety about the process.
- Engage your mental health provider. Let your psychiatrist, psychologist, or prescribing provider know about your upcoming surgery. They can help monitor your mood during recovery, adjust medications if needed, and provide support during a period that can be emotionally challenging even for patients without a history of depression.

Red Flags to Discuss with Your Surgeon Before Surgery
Certain factors may place you at even higher risk for opioid-related complications after total joint arthroplasty. If any of the following apply to you, I strongly encourage you to discuss them openly during your preoperative visits:
A history of substance use disorder — including past opioid use, alcohol dependence, or other substance misuse.
Current use of multiple medications that affect the central nervous system — such as benzodiazepines (anti-anxiety medications like Valium or Xanax), sleep medications, or muscle relaxants in addition to antidepressants.
Chronic pain conditions beyond the hip or knee problem being addressed — such as fibromyalgia, chronic back pain, or neuropathy (nerve-related pain).
A history of poorly controlled depression or anxiety — particularly if you have experienced recent episodes of worsening symptoms.
Previous surgery with difficult pain management — if you’ve had a prior procedure where pain was hard to control or where you required opioids for an extended period.
I want to be clear: none of these factors disqualify you from having a successful joint replacement. But they are critically important pieces of information that allow me to build a safer, more personalized recovery plan tailored specifically to your needs.
The Bigger Picture: Optimizing Outcomes for Every Patient
The growing awareness of how antidepressants and mental health conditions interact with postoperative pain and opioid use is, in my view, one of the most important developments in our field right now. It reflects the orthopedic community’s commitment to treating the whole patient — not just the joint — and to making total joint arthroplasty as safe and successful as possible for everyone.[2]
Hip replacement and knee replacement remain extraordinary procedures that dramatically improve quality of life. In my experience, the vast majority of patients — including those on antidepressants — achieve excellent outcomes. The goal of this research is not to alarm patients or discourage surgery, but to ensure that every patient goes into the operating room with a comprehensive, individualized plan that accounts for all of their health needs, physical and emotional alike.
Take the Next Step
If you are considering hip or knee replacement and you are currently taking antidepressants or managing depression or anxiety, I encourage you to bring these topics up early in your consultation. At Maryland Orthopedic Specialists, our team and I take a thorough, patient-centered approach to surgical planning. We work closely with your entire care team to ensure your pain management is optimized, your recovery is well-supported, and your outcome is the best it can be. Schedule a consultation today to discuss your individual situation and learn how we can help you move forward with confidence.
References
- 1. Research article on total joint arthroplasty outcomes and comorbidities. PubMed Central (PMC); 2025. URL: https://pmc.ncbi.nlm.nih.gov/articles/PMC12112092/ | Status: insufficient_data
- 2. Hip and Knee Replacement — Health at a Glance 2025. Organisation for Economic Co-operation and Development (OECD); 2025. URL: https://www.oecd.org/en/publications/2025/11/health-at-a-glance-2025_a894f72e/full-report/hip-and-knee-replacement_a4d0ff34.html | Status: verified_plausible
