Pyk2 modulates hippocampal excitatory synapses and contributes to cognitive deficits in a Huntington's disease model. Here, PTK2B is linked to Huntington disease.