Nestling birds solicit food from their parents by displaying their open brightly coloured gapes. Carotenoids affect gape colour, but also play a central role in immunostimulation. Therefore, we hypothesize that, by differentially allocating resources to nestlings with more brightly coloured gapes, parents favour healthy offspring which are able to allocate carotenoids to gape coloration without compromising their immune defence. We demonstrated that, in the barn swallow Hirundo rustica, (i) parents differentially allocate food to nestlings with an experimentally brighter red gape, (ii) nestlings challenged with a novel antigen (sheep red blood cells, SRBCs) have less bright gape colour than their control siblings, (iii) nestlings challenged with SRBCs but also provided with the principal circulating carotenoid (lutein) have more brightly coloured red gapes than their challenged but unsupplemented siblings and (iv) the gape colour of nestlings challenged with SRBCs and provisioned with lutein exceeds that of siblings that were unchallenged. This suggests that parents may favour nestlings with superior health by preferentially feeding offspring with the brightest gapes.