Background In patients with chronic pancreatitis, surgery is indicated for the management of intractable pain or for the treatment of complications. Methods Sixty-three consecutive patients (49 men and 14 women of median age 40 (range 20-72) years) who had undergone surgery over an X-year interval for chronic pancreatitis were studied. The mortality and morbidity rates associated with surgery were assessed and quality of life was reviewed based on relief of symptoms, analgesic use, employment and long-term sequelae. Results Forty-four patients (70 per cent) had alcoholic chronic pancreatitis. In 60 patients the principal indication for surgery was intractable pain. Eighteen patients had a duodenum-preserving resection of the pancreatic head (Beger operation); the other surgical procedures were Whipple resection (15), left-sided resection (13), total pancreatectomy (seven), pseudocystjejunostomy (five), pancreaticojejunostomy (one) and bypass procedures (four). The median inpatient stay was 12 days; 23 patients had postoperative complications including one death (2 per cent). There was improved pain control (P < 0.001), a reduction in opiate analgesia use, increase in percentage weight gain (P < 0.01 at 2 years) and return to employment following surgery. Although there was an increase in diabetes mellitus and need for enzyme supplementation these were easily controlled. Conclusion Surgery is an effective treatment in carefully selected patients with chronic pancreatitis bur must be tailored to the pattern of disease in each individual.