The MAP kinase ERK is important for neuronal plasticity underlying associative learning, yet specific molecular pathways for ERK activation in hippocampus are still largely undetermined. RapGEF2 has emerged as a neuron-specific cAMP sensor that mediates ERK activation. We investigated whether RapGEF2 might also be required for cAMP-dependent ERK activation leading to synaptic potentiation, and how this involvement might be penetrant to hippocampus-dependent learned behavior. We demonstrate that conditional knockout of Rapgef2 in forebrain neurons, specifically in dentate gyrus and CA1 of the hippocampus, leads to an attenuation of context-dependent fear conditioning, but not of cue-dependent fear conditioning, in mice. RapGEF2 knockout is associated with a reduction in cAMP-dependent synaptic potentiation at two central hippocampal synapses-the entorhinal cortex-granule cell synapse and the CA3-CA1 synapse. Furthermore, cAMP-induced postsynaptic potentiation requires both RapGEF2 and activation of ERK. Induction of Egr-1/Zif268 (and pERK), but not of c-Fos, immediately following fear conditioning, was abolished in CA1 and detate gyrus, in the absence of RapGEF2 expression in these hippocampal regions, thus revealing a link between learning (conditioning) and molecular pathways activated during conditioned fear memory formation. Hence, we suggest that contextual fear conditioning is mediated via RapGEF2-dependent ERK activation and downstream induction of Egr-1, via an underlying mechanism of cAMP-dependent long-term potentiation at hippocampal synapses. Cyclic AMP-dependent GEFs have been genetically associated as risk factors for schizophrenia, a disorder associated with cognitive deficits. This study provides a functional link between one of these cAMP-dependent GEFs, RapGEF2, and cognitive processes involved in associative learning.