Synapses connect neurons together to form the circuits of the brain, and their molecular composition controls innate and learned behavior. We analyzed the molecular and morphological diversity of 5 billion excitatory synapses at single-synapse resolution across the mouse brain from birth to old age. A continuum of changes alters synapse composition in all brain regions across the life span. Expansion in synapse diversity produces differentiation of brain regions until early adulthood, and compositional changes cause dedifferentiation in old age. The spatiotemporal synaptome architecture of the brain potentially accounts for life-span transitions in intellectual ability, memory, and susceptibility to behavioral disorders.