Members of the tripartite motif (TRIM) protein family of RING E3 ubiquitin (Ub) ligases promote innate immune responses by catalyzing synthesis of polyubiquitin chains linked through lysine 63 (K63). Here, we investigate the mechanism by which the TRIM5α retroviral restriction factor activates Ubc13, the K63-linkage-specific E2. Structural, biochemical, and functional characterization of the TRIM5αUbc13-Ub interactions reveals that activation of the Ubc13-Ub conjugate requires dimerization of the TRIM5α RING domain. Our data explain how higher-order oligomerization of TRIM5α, which is promoted by the interaction with the retroviral capsid, enhances the E3 Ub ligase activity of TRIM5α and contributes to its antiretroviral function. This E3 mechanism, in which RING dimerization is transient and depends on the interaction of the TRIM protein with the ligand, is likely to be conserved in many members of the TRIM family and may have evolved to facilitate recognition of repetitive epitope patterns associated with infection.