Provided are constrained peptides that inhibit HIV assembly. Pharmaceutical compositions comprising the above peptides are also provided. Additionally provided are methods of inhibiting replication of a capsid-containing virus in a cell. Also provided are methods of treating a mammal infected with a capsid-containing virus. Further provided are methods of treating a mammal at risk for infection with a capsid-containing virus. Methods of making the above peptides are additionally provided, as are uses of the above peptides and pharmaceutical compositions.