We studied the effect of ethanol on several fitness components in six Drosophila melanogaster strains. Mating success, fecundity, egg-to-larva, egg-to-pupa and egg-to-adult survival and the number of emerging adults were estimated in a single series of experiments. The strains either had different combinations of genetic background and Adh genotypes with identical OdhF genotype or different Adh-Odh two-locus genotypes with similar genetic background. Ethanol had the greatest effect on mating success and fecundity, while its influence was lower on survival. When the experimental conditions were contrasted to the natural environment of the flies the most significant results were the ones related to fecundity and larval survival. Ethanol had the highest selective effect on fecundity. The genetic factors contributed substantially to the variation in the fertility and viability components. The Adh locus hardly influenced mating success while it had a sizable effect on fecundity and on all survival components. The influence of Adh on fecundity greatly depended on the other genetic factors. Genetic background had the largest influence on the different survival components. The influence of the Odh locus was mostly observed through the Adh-Odh interaction.