The ability of CYP106A2 to hydroxylate prednisone and dexamethasone at position 15β is described. The in vitro conversion of prednisone and dexamethasone with CYP106A2 is thoroughly characterized. CYP106A2-based whole-cell systems in Bacillus megaterium are applied for the biotransformation of prednisone and dexamethasone. The identified prednisone and dexamethasone derivatives are promising candidates for the development of novel steroidal drugs.