Fast diffusion of charge carriers is crucial for efficient charge collection within their lifetime in perovskite solar cells. While lateral transient photoluminescence microscopies have been popularly used to characterise charge diffusion in perovskites, there exists a discrepancy between low diffusion coefficients measured to be on the order of 10 -2 cm 2 s -1 and near-unity charge collection efficiencies achieved in practical solar cells. Here, we reveal hidden microscopic dynamics in halide perovskites through four-dimensional (4D -x, y, z, t) tracking of charge carriers. First, we investigate a method for characterising out-of-plane diffusion of charge carriers applicable to general semiconductors by exploiting the effect of optical self-filtering on external photoluminescence spectra. By combining this approach with confocal microscopy, we discover a strong local heterogeneity of vertical charge diffusivities varying from 0.006 to 0.3 cm 2 s -1 in a 3D perovskite film, arising from the difference between intragrain and intergrain diffusion. By contrast, conventional in-plane measurements yield a diffusivity of only 0.02 cm 2 s -1 in the same film, which is limited by intergrain charge transport. In the out-of-plane direction across the film thickness, our 4D tracking visualises that most charge carriers are efficiently transported through the direct intragrain pathways or via indirect detours through nearby areas with a fast diffusion. Finally, our technique also quantifies significant anisotropy of exciton diffusion in a vertically stacked 2D perovskite film. The observed anisotropy and heterogeneity of charge carrier diffusion in perovskites rationalize their high performance shown in real devices. Our work also foresees that further control of polycrystal growth will enable solar cells with micrometres-thick perovskites to achieve both long optical path length and efficient charge collection simultaneously.