Worldwide, 80% of patients who undergo surgery receive opioid analgesics as the fundamental agent for pain relief. However, the irrational use of opioids leads to excessive drug dependence and drug abuse, resulting in an increased mortality rate and huge economic loss. The crisis of opioid overuse remains a great challenge. In this review, we summarize several key factors in opioid abuse, including race, region, income, genetic factors, age and gender, smoking and alcohol abuse, history of chronic pain and analgesic drug abuse, surgery, neuropsychiatric illness, depression and antidepressant use, human factors, national policies, hospital regulations, and health insurance under treatment of pain. Furthermore, we present several prevention strategies, such as perioperative measures, opioid substitutes, treatment of the primary illness, emotional regulation, use of opioid antagonists, efforts of the state, hospitals, doctors and pharmacy benefit managers, gene therapy, and vaccines. Greater understanding and better assessment are required of the risks associated with opioid abuse to ensure the safety and analgesic effects of pain treatment after surgery.