cocaine biosynthetic process
The chemical reactions and pathways resulting in the formation of cocaine, an alkaloid obtained from the dried leaves of the shrub Erythroxylon coca. It is a cerebral stimulant and narcotic.
GO:0050799 · biological process
Also called: cocaine anabolism · cocaine biosynthesis · cocaine formation · cocaine synthesis