In this paper we analyzed environmental differentiation of closely related species from the Merodon ruficornis group. By applying principal component analysis (PCA) and environmental niche modelling (ENM)-based techniques, we estimated the level of niche divergence of closely related species. Our results indicate that ecology has an important role in the diversification process in related species from the M. ruficornis group. Distribution patterns of all analyzed species are mainly affected by the limiting effects of the temperature of the coldest quarter and month, as well as by the precipitation of the wettest and driest quarters. Our results demonstrated that among all related species, with the exception of M. ovaloides, overall or partial divergence in environmental space is present. Importantly, the results indicate that the environmental niches of all endemic species are restricted to smaller parts of the environmental space. In the case of niche overlap, the niches of endemic species are placed along the border of the realized niche of the widespread related species. For species in which distribution is not limited by geographical barriers, environmental preferences could be considered as limiting factors for further expansion, as in the case of M. alexandri, a lowland species with very strict climatic adaptations. Knowledge about the environmental factors that might influence the diversification process can provide an explanation for the high diversity in other Merodon species groups.