A new anti-human immunodeficiency virus type 1 and 2 (anti-HIV 1 and 2) test is described. It uses recombinant p24 and peptides covering gp32, gp41, and gp120 to identify HIV-1 and HIV-2 infections. This test has been shown to be specific (99.5%) and sensitive (99.8%). In this respect, the assay was equal or superior to anti-HIV 1 and 2 tests run as references. The test was able to discriminate sera from patients with HIV infections from those from uninfected individuals with excellence; it also exerted high intra- and interassay precisions. The "modular" concept of the test allows the use of single components (gp32 or gp41) to separate between HIV-2 and HIV-1 infections, respectively.