Abstract.— Bird song is a sexual trait important in mate choice and known to be shaped by environmental selection. Here we investigate the ecological factors shaping song variation across a rainforest gradient in central Africa. We show that the little greenbul (Andropadus virens), previously shown to vary morphologically across the gradient in fitness-related characters, also varies with respect to song characteristics. Acoustic features, including minimum and maximum frequency, and delivery rate of song notes showed significant differences between habitats. In contrast, we found dialectal variation independent of habitat in population-typical songtype sequences. This pattern is consistent with ongoing gene flow across habitats and in line with the view that song variation in the order in which songtypes are produced is not dependent on habitat characteristics in the same way physical song characteristics are. Sound transmission characteristics of the two habitats did not vary significantly, but analyses of ambient noise spectra revealed dramatic and consistent habitat-dependent differences. Matching between low ambient noise levels for low frequencies in the rainforest and lower minimal frequencies in greenbul songs in this habitat suggests that part of the song divergence may be driven by habitat-dependent ambient noise patterns. These results suggest that habitat-dependent selection may act simultaneously on traits of ecological importance and those important in prezygotic isolation, leading to an association between morphological and acoustic divergence. Such an association may promote assortative mating and may be a mechanism driving reproductive divergence across ecological gradients.