Substantial allele-frequency changes were observed at the Adh and αGpdh loci in a seminatural population of Drosophila melanogaster kept in a tropical greenhouse during 1972-1985. Further analysis of the changes at the Adh and αGpdh loci showed that linkage disequilibrium between these loci occurred for a prolonged period due to the presence of In(2L)t, a long inversion on the left arm of the second chromosome. We observed increases in the frequencies of In(2L)t and of short inversions on the left arm of the second chromosome in subpopulations kept at 29.5⚬C or 33⚬C. These inversion-frequency increases were accompanied by an increase in Adhs and a decrease in αGpdhs frequency. In populations kept at 20⚬C and 25⚬C, inversion frequencies decreased, while αGpdhs allele frequencies decreased at 25⚬C and increased at 20⚬C. At 33⚬C, egg-to-adult survival of individuals possessing In(2L)t, either in the homokaryotypic or the heterokaryotypic state, was higher than that of the other karyotypes of identical allozyme constitution (i.e., Adhs αGpdhF). Thus it seems that In(2L)t has a selective advantage at high temperature. We argue that the observed changes in allele frequencies at the Adh and αGpdh loci are, in part, due to genic selection and are not merely the result of selection acting on the chromosome rearrangements and hitchhiking of the allozymes. The results are discussed with respect to the latitudinal clines found for In(2L)t, Adh, and αGpdh.