Cocaine is not an opiate. Cocaine is a powerfully addictive stimulant drug. Opiates are depressants.