AbstractMost of what is known about extra‐pair paternity in hole‐nesting birds derives from studies using artificial nesting sites, such as nestboxes. However, it has rarely been investigated whether inference drawn from breeding events taking place in nestboxes matches what would be observed under natural conditions, that is, in natural cavities. We here report on a variation in promiscuity in blue tits and great tits nesting in natural cavities and nestboxes in an urban forest in Warsaw, Poland. Specifically, we tested whether local breeding density, local breeding synchrony, and extra‐pair paternity (inferred from SNP data generated with a high‐throughput genotyping by sequencing method) differed between birds nesting in natural cavities and nestboxes. In both blue tits and great tits, the frequency of extra‐pair paternity was similar between the two cavity types. In blue tits, we observed shorter nearest neighbor distance, higher neighbor density, and higher synchronous neighbor density (i.e., density of fertile females) in nestboxes relative to natural cavities. No such pattern was found in great tits. Moreover, we detected a positive relationship between the proportion of extra‐pair offspring in the nest and neighbor density around the nest in blue tits. Our results revealed that the provisioning of nestboxes did not change rates of extra‐pair paternity, suggesting that conclusions drawn from nestbox studies might adequately represent the natural variation in extra‐pair matings in some species or sites. However, the observed differences in spatiotemporal components of breeding dynamics highlight the fact that these parameters should be carefully considered when comparing mating behavior across studies and/or sites.