Origin of heroin
Heroin reaches English through German and Ancient Greek. Heroin today means “A powerful and addictive drug derived from opium producing intense euphoria, classed as an illegal narcotic…”.
Etymology of heroin
Since the 1890s, by genericization from German Heroin, originally a trademark, from Ancient Greek ἥρως (hḗrōs, “hero”) and the suffix -in (“-ine”). Said to have been called thus to evoke quick and sweeping effect as a painkiller and cough suppressant (its original uses). Alternatively explained as a reference to the heroic school of medicine.
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.