The early diagnosis of infection with human immunodeficiency virus (HIV) in infants born to infected mothers is essential for early treatment, but current tests cannot detect HIV infection in newborns because of the presence of maternal antibodies. We used the polymerase chain reaction, a new technique that amplifies proviral sequences of HIV within DNA, to detect HIV infection in peripheral-blood mononuclear cells obtained from infants of seropositive women during the neonatal (age less than 28 days) and postneonatal periods. In blood obtained during the neonatal period, the polymerase chain reaction was positive in five of seven infants in whom the acquired immunodeficiency syndrome (AIDS) later developed (a mean of 9.8 months after the test). The test was also positive in one of eight newborns who later had nonspecific signs and symptoms suggestive of HIV infection (mean follow-up, 12 months). No proviral sequences were detected in neonatal samples from nine infants who remained well (mean follow-up, 16 months). HIV proviral sequences were detected in samples obtained during the postneonatal period (median age, five months) in all of 6 infants tested who later had AIDS and in 4 of 14 infants with nonspecific findings suggestive of HIV infection. No proviral sequences were detected in 25 infants who remained well (mean follow-up, 17 months) after being born to HIV-seropositive mothers, or in 15 infants born to HIV-seronegative mothers. We conclude that the polymerase chain reaction will be a useful technique to diagnose HIV infection in newborns and to predict the subsequent development of AIDS. However, larger studies will be required to determine the sensitivity and specificity of the test.