The mammalian central circadian clock, located in the suprachiasmatic nucleus (SCN), coordinates the timing of physiology and behavior to local time cues. In the SCN, second messengers, such as cAMP and Ca
2+
, are suggested to be involved in the input and/or output of the molecular circadian clock. However, the functional roles of second messengers and their dynamics in the SCN remain largely unclear. In the present study, we visualized the spatiotemporal patterns of circadian rhythms of second messengers and neurotransmitter release in the SCN. Here, we show that neuronal activity regulates the rhythmic release of vasoactive intestinal peptides from the SCN, which drives the circadian rhythms of intracellular cAMP in the SCN. Furthermore, optical manipulation of intracellular cAMP levels in the SCN shifts molecular and behavioral circadian rhythms. Together, our study demonstrates that intracellular cAMP is a key molecule in the organization of the SCN circadian neuronal network.