Here we show that depletion of STAG2 in melanoma cells leads to expansion of topologically associating domains (TADs) and enhances the formation of acetylated histone H3 lysine 27 (H3K27ac)-associated DNA loops at sites where binding of STAG2 is switched to its paralog STAG1. Here, STAG1 is linked to melanoma.