A total of 479 human immunodeficiency virus (HIV)-infected persons at an HIV clinic in Florida and a tuberculosis clinic in New Jersey were skin-tested with tuberculin, tetanus toxoid, mumps antigen, and Candida antigen in a study of the prevalence of delayed-type hypersensitivity (DTH) anergy and the usefulness of two-step tuberculin testing in this population. Of the patients tested, 12% had a positive (> or = 5-mm) response to tuberculin; 57%, 45%, and 35% had a positive (> or = 3-mm) response to Candida antigen, tetanus toxoid, and mumps antigen, respectively; and 31% were anergic (< 3 mm of induration in response to each antigen). In a multivariate logistic regression model, anergy was significantly associated with a history of Kaposi's sarcoma, Pneumocystis carinii pneumonia, or oral candidiasis and with White race. Anergy was four times and 15 times as likely for persons with CD4+ T-lymphocyte counts of 200-400/mm3 and < 200/mm3, respectively, as for persons with > 499 CD4+ T lymphocytes/mm3. Of 103 patients who were tuberculin-tested a second time after their initial test result was negative, seven had > or = 5 mm of induration in response to the second test; only one of these patients was anergic at the initial screening. The findings of this study indicate that DTH antigens should be used in conjunction with tuberculin testing and that two-step tuberculin testing is not an alternative to anergy testing but may be useful for the detection of infection with Mycobacterium tuberculosis in nonanergic HIV-infected patients.