The female Drosophila melanogaster fly undergoes behavioral changes after mating, including an increase in egg laying and an avoidance of remating. Accessory-gland products elicit these changes transiently when introduced into unmated female flies. We report here the generation and phenotype of flies that lack functional accessory-gland main cells as a consequence of genetically directed delivery of diphtheria toxin subunit A to those ceUls. Only main-cell secretions are essential for the short-term inhibition to remating; no other products of the genital tract can replace their function. Long-term inhibition to remating depends only on the storage of sperm in the female. Both sperm and main-cell secretions have roles in the increase of egg laying by the mated female. In addition to full-strength diphtheria toxin, we used low-activity toxins to kill only those ceUls that express toxin at high levels. These transgenic strains that express diphtheria toxins of different strengths in accessory-gland main cels wiUl be useful in further defining the role of these cells.In insects, mating causes females to undergo physiological and behavioral changes that persist for several days (1, 2). After mating, females lay eggs at a high rate and they reject further male courtship and remating. They store and utilize sperm they receive. In Drosophila melanogaster, these behavioral changes are due in part to sperm and in part to seminal fluid (3-5). Seminal-fluid components have been shown to cause the initial decrease in receptivity, called the "copulation effect" (3), but the long-term decrease in receptivity, called the "sperm effect" (4, 5), is correlated with the presence of sperm in the female's sperm-storage organs.To determine which molecules are responsible for these behavioral changes, we need to know their source. Seminalfluid effects on oviposition (egg laying) rate and receptivity were demonstrated in Hihara's study (3) of mates of males that had depleted their seminal secretions due to multiple prior matings. Hihara (3) postulated that products of the accessory gland, a secretory tissue in the male reproductive tract, caused these behavioral changes. He reasoned this because the accessory glands of multiply mated males were shrunken, apparently due to depletion of their contents, and because transplantation ofaccessory glands (6, 7) or injection of their extracts (for review, see ref.2) was known to cause increases in oviposition and decreases in receptivity. Chen et al. (8) and Aigaki et al. (9) later showed that a single accessory-gland peptide, the sex peptide, is able to induce oviposition and rejection when introduced into female flies.