In hybrid perovskites, the driving forces of an order–disorder transition that arise from the organic cation and inorganic framework cannot be easily untangled. Here, the authors introduce a cage-in-framework structure in which reorientation of the cage cation does not alter the cubic symmetry of the perovskite lattice.