Two peptides of human immunodeficiency virus(HIV)type 1 and type 2 were synthe-sized by solid-phase method. An indirect enzyme-linked immunosorbent assay(ELISA)em-ploying these peptides as an antigen adsorbent was developed to detect the infections of HIV-1 and HIV-2.A comparison of our reagent with UBI reagent in detection of 46 positive serumspecimens and 94 negative control serum specimens for HIV-1 and HIV-2 showed that theconcident rate for positive was 97.8%, for negative was 100%,and the general coincidentrate was 99.3%. The results indicated that this method can be used in detection for infectionsof HIV-1 and HIV-2.