Bacterial phytochrome photoreceptors usually belong to two-component signaling systems which transmit environmental stimuli to a response regulator through a histidine kinase domain. Phytochromes switch between red light-absorbing and far-red light-absorbing states. Despite exhibiting extensive structural responses during this transition, the model bacteriophytochrome from Deinococcus radiodurans (DrBphP) lacks detectable kinase activity. Here, we resolve this longstanding conundrum by comparatively analyzing the interactions and output activities of DrBphP and a bacteriophytochrome from Agrobacterium fabrum (AgP1). Whereas AgP1 acts as a conventional histidine kinase, we identify DrBphP as a light-sensitive phosphatase. While AgP1 binds its cognate response regulator only transiently, DrBphP does so strongly, which is rationalized at the structural level. Our data pinpoint two key residues affecting the balance between kinase and phosphatase activities, which immediately bears on photoreception and two-component signaling. The opposing output activities in two highly similar bacteriophytochromes inform the use of light-controllable histidine kinases and phosphatases for optogenetics. radiodurans (DrBphP), light induces extensive structural changes in the photosensory module that are relayed to the output module 29 .In terms of enzymatic activity, the dark-adapted Pr state exhibited higher kinase activity than the Pfr state in cyanobacterial phytochrome Cph1, 27,30,31 , similar to other bacteriophytochromes 32 . In particular, the bacteriophytochrome from Agrobacterium fabrum (AgP1) displays histidine kinase activity in its resting Pr state 28,33 ; in the Pfr state, the autophosphorylation and phosphotransfer reactions are down-regulated by 2-fold and 10-fold, respectively 28 . This kinase activity of the AgP1 has been shown to control bacterial conjugation 34 . By contrast, no kinase activity has been demonstrated for DrBphP, notwithstanding close sequence homology and the elaborate structural changes this receptor undergoes under light 22,29 . Despite the eminent role of DrBphP as a paradigm for photoreception, the enzymatic activity and the physiological role of this model phytochrome have hence remained enigmatic.Here, we unravel this long-standing puzzle by studying the enzymatic activity and interactions of DrBphP and AgP1, as two canonical bacteriophytochromes with HK effector domains. By pursuing an integrated biochemical and structural strategy, we show that despite close homology, AgP1 acts as a histidine kinase whereas DrBphP functions as a light-activated phosphatase. Our biochemical and structural data pinpoint two key residues proximal to the catalytic histidine that affect the balance between the kinase and phosphatase activities. Together, the two phytochromes provide soluble, lightcontrollable systems with opposite activities for the study and application of two-component signaling.