Niche theory predicts that ecologically similar sympatric species should show differentiation in at least one of the main niche dimensions (time, space, and/or food). Here, we combined observations of breeding timing, nest site selection, and diet (the latter determined using DNA metabarcoding) to analyze the niche overlap and differentiation between two sympatric secondary cavity‐nesting birds, the Japanese Tit Parus minor and the Yellow‐rumped Flycatcher Ficedula zanthopygia. The results showed that (1) there were significant differences in the first egg laying date, length of the egg laying period, incubation date, and hatching date between tits and flycatchers, and the breeding time of flycatchers peaked later (about 30 days) than that of tits; (2) the two species had a large overlap in nest site selection, although the canopy coverage and shrub density of flycatchers were significantly higher than those of tits; and (3) the niche overlap in diet was minimal, with both species heavily relying on Lepidoptera (39.6% and 63.7% for tits and flycatchers, respectively), but with flycatchers consuming significantly higher percentages of Lepidoptera, Diptera, and Coleoptera than tits. The results indicate that these two sympatric secondary cavity‐nesting species have significant niche differentiation in breeding time and diet, but little differentiation in nest site selection.