Photoelectrochemical (PEC) cells based on semiconductor/liquid interfaces offer an approach of converting solar energy to electricity or fuels. Currently, the understanding of semiconductor/liquid interfaces is inferred from experiments and models. Operando ambient-pressure X-ray photoelectron spectroscopy (AP-XPS) has been used herein to directly characterize the semiconductor/liquid junction at room temperature under real-time electrochemical control. X-ray synchrotron radiation in conjunction with AP-XPS has enabled simultaneous monitoring of the solid surface, the solid/electrolyte interface, and the bulk electrolyte of a PEC cell as a function of the applied potential, U. The observed shifts in binding energy with respect to the applied potential have directly revealed ohmic and rectifying junction behavior on metallized and semiconducting samples, respectively. Additionally, the non-linear response of the core level binding energies to changes in the applied electrode potential has revealed the influence of defect-derived electronic states on the Galvani potential across the complete cell.