Repeated imaging of dendritic spines in vivo allows monitoring of long-term structural dynamics of synapses. When carefully controlled for influence of repeated anesthesia and phototoxicity, the method will be suitable to study changes in synaptic structural plasticity after brain injury.