Elevated CO2 levels associated with ocean acidification (OA) have been shown to alter behavioural responses in coral reef fishes. However, all studies to date have used stable pCO(2) treatments, not considering the substantial diel pCO(2) variation that occurs in shallow reef habitats. Here, we reared juvenile damselfish, Acanthochromis polyacanthus, and clownfish, Amphiprion percula, at stable and diel cycling pCO(2) treatments in two experiments. As expected, absolute lateralization of A. polyacanthus and response to predator cue of Am. percula were negatively affected in fish reared at stable, elevated pCO(2) in both experiments. However, diel pCO(2) fluctuations reduced the negative effects of OA on behaviour. Importantly, in experiment two, behavioural abnormalities that were present in fish reared at stable 750 mu atm CO2 were largely absent in fish reared at 750 +/- 300 mu atm CO2. Overall, we show that diel pCO(2) cycles can substantially reduce the severity of behavioural abnormalities caused by elevated CO2. Thus, past studies may have over-estimated the impacts of OA on the behavioural performance of coral reef fishes. Furthermore, our results suggest that diel pCO(2) cycles will delay the onset of behavioural abnormalities in natural populations.