The main mechanism enabling coexistence of the two redstarts in a mosaic urban environment is different habitat selection with the proportion of trees as a key parameter.