Background: The authors compared the effects of patient-controlled interscalene analgesia (PCIA) with ropivacaine 0.2% and patient-controlled intravenous analgesia (PCIVA) with opioids on hemidiaphragmatic excursion and respiratory function after major shoulder surgery. Methods: Thirty-five patients scheduled for elective major shoulder surgery were prospectively randomized to receive either PCM or PCIVA. All patients received an interscalene block before surgery. In the PCIA group, a catheter was introduced between the anterior and middle scalene muscles. Six hours after the initial block, patients received for 48 h either a continuous infusion of 0.2% ropivacaine through the interscalene catheter at a rate of 5 ml/h plus a bolus dose of 3 or 4 mi with a lockout time of 20 min (PCIA group) or a continuous intravenous infusion of nicomorphine at a rate or 0.5 mg/h plus a bolus dose of 2 or 3 mg with a lockout time of 20 min (PCIVA group). Hemidiaphragmatic excursion and respiratory function were assessed with the patient in a 45 degrees semirecumbent position the day before the operation and 20 min (in the operating room), 24 h, and 48 h after the initial block by means of ultrasonography and spirometry, respectively. Pain relief was regularly assessed, side effects were noted, and patient satisfaction was rated 6 h after the end of the study. Results: Hemidiaphragmatic excursion was similar in the two groups 20 min after interscalene block. Hemidiaphragmatic excursion was increased in the PCIA group on the nonoperated side 24 and 48 h after the interscalene block(P < 0.05). Pulmonary function was similar in the two groups at each time, Pain was better controlled in the PCIA group at 12 and 24 h (P < 0.05). The incidence of nausea and vomiting were 5.5% results 60% for the PCIA and PCNA groups, respectively (P < 0.05). Patient satisfaction was greater in the PCIA group (P < 0.05). Conclusions: The use of PCIA or PCIVA techniques to provide analgesia after major shoulder surgery is associated with similar effects on respiratory function, In the PCIA group, hemidiaphragmatic excursion showed a significantly greater amplitude 24 and 48 h after the initial block on the nonoperated side, The PCIA technique provided better pain control, a lower incidence of side effects, and a higher degree of patient satisfaction.