Animal daily routines represent a compromise between maximizing foraging success and optimizing physiological performance, while minimizing the risk of predation. For ectothermic predators, ambient temperature may also influence daily routines through its effects on physiological performance. Temperatures can fluctuate significantly over the diel cycle and ectotherms may synchronize behaviour to match thermal regimes in order to optimize fitness. We used bio-logging to quantify activity and body temperature of blacktip reef sharks (Carcharhinus melanopterus) at a tropical atoll. Behavioural observations were used to concurrently measure bite rates in herbivorous reef fishes, as an index of activity for potential diurnal prey. Sharks showed early evening peaks in activity, particularly during ebbing high tides, while body temperatures peaked several hours prior to the period of maximal activity. Herbivores also displayed peaks in activity several hours earlier than the peaks in shark activity. Sharks appeared to be least active while their body temperatures were highest and most active while temperatures were cooling, although we hypothesize that due to thermal inertia they were still warmer than their smaller prey during this period. Sharks may be most active during early evening periods as they have a sensory advantage under low light conditions and/or a thermal advantage over cooler prey. Sharks swam into shallow water during daytime low tide periods potentially to warm up and increase rates of digestion before the nocturnal activity period, which may be a strategy to maximize ingestion rates. "Hunt warm, rest warmer" may help explain the early evening activity seen in other ectothermic predators.