Prokaryotic cyanobacteria express robust circadian (daily) rhythms, even when growing with doubling times that are considerably faster than once every 24 h. This biological clock orchestrates cellular events to occur in an optimal temporal program. Competition experiments demonstrate that fitness is enhanced when the circadian period resonates with the period of the environmental cycle.