Opioids are safe and effective at providing pain control in patients with acute pancreatitis. Adequate pain control requires the use of intravenous opiates, usually in the form of a patient-controlled analgesia pump. Hydromorphone or fentanyl (intravenous) may be used for pain relief in acute pancreatitis. Fentanyl is being increasingly used due to its better safety profile, especially in renal impairment. As with other opiates, fentanyl can depress respiratory function. It can be given both as a bolus as well as constant infusion.