Infrared thermography (IRT) or thermal imaging is increasingly being used as a non-invasive method to gain information on animals’ physiological and emotional state. IRT has the potential to serve as a non-invasive quantitative assessment method but few studies have examined its utility in predicting welfare-relevant outcomes of dynamic scenarios relevant to commercial farming. This study used 1,284 thermal images taken from 46 pigs in a controlled test environment while they engaged in an agonistic encounter (dyadic contest) at 13 wk of age. Images were taken of the complete body from a dorsal perspective. A pilot study indicated that a rectangular thermal window on the back region was the most suitable and reliable area for obtaining temperature data in this situation. From this thermal window, the average, minimum and maximum temperature, standard deviation and coefficient of variation (CV) were obtained. These were analysed in relation to contest phase (from non-contact assessment, through escalated fighting to retreat), fight occurrence, contest duration, contest outcome (winner / loser status) and changes in blood glucose, blood lactate, and skin injuries. Variables showed a strong change in response to the moment of contest resolution (retreat of the loser); temperatures reduced sharply and CV increased, but did not differ between winners and losers. Contests that included a fight showed lower temperatures. Contest duration, body weight and sex only had minor influences on the temperatures. As the drop in temperature at contest resolution was irrespective of contest intensity, and the pattern was similar in winners and losers, this data potentially reflects vasoconstriction as a result of psychological stress rather than solely a physiological change. The study shows that peripheral temperature, as recorded by IRT, responds to the intensity and phases of a contest and may allow new insight into the physiological and welfare outcomes of aggressive behaviour.