Lentiviruses contain accessory genes that have evolved to counteract the effects of host cellular defence proteins that inhibit productive infection. One such restriction factor, SAMHD1, inhibits human immunodeficiency virus (HIV)-1 infection of myeloid-lineage cells as well as resting CD4(+) T cells by reducing the cellular deoxynucleoside 5'-triphosphate (dNTP) concentration to a level at which the viral reverse transcriptase cannot function. In other lentiviruses, including HIV-2 and related simian immunodeficiency viruses (SIVs), SAMHD1 restriction is overcome by the action of viral accessory protein x (Vpx) or the related viral protein r (Vpr) that target and recruit SAMHD1 for proteasomal degradation. The molecular mechanism by which these viral proteins are able to usurp the host cell's ubiquitination machinery to destroy the cell's protection against these viruses has not been defined. Here we present the crystal structure of a ternary complex of Vpx with the human E3 ligase substrate adaptor DCAF1 and the carboxy-terminal region of human SAMHD1. Vpx is made up of a three-helical bundle stabilized by a zinc finger motif, and wraps tightly around the disc-shaped DCAF1 molecule to present a new molecular surface. This adapted surface is then able to recruit SAMHD1 via its C terminus, making it a competent substrate for the E3 ligase to mark for proteasomal degradation. The structure reported here provides a molecular description of how a lentiviral accessory protein is able to subvert the cell's normal protein degradation pathway to inactivate the cellular viral defence system.