As one of the largest and most representative families of natural medicines harvested from plants, the mass production of opioids legitimately occupies large farmland for the cultivation of opium poppies in the world, causing serious regulation difficulty and supply uncertainty. Due to their complex structures, chemical synthesis of opioids has been criticized infeasible for large-scale production in view of lengthy synthetic steps and low overall efficiency. Here we report a practical and scalable total synthesis of oxycodone, codeine, and related opioids by imitating the biosynthetic dearomatization arene coupling reaction, which allows efficient preparation of a key thebaine-like core on decagram scale.For the synthesis of oxycodone and codeine, less than eight continuous operations and one column chromatography purification were required throughout the synthesis in 11% and 13%