The present application is directed to an efficient conversion of C-14 hydroxylated morphine alkaloids to various morphine analogs, such as naltrexone, naloxone and nalbuphone. One feature of this process is an intramolecular functional group transfer from the C-14 hydroxyl to the N-17 nitrogen atom following a palladium-catalyzed N-demethylation.