Kibra is a synaptic scaffold protein regulating learning and memory. Alterations of Kibra-encoding gene WWC1 cause various neuronal disorders, including Alzheimer’s disease and Tourette syndrome. However, the molecular mechanism underlying Kibra’s function in neurons is poorly understood. Here we discover that Kibra, via its N-terminal WW12 tandem domains, binds to a postsynaptic density enriched protein, Dendrin, with a nanomolar dissociation constant. On the basis of the structure of Kibra WW12 in complex with Dendrin PY motifs, we developed a potent peptide inhibitor capable of specifically blocking the binding between Kibra and Dendrin in neurons. Systematic administration of the inhibitory peptide attenuated excitatory synaptic transmission, completely blocked long-term potentiation induction, and impaired spatial learning and memory. A Kibra mutation found in Tourette syndrome patients causes defects in binding to Dendrin. Thus, Kibra can modulate spatial learning and memory via binding to Dendrin.