Pentazocine is a synthetically-prepared prototypical mixed agonist–antagonist narcotic (opioid analgesic) drug of the benzomorphan class of opioids used to treat moderate to moderately severe pain. Pentazocine is used primarily to treat pain, although its analgesic effects are subject to a ceiling effect. It has been discontinued by its corporate sponsor in Australia, although it may be available through the special access scheme.It may also increase cardiac work after myocardial infarction when given intravenously and hence this use should be avoided where possible. Respiratory depression is a common side effect, but is subject to a ceiling effect, such that at a certain dose the degree of respiratory depression will no longer increase with dose increases. Likewise rarely it has been associated with agranulocytosis, erythema multiforme and toxic epidermal necrolysis.