Contextual representations serve to guide many aspects of behavior and influence the way stimuli or actions are encoded and interpreted. The medial prefrontal cortex (mPFC), including the anterior cingulate subregion, has been implicated in contextual encoding, yet the nature of contextual representations formed by the mPFC is unclear. Using multiple single-unit tetrode recordings in rats, we found that different activity patterns emerged in mPFC ensembles when animals moved between different environmental contexts. These differences in activity patterns were significantly larger than those observed for hippocampal ensembles. Whereas â11% of mPFC cells consistently preferred one environment over the other across multiple exposures to the same environments, optimal decoding (prediction) of the environmental setting occurred when the activity of up to â50% of all mPFC neurons was taken into account. On the other hand, population activity patterns were not identical upon repeated exposures to the very same environment. This was partly because the state of mPFC ensembles seemed to systematically shift with time, such that we could sometimes predict the change in ensemble state upon later reentry into one environment according to linear extrapolation from the time-dependent shifts observed during the first exposure. We also observed that many strongly action-selective mPFC neurons exhibited a significant degree of context-dependent modulation. These results highlight potential differences in contextual encoding schemes by the mPFC and hippocampus and suggest that the mPFC forms rich contextual representations that take into account not only sensory cues but also actions and time.electrophysiological recordings | population analysis | temporal encoding M any aspects of behavior are contextually dependent. Contexts can be abstract, as in the case of human language, or can be more concrete and be defined by the constellation of spatial and sensory stimuli surrounding an individual. Contextual representations can form quickly and tend to remain stable despite local variations in perspective (1). Context can also help to inform the subject about potential changes in the meaning of stimuli and actions. The medial prefrontal cortex (mPFC) is involved in various forms of cognition that depend on spatial and contextual information, including context-based cognitive tasks (2-4), contextual fear conditioning (5), and context-induced drug relapse (6-8), and is believed to be an important node in the "context" network (1, 9-12). These functions likely depend on reciprocal interactions with the hippocampus (13, 14), an area that has a well-established role in spatial and contextual processing (15)(16)(17)(18)(19)(20). Through the connection from the CA1 region, the hippocampus has multiple profound effects on mPFC neurons (21-28), and it has been proposed that during spatial navigation the mPFC may work in concert with the hippocampus to encode goal locations and aid in route planning (29,30). However, the spatial representations ...