Nuclear shuttling and TRAF2-mediated retention in the cytoplasm regulate the subcellular localization of cIAP1 and cIAP2.