Activity-dependent transcription influences neuronal connectivity, but the roles and mechanisms of inactivation of activity-dependent genes have remained poorly understood. Genome-wide analyses in the mouse cerebellum revealed that the nucleosome remodeling and deacetylase (NuRD) complex deposits the histone variant H2A.z at promoters of activitydependent genes, thereby triggering their inactivation. Purification of translating messenger RNAs from synchronously developing granule neurons (Sync-TRAP) showed that conditional knockout of the coreNuRD subunit Chd4 impairs inactivation of activity-dependent genes when neurons undergo dendrite pruning. Chd4 knockout or expression of NuRD-regulated activity genes impairs dendrite pruning. Imaging of behavingmice revealed hyperresponsivity of granule neurons to sensorimotor stimuli upon Chd4 knockout. Our findings define an epigenetic mechanism that inactivates activity-dependent transcription and regulates dendrite patterning and sensorimotor encoding in the brain.