Engineering 2D/3D perovskite interfaces is a common route to realizing efficient and stable perovskite solar cells. Whereas 2D perovskite’s main function in trap passivation has been identified and is confirmed here, little is known about its 2D/3D interface properties under thermal stress, despite being one of the main factors that induces device instability. In this work, we monitor the response of two typical 2D/3D interfaces under a thermal cycle by in situ X-ray scattering. We reveal that upon heating, the 2D crystalline structure undergoes a dynamical transformation into a mixed 2D/3D phase, keeping the 3D bulk underneath intact. The observed 3D bulk degradation into lead iodide is blocked, revealing the paramount role of 2D perovskite in engineering stable device interfaces.