Cocaethylene is the ethyl ester of benzoylecgonine. It is chemically related to cocaine, which is the corresponding methyl ester. Cocaethylene is formed in the body when cocaine and alcohol have been taken simultaneously: the transesterification is catalysed by carboxylesterases in the liver.