Intragrain impurities can impart detrimental effects on the efficiency and stability of perovskite solar cells, but they are indiscernible to conventional characterizations and thus remain unexplored. Using in situ scanning transmission electron microscopy, we reveal that intragrain impurity nano-clusters inherited from either the solution synthesis or post-synthesis storage can revert to perovskites upon irradiation stimuli, leading to the counterintuitive amendment of crystalline grains. In conjunction with computational modelling, we atomically resolve crystallographic transformation modes for the annihilation of intragrain impurity nano-clusters and probe their impacts on optoelectronic properties. Such critical fundamental findings are translated for the device advancement. Adopting a scanning laser stimulus proven to heal intragrain impurity nano-clusters, we simultaneously boost the efficiency and stability of formamidinium-cesium perovskite solar cells, by virtual of improved optoelectronic properties and relaxed intra-crystal strain, respectively. This device engineering, inspired and guided by atomic-scale in situ microscopic imaging, presents a new prototype for solar cell advancement.