Newborns are randomized to one of three different doses of either rgp120/HIV-1MN or rgp120/HIV-1SF2 or their matching placebos. At each dose level, 12 patients receive vaccine and three patients receive placebo. Immunizations are performed at 0, 4, 12, and 20 weeks, and patients are followed until 2 years of age. Three of four patients treated at a given dose level must have received two immunizations without evidence of grade 3 or 4 clinical or laboratory toxicity before dose escalation occurs. Twelve additional patients are treated with the optimal dose of each vaccine at weeks 0, 2, 8, and 20 (An accelerated schedule PER AMENDMENT 3/20/96. Changed from - 0, 4, 8, and 20) accompanied by three additional placebo patients per vaccine. PER AMENDMENT 3/20/96: The optimal dose of rgp120/HIV-1MN is 100 mcg and will be given to the 12 patients and the placebo will be given to 3. The optimal dose of rgp120/HIV-1SF2 is 5 mcg and will be given to the 12 patients and the placebo will be given to 3.