In general, social capital was associated with less risky sexual behavior in our sample. However, gender and role of religion modified the effect so that we can not assume that risky sexual behavior is automatically reduced by increasing social capital in a highly religious society. The findings indicate the importance of understanding the interplay between social capital, religious influence, and gender issues in HIV/AIDS preventive strategies in Uganda.