Circadian clocks are cell-autonomous oscillators regulating daily rhythms in a wide range of physiological, metabolic and behavioral processes. Feedback of metabolic signals, such as redox state, NAD+/NADH and AMP/ADP ratios, or heme, modulate circadian rhythms and thereby optimize energy utilization across the 24-h cycle. We show that rhythmic heme degradation, which generates the signaling molecule carbon monoxide (CO), is required for normal circadian rhythms as well as circadian metabolic outputs. CO suppresses circadian transcription by attenuating CLOCK-BMAL1 binding to target promoters. Pharmacological inhibition or genetic depletion of CO-producing heme oxygenases abrogates normal daily cycles in mammalian cells and Drosophila. In mouse hepatocytes, suppression of CO production leads to a global upregulation of CLOCK-BMAL1-dependent circadian gene expression and dysregulated glucose metabolism. Together, our findings show that CO metabolism is an important link between the basic circadian-clock machinery, metabolism and behavior.