[CH:1]1[C:6]2[CH2:7][C@H:8]3[N:13]([CH2:14][CH:15]4[CH2:18][CH2:17][CH2:16]4)[CH2:12][CH2:11][C@:10]45[C@H:19]([C@@H:21]([OH:24])[CH2:22][CH2:23][C@@:9]34[OH:25])[O:20][C:4]([C:5]=25)=[C:3]([OH:26])[CH:2]=1.C(O)C.[ClH:30]>O>[CH:1]1[C:6]2[CH2:7][C@H:8]3[N:13]([CH2:14][CH:15]4[CH2:18][CH2:17][CH2:16]4)[CH2:12][CH2:11][C@:10]45[C@H:19]([C@@H:21]([OH:24])[CH2:22][CH2:23][C@@:9]34[OH:25])[O:20][C:4]([C:5]=25)=[C:3]([OH:26])[CH:2]=1.[ClH:30]Nalbuphine alkaloid (33.1 g) was charged to a flask containing ethanol (79 ml) and water (20 ml) and the mixture heated to 50° C. Concentrated Hydrochloric acid (9.1 mls) was added to adjust to within the pH range 4-4.5. The resulting solution was cooled to <10° C. using an ice bath and held for ˜2 hours and filtered. The Nalbuphine hydrochloride solid was washed with ethanol:water (10.6 ml:2.6 ml) and dried at 55° C. in a fan oven to afford 35.27 g (89% theory) of Nalbuphine hydrochloride.