The circadian clock in cyanobacteria persists even without the transcription/translation feedbacks proposed for eukaryotic systems. The period of the cyanobacterial clock is tuned to the circadian range by the ATPase activity of a clock protein known as KaiC. Here, we provide structural evidence on how KaiC ticks away 24 h while coupling the ATPase activity in its N-terminal ring to the phosphorylation state in its C-terminal ring. During the phosphorylation cycle, the C-terminal domains of KaiC are repositioned in a stepwise manner to affect global expansion and contraction motions of the C-terminal ring. Arg393 of KaiC has a critical function in expanding the C-terminal ring and its replacement with Cys affects the temperature compensation of the period--a fundamental property of circadian clocks. The conformational ticking of KaiC observed here in solution serves as a timing cue for assembly/disassembly of other clock proteins (KaiA and KaiB), and is interlocked with its auto-inhibitory ATPase underlying circadian periodicity of cyanobacteria.