Infection with the human immunodeficiency virus (HIV) increases the risk of tuberculosis and may interfere with the effectiveness of antituberculosis chemotherapy. To examine the outcomes in patients with both diagnoses, we conducted a retrospective study of all 132 patients listed in both the acquired immunodeficiency syndrome (AIDS) and tuberculosis case registries in San Francisco from 1981 through 1988. At the time of the diagnosis of tuberculosis, 78 patients (59 percent) did not yet have a diagnosis of AIDS, 18 patients (14 percent) were given a concomitant diagnosis of AIDS (as determined by the presence of an AIDS-defining disease other than tuberculosis), and the remaining 36 patients (27 percent) already had AIDS. The manifestations of tuberculosis were entirely pulmonary in 50 patients (38 percent), entirely extrapulmonary in 40 patients (30 percent), and both pulmonary and extrapulmonary in 42 patients (32 percent). The treatment regimens were as follows: isoniazid and rifampin supplemented by ethambutol for the first two months, 52 patients; isoniazid and rifampin supplemented by pyrazinamide and ethambutol for the first two months, 39 patients; isoniazid and rifampin, 13 patients; isoniazid and rifampin supplemented by pyrazinamide for the first two months, 4 patients; and other drug regimens, 17 patients. The intended duration of treatment for patients whose regimen included pyrazinamide was six months, and for patients who did not receive pyrazinamide, nine months. Seven patients received no treatment because tuberculosis was first diagnosed after death. Sputum samples became clear of acid-fast organisms after a median of 10 weeks of therapy. Abnormalities on all chest radiographs taken after three months of treatment were stable or improved except for those of patients who had new nontuberculous infections. The only treatment failure occurred in a man infected with multiple drug-resistant organisms who did not comply with therapy. Adverse drug reactions occurred in 23 patients (18 percent). For all 125 treated patients, median survival was 16 months from the diagnosis of tuberculosis. Tuberculosis was a major contributor to death in 5 of the 7 untreated patients and 8 of the 125 treated patients. Three of 58 patients who completed therapy had a relapse (5 percent); compliance was poor in all 3. Tuberculosis causes substantial mortality in patients with advanced HIV infection. In patients who comply with the regimen, conventional therapy results in rapid sterilization of sputum, radiographic improvement, and low rates of relapse.