The aetiology and outcome of hospitalized patients with moderate to severe community-acquired pneumonia (CAP) were evaluated in 60 adult patients (38 male, 22 female; mean age 68.4 years). They were randomized for treatment with either ceftazidime or imipenem/cilastatin intravenously for 7 days. Bacteriological diagnoses were made in 25 cases (41.6%): Streptococcus pneumoniae (5), Haemophilus influenzae (5), Pseudomonas spp., in particular Pseudomonas aeruginosa (8), Staphylococcus aureus (4), Chlamydia spp. (2), Mycobacterium tuberculosis (2) and Moraxella catarrhalis (3); mixed organisms were found in 4 patients. Forty-two patients (70%) responded satisfactorily to the regimens with improvement in sputum purulence, cough and dyspnoea scores; there was no difference in response between the two groups. Sixteen patients (26.6%) underwent bronchoscopy on day 4 because of inadequate response to the antibiotics regimens, and 9 of them (15%) required a modification of the initial treatment with addition of erythromycin in 5 patients, vancomycin in 1, cloxacillin in 1 and antituberculous drugs in 2. Three out of the 60 patients (5%) died of pulmonary sepsis; the aetiological agents were M. tuberculosis in one, Pseudomonas spp./methicillin-resistant S. aureus in another, but were not identified in the third. We conclude that treatment with either ceftazidime or imipenem/cilastatin was efficacious for moderate to severe CAP in Hong Kong.