Population decline and a shift in the geographical distribution of some ectothermic animals have been attributed to climatic warming. Here, we show that rises in water temperature of a few degrees, while within the thermal window for locomotor performance, may be detrimental to diving behaviour in air-breathing ectotherms (turtles, crocodilians, marine iguanas, amphibians, snakes and lizards). Submergence times and internal and external body temperature were remotely recorded from freshwater crocodiles (Crocodylus johnstoni) while they free-ranged throughout their natural habitat in summer and winter. During summer, the crocodiles' mean body temperature was 5.2±0.1°C higher than in winter and the largest proportion of total dive time was composed of dive durations approximately 15 min less than in winter. Diving beyond 40 min during summer required the crocodiles to exponentially increase the time they spent on the surface after the dive, presumably to clear anaerobic debt. The relationship was not as significant in winter, even though a greater proportion of dives were of a longer duration, suggesting that diving lactate threshold (DLT) was reduced in summer compared with winter. Additional evidence for a reduced DLT in summer was derived from the stronger influence body mass exerted upon dive duration, compared to winter. The results demonstrate that the higher summer body temperature increased oxygen demand during the dive, implying that thermal acclimatization of the diving metabolic rate was inadequate. If the study findings are common among air-breathing diving ectotherms, then long-term warming of the aquatic environment may be detrimental to behavioural function and survivorship.