3-Ketosteroid  1 -dehydrogenases (KstD) are important microbial flavin enzymes that initiate the metabolism of steroid ring A and find application in the synthesis of steroid drugs. We present a structure of the KstD from Sterolibacterium denitrificans (AcmB), which contains a previously uncharacterized putative membrane-associated domain and extended proton-relay system. The experimental and theoretical studies show that the steroid  1 -dehydrogenation proceeds according to the Ping-Pong bi-bi kinetics and a two-step base-assisted elimination (E2cB) mechanism. The mechanism is validated by evaluating the experimental and theoretical kinetic isotope effect for deuterium substituted substrates. The role of the active site residues is quantitatively assessed by point mutations, experimental activity assays, and QM/MM MD modelling of the reductive half-reaction (RHR). The pre-steady-state kinetics also reveals that the low pH (6.5) optimum of AcmB is dictated by the oxidative half-reaction (OHR), while the RHR exhibits a slight optimum at the pH usual for the KstD family of 8.5. The modelling confirms the origin of the enantioselectivity of C2-H activation and substrate specificity for  4 -3-ketosteroids. Finally, the cholest-4-en-3-one turns out to be the best substrate of AcmB in terms of G of binding and predicted rate of dehydrogenation.