Extra-pair mating constitutes a relatively common reproductive strategy in many socially monogamous bird species. This strategy may considerably improve reproductive success of males, but female benefits from extra-pair matings still remain unclear and empirical evidence is scarce. This may be because genetic benefits of extra-pair mating are not always revealed. It is possible that they are shown only in unfavourable environmental conditions and hence problems arise with detecting differences between within- and extra-pair offspring whose performance is measured under favourable conditions. In order to test this prediction, we manipulated environmental conditions by altering brood sizes of blue tits and compared phenotypic characteristics of within- and extra-pair offspring in mixed-paternity broods. We found that extra-pair young exhibited a higher response to phytohemagglutinin in comparison to within-pair young, but this was only observed among nestlings from experimentally enlarged broods. These results indicate that genetic benefits may interact with the environment, and thus benefits of extra-pair mating are likely to become visible only when conditions are relatively unfavourable.