In the absence of an effective vaccine, there is an urgent need for safe and effective antiviral agents to prevent transmission of HIV. Here, we report that an amphipathic alpha-helical peptide derived from the hepatitis C virus NS5A anchor domain (designated C5A in this article) that has been shown to be virocidal for the hepatitis C virus (HCV) also has potent antiviral activity against HIV. C5A exhibits a broad range of antiviral activity against HIV isolates, and it prevents infection of the three in vivo targets of HIV: CD4(+) T lymphocytes, macrophages, and dendritic cells by disrupting the integrity of the viral membrane and capsid core while preserving the integrity of host membranes. C5A can interrupt an ongoing T cell infection, and it can prevent transmigration of HIV through primary genital epithelial cells, infection of mucosal target cells and transfer from dendritic cells to T cells ex vivo, justifying future experiments to determine whether C5A can prevent HIV transmission in vivo.