Memories of fearful events can last a lifetime. The prelimbic (PL) cortex, a subregion of prefrontal cortex, plays a critical role in fear memory retrieval over time. Most studies have focused on acquisition, consolidation, and retrieval of recent memories, but much less is known about the neural mechanisms of remote memory. Using a new knock-in mouse for activity-dependent genetic labeling (TRAP2), we demonstrate that neuronal ensembles in the PL cortex are dynamic. PL neurons TRAPed during later memory retrievals are more likely to be reactivated and make larger behavioral contributions to remote memory retrieval compared to those TRAPed during learning or early memory retrieval. PL activity during learning is required to initiate this time-dependent reorganization in PL ensembles underlying memory retrieval. Finally, while neurons TRAPed during earlier and later retrievals have similar broad projections throughout the brain, PL neurons TRAPed later have a stronger functional recruitment of cortical targets. DeNardo et al. characterize TRAP2, which allows genetic access to neurons based on their activity, and use it to show that neuronal ensembles in prelimbic cortex for remote fear memory undergo dynamic changes during the first 14 days after learning.