Light sensing allows organisms to adapt to constantly changing environmental factors. Phytochromes constitute a widespread biological photoreceptor family that typically interconvert between two photostates called Pr (red light-absorbing) and Pfr (far-red light-absorbing). Despite the vast structural information reported on phytochromes, the lack of full-length structures at the (near-)atomic level in both pure Pr and Pfr states leaves gaps in the structural mechanisms involved in the signal transmission pathways during the photoconversion. Here we present three crystallographic structures from the plant pathogen Xanthomonas campestris virulence regulator bacteriophytochrome, including two full-length proteins, in the Pr and Pfr states. The structural findings, combined with mutational, biochemical and computational studies, allow us to describe the signaling mechanism of a full-length bacterial phytochrome at the atomic level, from the isomerization of the chromophore and the β-sheet/α-helix tongue transition to the remodeling of the quaternary assembly of the protein.