Abstract Models of speciation in African rain forests have stressed either the role of isolation or ecological gradients. Here we contrast patterns of morphological and genetic divergence in parapatric and allopatric populations of the Little Greenbul, Andropadus virens, within different and similar habitats. We sampled 263 individuals from 18 sites and four different habitat types in Upper and Lower Guinea. We show that despite relatively high rates of gene flow among populations, A. virens has undergone significant morphological divergence across the savanna–forest ecotone and mountain–forest boundaries. These data support a central component of the divergence-with-gene-flow model of speciation by suggesting that despite large amounts of gene flow, selection is sufficiently intense to cause morphological divergence. Despite evidence of isolation based on neutral genetic markers, we find little evidence of morphological divergence in fitness-related traits between hypothesized refugial areas. Although genetic evidence suggests populations in Upper and Lower Guinea have been isolated for over 2 million years, morphological divergence appears to be driven more by habitat differences than geographic isolation and suggests that selection in parapatry may be more important than geographic isolation in causing adaptive divergence in morphology.