Here we present a protocol with which pre- and/or postsynaptic calcium can be visualized in the context of Drosophila learning and memory. In vivo calcium imaging using synaptically localized calcium sensors is combined with a classical olfactory conditioning paradigm such that the synaptic plasticity underlying this type of associative learning may be determined.