This study prospectively examines the effects of maternal and child HIV infection on youth penetrative and unprotected penetrative sex, as well as the role of internal contextual, external contextual, social and self-regulatory factors in influencing the sexual behaviors of HIV-infected (PHIV+), HIV-affected (uninfected with an HIV+ caregiver), and HIV unaffected (uninfected with an HIV- caregiver) youth over time. Data (N=420) were drawn from two longitudinal studies focused on the effects of pediatric or maternal HIV on youth (51% female; 39% PHIV+) and their caregivers (92% female; 46% HIV+). PHIV+ youth were significantly less likely to engage in penetrative sex than HIV- youth at follow-up, after adjusting for contextual, social, and self-regulatory factors. Other individual- and contextual-level factors such as youth alcohol and marijuana use, residing with a biological parent, caregiver employment, caregiver marijuana use, and youth self-concept were also associated with penetrative sex. Youth who used alcohol were significantly more likely to engage in unprotected penetrative sex. Data suggest that, despite contextual, social, and self-regulatory risk factors, PHIV+ youth are less likely to engage in sexual behavior compared to HIV- youth from similar environments. Further research is required to understand delays in sexual activity in PHIV+ youth and also to understand potential factors that promote resiliency, particularly as they age into older adolescence and young adulthood.