Heroin, also known as diacetylmorphine and diamorphine among other names, is a morphinan opioid substance synthesized from the dried latex of the opium poppy; it is mainly used as a recreational drug for its euphoric effects. Heroin is used medically in several countries to relieve pain, such as during childbirth or a heart attack, as well as in opioid replacement therapy. Medical-grade diamorphine is used as a pure hydrochloride salt. Various white and brown powders sold illegally around the world as heroin are routinely diluted with cutting agents. Black tar heroin is a variable admixture of morphine derivatives—predominantly 6-MAM (6-monoacetylmorphine), which is the result of crude acetylation during clandestine production of street heroin.
Heroin is typically injected, usually into a vein, but it can also be snorted, smoked, or inhaled. In a clinical context, the route of administration is most commonly intravenous injection; it may also be given by intramuscular or subcutaneous injection, as well as orally in the form of tablets. The onset of effects is usually rapid and lasts for a few hours.