The diagnostic value of the CD4 cell counts and the HIV p24 antigen were evaluated in a consecutive series of 105 HIV-infected patients experiencing 128 episodes of pulmonary symptoms which required bronchoscopy. One-third of patients with opportunistic infection (OI) had CD4 counts greater than 0.200 x 10(9)/l, and 60% of patients without OI had CD4 counts less than 0.200 x 10(9)/l; 47 and 42% of patients with and without OI, respectively, had detectable p24 antigen in serum. Only 36% of the patients with OI presented the combination of CD4 cells less than 0.200 x 10(9)/l and p24 in serum. In conclusion, the CD4 cell counts and the presence of p24 antigen in serum had a very limited predictive value for the presence of OI in HIV-infected patients with pulmonary symptoms.