Currently, it is generally assumed that migratory birds are oriented in the appropriate migratory direction under UV, blue and green light (short-wavelength) and are unable to use their magnetic compass in total darkness and under yellow and red light (long-wavelength). However, it has also been suggested that the magnetic compass has two sensitivity peaks: in the short and long wavelengths, but with different intensities. In this project, we aimed to study the orientation of long-distance migrants, pied flycatchers (
Ficedula hypoleuca
), under different narrowband light conditions during autumn and spring migrations. The birds were tested in the natural magnetic field (NMF) and a changed magnetic field (CMF) rotated counterclockwise by 120° under dim green (autumn) and yellow (spring and autumn) light, which are on the ‘threshold’ between the short-wavelength and long-wavelength light. We showed that pied flycatchers (i) were completely disoriented under green light both in the NMF and CMF but (ii) showed the migratory direction in the NMF and the appropriate response to CMF under yellow light. Our data contradict the results of previous experiments under narrowband green and yellow light and raise doubts about the existence of only short-wavelength magnetoreception. The parameters of natural light change dramatically in spectral composition and intensity after local sunset, and the avian magnetic compass should be adapted to function properly under such constantly changing light conditions.