Morphine was discovered as the first active alkaloid extracted from the opium poppy plant in December 1804 in Paderborn by German pharmacist Friedrich Sertürner. In 1817, Sertürner reported experiments in which he administered morphine to himself, three young boys, three dogs, and a mouse; all four people almost died. Sertürner originally named the substance morphium after the Greek god of dreams, Morpheus, as it has a tendency to cause sleep. Sertürner's morphium was six times stronger than opium. He hypothesized that, because lower doses of the drug were needed, it would be less addictive. However Sertürner became addicted to the drug, warning that "I consider it my duty to attract attention to the terrible effects of this new substance I called morphium in order that calamity may be averted."
The drug was first marketed to the general public by Sertürner and Company in 1817 as a pain medication, and also as a treatment for opium and alcohol addiction. It was first used as a poison in 1822 when Edme Castaing of France was convicted of murdering a patient. Commercial production began in Darmstadt, Germany, in 1827 by the pharmacy that became the pharmaceutical company Merck, with morphine sales being a large part of their early growth. In the 1850s, Alexander Wood reported that he had injected morphine into his wife Rebecca as an experiment; the myth goes that this killed her because of respiratory depression, but she outlived her husband by ten years.
Morphine was first isolated between 1803 and 1805 by German pharmacist Friedrich Sertürner. This is believed to be the first isolation of a medicinal alkaloid from a plant. Merck began marketing it commercially in 1827. Morphine was more widely used after the invention of the hypodermic syringe in 1853–1855. Sertürner originally named the substance morphium, after the Greek god of dreams, Morpheus, as it has a tendency to cause sleep.
Diacetylmorphine (better known as heroin) was synthesized from morphine in 1874 and brought to market by Bayer in 1898. Heroin is approximately 1.5 to 2 times more potent than morphine weight for weight. Due to the lipid solubility of diacetylmorphine, it can cross the blood–brain barrier faster than morphine, subsequently increasing the reinforcing component of addiction. Using a variety of subjective and objective measures, one study estimated the relative potency of heroin to morphine administered intravenously to post-addicts to be 1.80–2.66 mg of morphine sulfate to 1 mg of diamorphine hydrochloride (heroin).
Later it was found that morphine was more addictive than either alcohol or opium, and its extensive use during the American Civil War allegedly resulted in over 400,000 people with the "soldier's disease" of morphine addiction. This idea has been a subject of controversy, as there have been suggestions that such a disease was in fact a fabrication; the first documented use of the phrase "soldier's disease" was in 1915.
The structural formula of morphine was determined by 1925 by Robert Robinson. At least three methods of total synthesis of morphine from starting materials such as coal tar and petroleum distillates have been patented, the first of which was announced in 1952, by Marshall D. Gates, Jr. at the University of Rochester. Still, the vast majority of morphine is derived from the opium poppy by either the traditional method of gathering latex from the scored, unripe pods of the poppy, or processes using poppy straw, the dried pods and stems of the plant, the most widespread of which was invented in Hungary in 1925 and announced in 1930 by Hungarian pharmacologist János Kabay.
Morphine became a controlled substance in the US under the Harrison Narcotics Tax Act of 1914, and possession without a prescription in the US is a criminal offense. Morphine was the most commonly abused narcotic analgesic in the world until heroin was synthesized and came into use. In general, until the synthesis of dihydromorphine (c. 1900), the dihydromorphinone class of opioids (1920s), and oxycodone (1916) and similar drugs, there were no other drugs in the same efficacy range as opium, morphine, and heroin, with synthetics still several years away (pethidine was invented in Germany in 1937) and opioid agonists among the semi-synthetics were analogues and derivatives of codeine such as dihydrocodeine (Paracodin), ethylmorphine (Dionine), and benzylmorphine (Peronine). Even today, morphine is the most sought after prescription narcotic by heroin addicts when heroin is scarce, all other things being equal; local conditions and user preference may cause hydromorphone, oxymorphone, high-dose oxycodone, or methadone as well as dextromoramide in specific instances such as 1970s Australia, to top that particular list. The stop-gap drugs used by the largest absolute number of heroin addicts is probably codeine, with significant use also of dihydrocodeine, poppy straw derivatives like poppy pod and poppy seed tea, propoxyphene, and tramadol.
The first morphine total synthesis, devised by Marshall D. Gates, Jr. in 1952, remains a widely used example of total synthesis. Several other syntheses were reported, notably by the research groups of Rice, Evans, Fuchs, Parker, Overman, Mulzer-Trauner, White, Taber, Trost, Fukuyama, Guillou, and Stork. Because of the stereochemical complexity and consequent synthetic challenge presented by this polycyclic structure, Michael Freemantle has expressed the view that it is "highly unlikely" that a chemical synthesis will ever be cost-effective such that it could compete with the cost of producing morphine from the opium poppy.
It was announced in 1973 that a team at the National Institutes of Health in the United States had developed a method for total synthesis of morphine, codeine, and thebaine using coal tar as a starting material. A shortage in codeine-hydrocodone class cough suppressants (all of which can be made from morphine in one or more steps, as well as from codeine or thebaine) was the initial reason for the research.
In 2003, there was discovery of endogenous morphine occurring naturally in the human body. Thirty years of speculation were made on this subject because there was a receptor that, it appeared, reacted only to morphine: the μ3-opioid receptor in human tissue. Human cells that form in reaction to cancerous neuroblastoma cells have been found to contain trace amounts of endogenous morphine.
The primary source of morphine is isolation from poppy straw of the opium poppy. In 2013, approximately 523 tons of morphine were produced. Approximately 45 tons were used directly for pain, an increase of 400% over the last twenty years. Most use for this purpose was in the developed world. About 70 percent of morphine is used to make other opioids such as hydromorphone, oxymorphone, and heroin. It is a Schedule II drug in the United States, Class A in the United Kingdom, and Schedule I in Canada. It is on the World Health Organization's List of Essential Medicines. Morphine is sold under many brand names. In 2021, it was the 156th most commonly prescribed medication in the United States, with more than 3 million prescriptions. It is available as a generic medication.
Biosynthesis of morphine in the opium poppy begins with two tyrosine derivatives, dopamine and 4-hydroxyphenylacetaldehyde. Condensation of these precursors yields the primary intermediate higenamine (norcoclaurine). Subsequent action of four enzymes yields the tetrahydroisoquinoline reticuline, which is converted into salutaridine, thebaine, and oripavine. The enzymes involved in this process are the salutaridine synthase, salutaridine:NADPH 7-oxidoreductase and the codeinone reductase. Researchers are attempting to reproduce the biosynthetic pathway that produces morphine in genetically engineered yeast. In June 2015 the S-reticuline could be produced from sugar and R-reticuline could be converted to morphine, but the intermediate reaction could not be performed. In August 2015 the first complete synthesis of thebaine and hydrocodone in yeast was reported, but the process would need to be 100,000 times more productive to be suitable for commercial use.