Pressure is an effective way to regulate physical properties of ABO3 perovskites, such as thermal conductivity κ of SrTiO3, which can enhance fundamental understanding of structure–property relationships. In this Letter, κ of SrTiO3 was investigated up to ∼20 GPa using high-pressure time domain thermoreflectance together with Raman spectroscopy and first-principles calculations. Our theoretical predictions effectively explain the measured results. In both cubic and tetragonal phases, κ increased with compression, and optical phonons are the dominant heat carriers. The phonon group velocity and relaxation time make prominent contributions to κ with compression in the cubic phase, while the reduction in the anharmonicity of phonon modes and the phonon scattering channels dominates the increase in κ in the tetragonal phase. Especially, during the transition from cubic to tetragonal phases, there is a significant drop in κ, which originally results from the TiO6 octahedral distortion induced by the soft-phonon-mode, which markedly reduces the phonon group velocity. Our results not only help reveal the pressure effect on κ of complex oxides but also pave their way for applications on high-temperature superconductors and spin devices.