New HIV infections declined by 30 percent in southern African communities where health workers conducted house-to-house voluntary HIV testing, referred people who tested positive to begin HIV treatment according to local guidelines, and offered other proven HIV prevention measures to those who tested negative. Local guidelines evolved during the study from offering HIV treatment based on immune health to offering immediate treatment for all.