Information within the brain travels from neuron to neuron across billions of synapses. At any given moment, only a small subset of neurons and synapses are active, but finding the active synapses in brain tissue has been a technical challenge. To tag active synapses in a user-defined time window, we developed SynTagMA. Upon 395-405 nm illumination, this genetically encoded marker of activity converts from green to red fluorescence if, and only if, it is bound to calcium. Targeted to presynaptic terminals, preSynTagMA allows discrimination between active and silent axons. Targeted to excitatory postsynapses, postSynTagMA creates a snapshot of synapses active just before photoconversion. To analyze large datasets, we developed software to identify and track the fluorescence of thousands of individual synapses in tissue. Together, these tools provide an efficient method for repeatedly mapping active neurons and synapses in cell culture, slice preparations, and in vivo during behavior.