The effects of analgesia on plasma β-endorphin (β-E), serum cortisol and blood glucose responses were investigated in 20 distressed, mechanically ventilated neonates during the first 3 days of life. Morphine 0.1 mg/kg, meperidine 1 mg/kg or alfentanil 10 µg/kg were used for analgesia as clinically indicated. Plasma β-E, serum cortisol and blood glucose were recorded before analgesia and 1 and/or 2, 12 and 24 h afterwards in the distress group and once in 20 healthy neonates (control group). β-E, cortisol, and blood glucose before analgesia were significantly higher in the distress group than in the control group. Cortisol values had decreased significantly 2 h after analgesia and blood glucose within 12 h. Plasma β-E values had decreased to the same level as in the controls 24 h after the start of analgesia. The results indicate that the stress response in the distressed neonates with cardiorespiratory problems, as assessed by β-E, cortisol, and blood glucose, is attenuated by opioid medication, and it is concluded that these patients should be given adequate analgesia.