GO:0050783:   cocaine metabolic process
The chemical reactions and pathways involving cocaine, an alkaloid obtained from the dried leaves of the shrub Erythroxylon coca. It is a cerebral stimulant and narcotic.