In the fly Dryomyza anilis females have two kinds of sperm storage organs: one bursa copulatrix and three spermathecae (two spermathecae with a common duct form the doublet, and the third is a singlet spermathecal unit). At the beginning of a mating the male deposits his sperm in the bursa copulatrix. After sperm transfer the male taps the female's abdomen with his claspers. This behaviour has been shown to increase the male's fertilization success. After mating, the female discharges large quantities of sperm before oviposition. To find out where the sperm remaining in the female are stored, I counted the number of sperm in the droplet and in the female's sperm storage organs after different types of mating. I carried out three mating experiments. In experiment 1, virgin females were mated with one male and the matings were interrupted either immediately after sperm transfer or after several tapping sequences. The results show that during male tapping more sperm moved into the singlet spermatheca. In addition, the total number of sperm correlated with sperm numbers in all sperm storage organs, and male size was positively related to the number of sperm remaining in the bursa. In experiment 2, females mated with several males. The number of sperm increased with increasing number of matings only in the doublet spermatheca. No increase in the number of sperm in the singlet spermatheca during consecutive matings suggests that sperm were replaced or did not reach this sperm storage organ. In experiment 3, virgin females were mated with a single male and half of them were allowed to lay eggs. The experiment showed that during egglaying, females primarily used sperm from their singlet spermatheca. The results from the three experiments suggest that sperm stored in the singlet spermatheca is central for male fertilization success and male tapping is related to sperm storage in the singlet spermatheca. The different female's sperm storage organs in D. anilis may have separate functions during sperm storage as well as during sperm usage.