Electrochemical reactions involving electron/proton transfer occur in several technologically relevant environments, such as solar cells, energy conversion, and storage devices. In these systems, the electron/proton transfer is governed by the applied bias potential and leads to the occurrence of complex electrochemical reactions. While experiments provide access to most of the macroscopic electrochemical properties of these reactions, they are unable to describe the electrochemical processes occurring at the atomic scale. At this level, modelling electrochemical processes either in solution or at metal interfaces is of paramount importance towards a full control and understanding of reaction mechanisms occurring under applied bias potential. Several techniques have been developed to study systems under bias potential in combination with ab initio molecular dynamics and advanced electronic structure techniques. Among them, constant Fermi level ab initio molecular dynamics (CFL-MD) is emerging as a promising and efficient scheme. In this Chapter, we focus on the constant Fermi level molecular dynamics technique and present some applications to electrochemistry. In the methods section, we provide a detailed review of the constant Fermi level ab initio molecular dynamics technique. Then, we illustrate the performance of CFL-MD in determining redox levels of half reactions in solution. In particular, we show that redox half-reactions can be driven by varying the Fermi level within the electronic gap of liquid water, thereby revealing reaction mechanisms without any prior knowledge of the reaction products. On the basis of Janak's theorem, we derive a scheme for determining redox potentials from the evolution of single-particle energy levels upon charging (or discharging) the system. For the considered redox couples, the calculated redox levels are found to agree closely with those obtained via the thermodynamic integration method. The agreement with