To determine if the rates of malignancies other than Kaposi's sarcoma (KS) and non-Hodgkin's lymphoma (NHL) are increased in human immunodeficiency virus (HIV)-infected homosexual men. From 1984 through 1993, 1,199 homosexual men were studied in the Pittsburgh component of the Multicenter AIDS Cohort Study (MACS), an examination of the natural history of HIV infection. The cohort consisted of 769 HIV-seronegative (SN) participants and 430 seropositive (SP) members who were either seroprevalent at the time of enrollment or who seroconverted during the study. Cancer incidence data were collected through semiannual visits, phone interviews, medical records, and death certificates. Five thousand seven hundred eight person-years and 2,344 person-years were contributed to the study by the SN and SP men, respectively. In addition to 44 cases of KS, 13 NHLs, and 3 CNS lymphomas (CNSLs), 27 other malignancies occurred (three nonmelanoma skin cancers and eight other malignancies in the SP group, eight nonmelanoma skin cancers, and eight other malignancies in the SN group). Age-adjusted rates were calculated for both groups and compared with each other and with rates for the general male population in Pennsylvania. There were no differences between the SN group and the general population. Among the SP group, the combined frequency of all cancers other than KS, NHL, CNSL, and nonmelanoma skin cancers was statistically significantly increased in comparison to both the SN group and the general population. This increase was secondary to an unusually increased frequency of both seminoma and Hodgkin's disease. These findings support the hypothesis that the incidences of cancers other than KS and lymphoma are moderately increased in the setting of HIV infection and immunosuppression.