Ambergris, a sperm whale metabolite, has long been used as a fragrance and traditional medication, but it is now rarely available. The odor components of ambergris result from the photooxidative degradation of the major component, ambrein. The pharmacological activities of ambergris have also been attributed to ambrein. However, efficient production of ambrein and odor compounds has not been achieved. Here, we constructed a system for the synthesis of ambrein and odor components. First, we created a new triterpene synthase, “ambrein synthase,” for mass production of ambrein by redesigning a bacterial enzyme. The ambrein yields were approximately 20 times greater than those reported previously. Next, an efficient photooxidative conversion system from ambrein to a range of volatiles of ambergris was established. The yield of volatiles was 8–15%. Finally, two biological activities, promotion of osteoclast differentiation and prevention of amyloid β-induced apoptosis, were discovered using the synthesized ambrein.