Surprisingly, Epac2−/− mice exhibited a wide range of mood disorders, including anxiety and depression with learning and memory deficits in contextual and cued fear-conditioning tests without affecting Epac1 expression or PKA activity. Here, RAPGEF3 is linked to major depressive disorder.