Describing mechanisms that ensure stable co-occurrence of sympatric species is fundamental to understanding the complexity of ecological community dynamics. In this study, the Pied flycatcher and the Collared flycatcher were used as model species for the analysis of co-occurrence patterns of closely related hybridising species that inhabit overlapping forest habitats. I hypothesise that spatial niche partitioning between species emerges as a vital adaptive response to interspecific competition and manifests itself in significant shifts in habitat preferences in syntopic areas but not in the allotopic ones. The study leverages a comprehensive dataset that includes species density in 372 randomly selected 1 km² grid cells across the territory of Poland. The analysis of habitat preferences was performed with linear mixed-effect modeling, whereas a contrast analysis was used to investigate changes in habitat preferences resulting from the presence of a competitor. The findings indicate that both species modify their habitat preferences when transitioning between syntopic and allotopic sites. Remarkably, in regions without competitors, such shifts are significantly less pronounced, as demonstrated by the Pied flycatcher that prefers the same habitats both in allopatric regions and allotopic sites. When these results are compared with other studies on closely related hybridising and non-hybridising species, it turns out that what influences the degree and number of niches subjected to competition is the time that passes from species divergence. This study highlights the imperative need to incorporate co-occurrence parameters of closely related species into niche and species distribution models to enhance their ecological realism.