Melatonin attenuates chronic sleep deprivation‐induced cognitive deficits and HDAC3‐Bmal1/clock interruption. Here, HDAC3 is linked to Cognitive impairment.