This protocol describes a Drosophila learning and memory assay called courtship conditioning. This classic assay is based on a reduction of male courtship behavior after sexual rejection by a non-receptive premated female. This natural form of behavioral plasticity can be used to test learning, short-term memory, and long-term memory.
Koemans, T. S., Oppitz, C., Donders, R. A. T., van Bokhoven, H., Schenck, A., Keleman, K., Kramer, J. M. Drosophila Courtship Conditioning As a Measure of Learning and Memory. J. Vis. Exp. (124), e55808, doi:10.3791/55808 (2017).