Phosphatidylinositol 3-kinase (PI3K) has been implicated in synaptic plasticity and other neural functions in the brain. However, the role of individual PI3K isoforms in the brain is unclear. We investigated the role of PI3K gamma in hippocampal-dependent synaptic plasticity and cognitive functions. We found that PI3K gamma has a crucial and specific role in NMDA receptor (NMDAR)-mediated synaptic plasticity at mouse Schaffer collateral-commissural synapses. Both genetic deletion and pharmacological inhibition of PI3K gamma disrupted NMDAR long-term depression (LTD) while leaving other forms of synaptic plasticity intact. Accompanying this physiological deficit, the impairment of NMDAR LTD by PI3K gamma blockade was specifically correlated with deficits in behavioral flexibility. These findings suggest that a specific PI3K isoform, PI3K gamma, is critical for NMDAR LTD and some forms of cognitive function. Thus, individual isoforms of PI3Ks may have distinct roles in different types of synaptic plasticity and may therefore influence various kinds of behavior.