Context The coat is the first defense layer protecting animals from direct sunlight, influencing radiant-heat absorption and loss. Dark coat colour may increase animal heat impact because of higher absorption of solar radiation. Aims We investigated the impact of pigmentation intensity on the heads of animals and their thermal responses to solar radiation. Furthermore, we compared the thermal responses between dark and light brown-coloured animals, to determine whether the duration of sun and shade exposure (3 h each) is sufficient to differentiate the heat gain and losses between the two groups. Methods The effect of coat colour on rectal and surface temperatures in Boer goats, classified according to their head pigmentation pattern as dark (DB, N = 11) or light brown (LB, N = 11), exposed to sun and shade, was evaluated. The animals’ body and head surface temperatures were measured the same day before, during, and after sun exposure by using infrared thermography. Individual thermographic images were analysed by body regions (rump, leg, neck) and head areas (eye, ear, upper and lower part of the head, and the muzzle). Key results During solar radiation, all measured variables increased. In the shade, the rump, leg, and neck surfaces remained elevated, whereas the head area cooled down faster, with the highest temperature changes measured for the ear of about 10%. Most surface cooling occurred within 30 min after returning to the shade. Coat colour groups differed only in higher overall muzzle temperature of DB than that of LB goats (P = 0.048). Correlations between rectal and surface temperatures were low to medium, ranging from −0.02 (eye) to 0.31 (muzzle). Conclusions The head area is suggested as the important thermal window for heat dissipation and selective brain cooling. Light brown-headed animals were more efficient in eliminating the heat gained from solar radiation when returned to shade. Implications The colouration of the animal’s head may play an important role for its heat tolerance. As an easy-to-recognise characteristic, coat colour can serve as a selection trait for local goat populations. In view of global warming, selection for lighter coat colour in domestic ruminants may also become important even under temperate climates.