Patterns of transmission of HIV are different among different regions of the world and change over time within regions. In order to adapt prevention strategies to changing patterns of risk, we need to understand the behaviours that put people at risk of infection and how new infections are distributed among risk groups.