Precise regulation of intracellular phosphate (Pi) is critical for cellular function, with XPR1 serving as the sole Pi exporter in humans. The mechanism of Pi efflux, activated by inositol pyrophosphates (PP-IPs), has remained unclear. This study presents cryo-electron microscopy structures of XPR1 in multiple conformations, revealing a transmembrane pathway for Pi export and a dual-binding activation pattern by PP-IPs. A canonical binding site is located at the dimeric interface of SPX domains, and a second site, biased toward PP-IPs, is found between the transmembrane and SPX domains. By integrating structural studies with electrophysiological analyses, we characterize XPR1 as an IPs/PP-IPs-activated phosphate channel. The interplay among its TMDs, SPX domains, and IPs/PP-IPs orchestrates the conformational transition between its closed and open states.