Here we show how to quantify the number and spatial distribution of synaptic active zones in Drosophila melanogaster photoreceptors, highlighted with a genetically encoded molecular marker, and their modulation after prolonged exposure to light.