The role of phenotypic adaptation and maternal effects in the survival of Drosophila melanogaster on media supplemented with alcohol was investigated. Egg-to-adult survival depends on the age at which the eggs are transferred from regular to ethanol-containing food. Eggs transferred at an age of 8 hours or less, produce significantly more adults than eggs transferred after 14 hours. This phenomenon is not observed when eggs are exposed only temporarily to ethanol at different ages. Phenotypic adaptation was also observed on food supplemented with propanol, butanol and hexanol for strains not selected for ethanol tolerance. Maternal effects had a great influence on egg-to-adult survival on ethanol-supplemented food. Eggs homozygous for the Adh'1 allele showed a significantly better survival on 4 per cent ethanol food when laid by ADH-positive mothers, than laid by ADH-negative mothers. This maternal effect was probably caused by maternal ADH and not by maternal mRNA. Phenotypic adaptation and maternal effect are both important in the survival of D. melanogaster on food containing alcohol, especially in the case of selection during pre-adult life stages.