The purpose of this study was to characterize the effect of a painful stimulus on morphine and butorphanol effects in healthy non-drug abusing volunteers. Thirteen subjects with no history of opiate dependence participated in a randomized, placebo-controlled, double-blind, crossover trial in which each subject received saline, 2 mg/70 kg butorphanol, and 10 mg/70 kg morphine, IV, in each of two conditions, periodic forearm immersions into either ice-cold water (2 degrees C) or into warm water (37 degrees C). Both opioids reduced self-reported ratings of pain intensity, indicative of analgesia. Several of the subjective effects of morphine were attenuated either during or in between cold-water immersions, including visual analog scale ratings of "coasting (spaced out)," "high (drug "high")," "sleepy (drowsy, tired)," and "lightheaded". In contrast, some of butorphanol's subjective effects were increased by the cold-water manipulation. Morphine impaired psychomotor performance during one of the warm-water immersions, but not during the cold-water immersions. Psychomotor impairment induced by butorphanol was not affected by water temperature. This study provides evidence that opioid effects can be modulated by a painful stimulus in humans.