We report the role of dCREB2, the Drosophila homolog of CREB/CREM, in circadian rhythms. dCREB2 activity cycles with a 24 hr rhythm in flies, both in a light:dark cycle and in constant darkness. A mutation in dCREB2 shortens circadian locomotor rhythm in flies and dampens the oscillation of period, a known clock gene. Cycling dCREB2 activity is abolished in a period mutant, indicating that dCREB2 and Period affect each other and suggesting that the two genes participate in the same regulatory feedback loop. We propose that dCREB2 supports cycling of the Period/Timeless oscillator. These findings support CREB's role in mediating adaptive behavioral responses to a variey of environmental stimuli (stress, growth factors, drug addiction, circadian rhythms, and memory formation) in mammals and long-term memory formation and circadian rhythms in Drosophila.