Melatonin showed significant efficacy in ameliorating PSD and delirium‐like behavior and restoring the circadian rhythm, reversing melatonin receptor and ERK/CREB pathway expression abnormalities. Here, CREB1 is linked to delirium.