Pain is one of the most common reasons for seeking medical care and the frequency of prescription of opioid analgesics by both primary care physicians and specialists has increased. It is therefore unsurprising that many patients with chronic pain who must undergo scheduled or emergency surgery will be on long-term medication, including opioids. Managing postoperative pain, even with high doses of drugs, seems to be more difficult in regular users of such analgesics, possibly because of an apparent association of opioid use with increased tolerance and hyperalgesia. Postoperative pain relief should be carefully tailored in these cases by means of a management plan worked out along with the patient. Adjuvants may be particularly useful; the most thoroughly studied adjuvants are nonsteroidal anti-inflammatory drugs and ketamine. Regional anesthesia offers a particularly attractive approach when long-term users of opioids must undergo surgery.