Between 1976 and 1993, 22 patients with intrathoracic esophageal perforations, none associated with carcinoma, underwent primary repair regardless of the interval between perforation and the time of repair. Eighteen perforations were iatrogenic and four were spontaneous. The interval from perforation to operation was less than 12 hours in 10 patients, 12 to 24 hours in 3, and more than 24 hours in 9. Principles of repair included (1) a local esophagomyotomy proximal and distal to the tear to expose the mucosal defect and normal mucosa beyond, (2) debridement of the mucosal defect and closure over a bougie, and (3) reapproximation of the muscle. The repair was buttressed with muscle or pleura in five patients. Associated distal obstruction caused by reflux stricture was treated with dilation and fundoplication in four patients. Of the four patients with achalasia, two underwent esophagomyotomy with a fundoplication and one underwent myotomy alone. There was one death. The esophageal repair healed primarily in 17 patients (80%). Four patients, three of whom underwent repair more than 24 hours after the perforation, had leaks at the site of repair. All four fistulas eventually healed with drainage alone, two with simple tube thoracostomy and two with rib resection and empyema tube placement. In the absence of cancer or an irreversible distal obstruction, meticulous repair of an intrathoracic esophageal perforation is the preferred approach, regardless of the duration of the injury, inasmuch as primary healing is likely, and the morbidity associated with prolonged drainage or diversion may be avoided.