The ecological significance of light perception in nonphotosynthetic bacteria remains largely elusive. In terrestrial environments, diurnal oscillations in light are often temporally coupled to other environmental changes, including increased temperature and evaporation. Here, we report that light functions as an anticipatory cue that triggers protective adaptations to tolerate a future rapid loss of environmental water. We demonstrate this photo-anticipatory stress tolerance in leaf-associated
Pseudomonas syringae
pv. syringae (
Pss
) and other plant- and soil-associated pseudomonads. We found that light influences the expression of 30% of the
Pss
genome, indicating that light is a global regulatory signal, and this signaling occurs almost entirely via a bacteriophytochrome photoreceptor that senses red, far-red, and blue wavelengths. Bacteriophytochrome-mediated light control disproportionally up-regulates water-stress adaptation functions and confers enhanced fitness when cells encounter light prior to water limitation. Given the rapid speed at which water can evaporate from leaf surfaces, such anticipatory activation of a protective response enhances fitness beyond that of a reactive stress response alone, with recurring diurnal wet–dry cycles likely further amplifying the fitness advantage over time. These findings demonstrate that nonphotosynthetic bacteria can use light as a cue to mount an adaptive anticipatory response against a physiologically unrelated but ecologically coupled stress.