The roles of photochemical and non-photochemical quenching in regulating photosynthesis depend on the phases of fluctuating light conditions.