Patients undergoing total hip or knee arthroplasty (THA/TKA) are commonly associated with high pain scores and narcotic use. Duloxetine is effective in relieving chronic pain. The aim of this study was to evaluate the safety and efficacy of duloxetine for pain management following THA/TKA.Five major databases (PubMed, Embase, Scopus, Cochrane, and Web of Science) were searched for randomised controlled trials (RCTs) that compared duloxetine to placebo in patients that underwent THA/TKA. The primary outcome was pain reduction with rest and movement at short-term and long-term time intervals. Secondary outcomes were the use of analgesics, length of stay, and safety profile. The risk of bias was assessed using the Cochrane tool. Data were pooled using RevMan 5.4. The results were reported as mean difference (MD) or standardised MD (SMD) and 95% confidence intervals (CI).Eight RCTs with 767 patients were included. 50.2% (n=385/767) of patients received duloxetine. After one day, duloxetine was superior to the control regarding pain reduction with rest (SMD= −0.22 [−0.41, −0.03], p=0.02) after sensitivity analysis and pain reduction at movement (SMD= −0.39 [−0.55, −0.24], p<0.001). Similarly, after 12 weeks, duloxetine significantly reduced pain with rest (SMD= −0.3 [−0.52, −0.09], p=0.006) and pain with movement (SMD= −0.52 [−0.87, −0.17], p=0.003). In addition, after sensitivity analysis, duloxetine was associated with less analgesic use after one day (MD= −4.65 [−7.3, −2.01], p<0.001) and two days (MD= −5.65 [−10.62, −0.67], p=0.03). Patients who received duloxetine also required fewer analgesics after three days. However, there was no significant difference between the duloxetine and control groups in analgesic use after one week, length of stay, and adverse events.Duloxetine was superior to the placebo regarding short-term and long-term pain reduction with rest and movement following THA/TKA. Duloxetine reduced postoperative analgesic use. There was no significant difference between duloxetine and placebo regarding adverse events and length of stay.