Paleomagnetic measurements of meteorites 1-5 suggest that, shortly after the birth of the solar system, the molten metallic cores of many small planetary bodies convected vigorously and were capable of generating magnetic fields 6 . Convection on these bodies is currently thought to have been thermally driven 7,8 , implying that magnetic activity would have been short-lived 9 . Here we present a time-series paleomagnetic record of the field recorded by the Imilac and Esquel pallasite meteorites, derived from nanomagnetic images 10 of their metallic matrices. The results reveal a history of long-lived magnetic activity on the pallasite parent body, capturing the decay and eventual shut down of the magnetic field. We demonstrate that magnetic activity driven by progressive solidification of an inner core 11-13 is consistent with our measured magnetic field characteristics and cooling rates 14 . Solidification-driven convection was likely common among small body cores 15 , and, in contrast to thermally driven convection, will have led to a relatively late (hundreds of millions of years after accretion), long-lasting, intense and widespread epoch of magnetic activity among these bodies in the early solar system.The pallasites are slowly cooled (2 -9 K Myr -1 ) 14 stony-iron meteorites 16 , which originated from the mid-to upper-mantle of a ~200-km-radius body 1 . The slow cooling rate of these meteorites allowed for characteristic microstructures to form in their metal matrix 17 , a key feature of which are regions of intergrown nanoscale islands of tetrataenite (ordered FeNi) 18,19 and an ordered Fe 3 Ni matrix 20 , collectively known as cloudy zones (CZ) 21 . During parent body cooling, these tetrataenite islands exsolved and subsequently coarsened over tens of millions of years 22 . The island diameter decreases systematically across the CZ, reflecting a decrease in the local formation age of the islands 20 . Each island adopted one of three orthogonal magnetic easy axes as it formed 18,23 , thus could display any one of six magnetisation directions. Variations in the intensity and direction of an external magnetic field led to measurable differences in the populations of each magnetisation direction 20 . Crucially, the temporal evolution of an external field is recorded by the variations in the relative proportions of these directions across the CZ 10 , which can be quantified using high-resolution nanomagnetic imaging. These images were captured for the Imilac and Esquel pallasites, utilising X-ray magnetic circular dichroism 24,25 at the X-ray photoemission electron microscope (XPEEM) 26 at the BESSY II synchrotron, Berlin, which provides the spatially resolved magnetisation of a sample surface with a resolution down to 40 nm over a 5 µm field-of-view 10 .Four and six non-overlapping, 450-nm-wide regions across the CZ (decreasing age) were extracted from the XPEEM images of Imilac and Esquel meteorites, respectively (Fig. 1). The field recorded by each region was deduced by comparing the experimental XPEEM sig...