Increasing evidence points to the engagement of the lateral habenula (LHb) in the selection of appropriate behavioral responses in aversive situations. However, very few data have been gathered with respect to its role in fear memory formation, especially in learning paradigms in which brain areas involved in cognitive processes like the hippocampus (HPC) and the medial prefrontal cortex (mPFC) are required. A paradigm of this sort is trace fear conditioning, in which an aversive event is preceded by a discrete stimulus, generally a tone, but without the close temporal contiguity allowing for their association based on amygdala-dependent information processing. In a first experiment, we analyzed cellular activations (c-Fos expression) induced by trace fear conditioning in subregions of the habenular complex, HPC, mPFC and amygdala using a factorial analysis to unravel functional networks through correlational analysis of data. This analysis suggested that distinct LHb subregions engaged in different aspects of conditioning, e.g. associative processes and onset of fear responses. In a second experiment, we performed chemogenetic LHb inactivation during the conditioning phase of the trace fear conditioning paradigm and subsequently assessed contextual and tone fear memories. Whereas LHb inactivation did not modify rat's behavior during conditioning, it induced contextual memory deficits and enhanced fear to the tone. These results demonstrate the involvement of the LHb in fear memory. They further suggest that the LHb is engaged in learning about threatening environments through the selection of relevant information predictive of a danger.