Researchers said the gene variant is found in 60 percent of African-Americans and 90 percent of people in Africa.
The gene protects against certain types of malaria but apparently increases susceptibility to HIV infection by 40 percent.
This could explain why people of African descent bear a disproportionate share of the world's AIDS cases, the researchers said.
The study was published in the journal Cell Host and Microbe.