Alkaloids are nitrogen-containing compounds that plants manufacture as chemical weapons against insects and grazing animals, and they show up in an enormous range of everyday foods. Caffeine in coffee, capsaicin in chili peppers, theobromine in chocolate, solanine in potatoes, trace nicotine in tomatoes, and even morphine on poppy seeds all belong to this single chemical class. Their effects on human health span a wide spectrum, from the mild stimulant buzz of a morning espresso to liver damage caused by contaminated herbal teas. What matters is the specific alkaloid, the dose, and how your body processes it.
Caffeine and Its Grip on the Brain
Caffeine is the most widely consumed alkaloid on Earth, and its mechanism is surprisingly specific. It works by blocking adenosine receptors in the brain. Adenosine is a molecule your body produces throughout the day that gradually makes you feel sleepy. Caffeine’s molecular shape is close enough to adenosine’s that it fits into those same receptors without activating them, essentially jamming the lock so the key cannot turn. Because adenosine normally dials down neural activity, blocking it has the opposite effect: you feel more alert and less fatigued.1PubMed. Caffeine and adenosine Caffeine hits all four known types of adenosine receptor, which is why its effects reach beyond simple wakefulness into heart rate, blood vessel tone, and mood.2PubMed Central. Adenosine A(2A) receptor antagonists: from caffeine to selective non-xanthines
Capsaicin, Piperine, and Theobromine
Capsaicin, the compound that makes chili peppers hot, does more than set your mouth on fire. It activates a heat-sensing receptor called TRPV1, which triggers a cascade that ramps up energy expenditure in fat tissue. In mice fed a high-fat diet, capsaicin treatment led to lower body weight gain and elevated expression of proteins involved in both classical heat production and ATP-consuming energy cycles.3PubMed. Capsaicin induces ATP-dependent thermogenesis via the activation of TRPV1/β3-AR/α1-AR in 3T3-L1 adipocytes and mouse model Capsaicin also promotes the conversion of white fat cells (which store energy) into brown-like fat cells (which burn it), increasing overall metabolic and ambulatory activity.4PubMed Central. Capsaicin induces browning of white adipose tissue and counters obesity by activating TRPV1 channel-dependent mechanisms That said, the doses used in animal studies are higher than what most people eat, so the practical weight-loss benefit of adding hot sauce to your meals is modest at best.
Piperine, the alkaloid behind black pepper’s bite, has an unusual talent: it boosts the absorption and potency of other compounds you eat alongside it. Piperine inhibits liver enzymes that would otherwise break down drugs and phytochemicals before they reach the bloodstream, and it also physically changes the surface of intestinal cells to allow more absorption.5PubMed. Black pepper and its pungent principle-piperine: a review of diverse physiological effects This is why turmeric supplements almost always include black pepper extract: piperine dramatically increases curcumin levels in the blood. The flip side is that piperine can also amplify the effects of prescription medications, which is a real concern for people on narrow-dose drugs like blood thinners or seizure medications.
Theobromine, the principal alkaloid in cocoa, is structurally related to caffeine but acts more gently. At low doses found in a typical serving of dark chocolate, it has limited subjective effects. At higher doses, however, it raises heart rate in a dose-dependent fashion and can produce negative mood effects.6PubMed Central. Psychopharmacology of theobromine in healthy volunteers One trial found that cocoa enriched with extra theobromine raised 24-hour blood pressure by about 3 mm Hg compared to placebo, while natural-dose theobromine cocoa did not.7PubMed. Effects on peripheral and central blood pressure of cocoa with natural or high-dose theobromine: a randomized, double-blind crossover trial The practical message: a square or two of dark chocolate is unlikely to cause cardiovascular trouble, but concentrated theobromine supplements are a different story.
How Your Liver Processes Food Alkaloids
The liver is your central processing plant for alkaloids. A family of enzymes called cytochrome P450s handles the heavy lifting, and different family members specialize in different alkaloids. For beta-carboline alkaloids, which form in cooked meats and fermented foods, the enzymes CYP1A2 and CYP1A1 do most of the oxidation work, converting these compounds into water-soluble metabolites your kidneys can flush out. Smaller contributions come from CYP2D6, CYP2C19, and CYP2E1.8PubMed. Oxidative metabolism of the bioactive and naturally occurring beta-carboline alkaloids, norharman and harman, by human cytochrome P450 enzymes Because people carry different genetic variants of these enzymes, two individuals eating the same meal can end up with very different blood levels of the same alkaloid. Someone with a highly active CYP1A2 clears caffeine fast and sleeps fine after an evening espresso; someone with a sluggish variant may lie awake for hours.
This enzymatic processing is not always protective. Pyrrolizidine alkaloids, which show up in certain herbal teas and honey, are relatively harmless until liver P450s convert them into reactive intermediates that bind to proteins and damage cells. Research using mice with tissue-selective knockouts showed that liver P450s, not intestinal ones, are essential for this harmful activation.9PubMed Central. The key role of gut-liver axis in pyrrolizidine alkaloid-induced hepatotoxicity and enterotoxicity For the pyrrolizidine alkaloid senecionine specifically, CYP3A4 is the dominant enzyme responsible for both the toxic activation and the detoxification pathways.10Carcinogenesis. Role of cytochrome P450IIIA4 in the metabolism of the pyrrolizidine alkaloid senecionine in human liver This dual role — the same enzyme producing both the dangerous metabolite and the safe one — helps explain why individual susceptibility to pyrrolizidine poisoning varies so widely.
Glycoalkaloids in Potatoes and Tomatoes
Potatoes and tomatoes belong to the Solanaceae family, and they produce glycoalkaloids as part of their natural pest defense. In potatoes, the two main ones are alpha-solanine and alpha-chaconine. At the concentrations found in a normal serving of properly stored potatoes, these compounds are present at levels that can measurably inhibit cholinesterase enzymes in human blood.11Anesthesiology. Cholinesterase Inhibition by Potato Glycoalkaloids Slows Mivacurium Metabolism That sounds alarming, but in practice, the inhibition is mild and temporary in healthy people. The concern becomes real at high concentrations, such as in green or sprouted potatoes where glycoalkaloid levels can spike dramatically.
The European Food Safety Authority conducted a risk assessment and identified a level of concern at about 1 mg of total glycoalkaloids per kilogram of body weight per day for acute effects. For younger children, the safety margins were tighter, indicating a possible health concern at the highest estimated exposure levels. For adults, only the most extreme consumption patterns raised flags.12PubMed Central. Risk assessment of glycoalkaloids in feed and food, in particular in potatoes and potato-derived products The practical advice is familiar: cut away green portions, discard sprouted potatoes, and store them in cool, dark conditions to keep glycoalkaloid levels well within safe ranges.
Pyrrolizidine Alkaloids and Contaminated Teas
Pyrrolizidine alkaloids are among the most concerning alkaloids in the food supply, not because people seek them out, but because they sneak in. Certain plants — ragwort, comfrey, borage, and hundreds of others — produce these compounds naturally. When those plants grow near or among crop plants, their alkaloids contaminate the harvest. Herbal teas and regular teas are the primary routes of human exposure.13PubMed. Risk assessment of pyrrolizidine alkaloids in food of plant and animal origin
Acute poisoning causes hepatic veno-occlusive disease, a condition where small blood vessels in the liver become blocked, leading to liver failure. The longer-term worry is genotoxicity and potential carcinogenicity. The European Food Safety Authority flagged frequent and high consumers of tea and herbal infusions as the group most at risk, and noted that food supplements made from pyrrolizidine-producing plants could bring exposure dangerously close to levels known to cause acute toxicity.14PubMed Central. Risks for human health related to the presence of pyrrolizidine alkaloids in honey, tea, herbal infusions and food supplements Modern analytical methods can now screen for over 100 individual pyrrolizidine alkaloids across honey, pollen, teas, and supplements using high-resolution mass spectrometry, which has made surveillance far more effective than it was even a decade ago.15PubMed. An analytical platform for the screening and identification of pyrrolizidine alkaloids in food matrices with high risk of contamination
Trace Nicotine in Everyday Vegetables
Nicotine is not exclusive to tobacco. Tomatoes, peppers, potatoes, and eggplant all contain it in trace amounts, which makes sense given that these plants are all in the same family as tobacco. Among edible nightshades, peppers tend to have the highest concentrations, with a median around 102 micrograms per kilogram of dry weight, followed by fresh ripe tomatoes at about 44 micrograms per kilogram.16PubMed Central. Nicotine from edible Solanaceae and risk of Parkinson disease Cooked potatoes come in lower still. The average person’s daily dietary nicotine intake from vegetables is estimated at roughly 1.4 micrograms, with the top five percent of consumers getting about 2.25 micrograms.17PubMed. Determination of the nicotine content of various edible nightshades (Solanaceae) and their products and estimation of the associated dietary nicotine intake
These quantities are vanishingly small compared to what a smoker inhales. A single cigarette delivers roughly 1,000 to 2,000 micrograms of nicotine into the bloodstream, dwarfing the daily dietary total by a factor of several hundred. The amounts in food are too low to cause addiction or noticeable stimulation. Researchers have been interested in whether even this tiny dietary exposure might have subtle protective effects on the brain, particularly regarding Parkinson’s disease, though the evidence remains observational and preliminary.
Poppy Seeds and Drug Tests
Poppy seeds come from the same plant that produces opium, and they retain enough morphine and codeine on their surface to be biologically detectable after a meal. In a controlled study where participants ate poppy seeds, about 63 percent tested positive for morphine in oral fluid and 67 percent tested positive for codeine, with morphine detectable for at least 24 hours after dosing.18PubMed Central. Morphine and Codeine in Oral Fluid after Controlled Poppy Seed Administration In a separate study using poppy-seed curry, subjects who consumed a higher dose had urine opiate levels above the standard 300 ng/mL cutoff, particularly after multiple meals.19PubMed. Profiling of morphine and codeine in urine after the ingestion of curry containing poppy seed as an evidence for opiates defence in Malaysia
This is not a theoretical problem. People have failed workplace and military drug screenings because of bagels, pastries, and poppy-seed dressings. In the United States, the federal workplace drug testing threshold for opiates was raised specifically because of how easily poppy seeds triggered false positives. Some countries have issued guidance advising people subject to drug testing to avoid poppy seed products for at least 48 hours before a test. The opiates in these seeds are real, not a myth, but the quantities in a typical serving are far too low to produce any drug-like effects.
Tropane and Ergot Alkaloid Contamination in Grains
Tropane alkaloids, specifically atropine and scopolamine, do not belong in grain products at all but end up there when seeds of Datura or similar weeds get harvested alongside the crop. Contamination has been documented in maize milling products and buckwheat foods, prompting the European Commission to recommend closer monitoring.20PubMed. Are tropane alkaloids present in organic foods? Detection of scopolamine and atropine in organic buckwheat (Fagopyron esculentum L.) products by UHPLC-MS/MS Atropine and scopolamine affect the nervous system by blocking acetylcholine signaling, causing symptoms like dry mouth, blurred vision, rapid heartbeat, and confusion. Infants and young children are particularly vulnerable because of their low body weight.
Ergot alkaloids are another class of grain contaminants, produced by the Claviceps fungus that infects rye, wheat, and barley. Recent surveys found ergot alkaloids in a substantial share of cereal samples tested: roughly 20 percent of cereal samples in one North African survey and half of animal feed samples in a Southeast Asian survey, with concentrations ranging from a few micrograms per kilogram up to about 159 micrograms per kilogram in dairy feed.21PubMed Central. Innovative Detection and Mitigation of Ergot Alkaloids in Cereals: Advancing Food Safety At high doses, ergot alkaloids cause vasoconstriction, hallucinations, and gangrenous symptoms — the condition historically known as “St. Anthony’s Fire.” Modern grain cleaning has made severe ergotism exceedingly rare, but low-level chronic exposure through contaminated flour remains a food safety priority.
Lupin Seeds and Quinolizidine Alkaloids
Lupins are high-protein legumes growing in popularity as meat alternatives, but traditional varieties are loaded with bitter, toxic quinolizidine alkaloids. For centuries, cooks have dealt with this through debittering: boiling the seeds and then soaking them in water that gets changed daily until the bitterness disappears.22PubMed Central. Alkaloids in edible lupin seeds: A toxicological review and recommendations Modern low-alkaloid cultivars bred for the European market have reduced the problem, but they have not eliminated it entirely. The alkaloids resist heat, so cooking alone does not significantly lower levels — the reduction depends on leaching into the cooking water, which then gets discarded.23PubMed. The fate of quinolizidine alkaloids during the processing of lupins (Lupinus spp.) for human consumption
The European Food Safety Authority’s assessment found that some consumers face real risk: people eating lupin seeds without a debittering step, those eating debittered seeds that still had high alkaloid content, and consumers of lupin-based meat substitutes can hit unsafe exposure levels.24PubMed Central. Scientific opinion on the risks for animal and human health related to the presence of quinolizidine alkaloids in feed and food, in particular in lupins and lupin-derived products If you are buying whole lupin seeds, particularly from Mediterranean or Latin American markets, make sure they have been properly debittered before eating.
Alkaloids and Your Gut Bacteria
The relationship between dietary alkaloids and the gut microbiome is a newer area of research, but early findings suggest the interaction runs both ways. Alkaloids from Rhizoma Coptidis (goldthread), which contains berberine among other compounds, shifted the gut bacterial community in mice in ways associated with improved lipid metabolism: beneficial species like Akkermansia muciniphila increased, while potentially harmful ones like E. coli decreased.25Biochimica et Biophysica Acta (BBA) – Molecular Basis of Disease. Rhizoma Coptidis alkaloids alleviate hyperlipidemia in B6 mice by modulating gut microbiota and bile acid pathways Meanwhile, gut bacteria also transform alkaloids themselves. Fuzi (aconite) alkaloids undergo significant chemical changes during colonic fermentation, with gut bacteria altering their structures while the alkaloids simultaneously reshape the bacterial community — increasing Bifidobacterium while reducing other phyla.26PubMed. Gastrointestinal transformation of Fuzi alkaloids and their modulatory effects on gut microbiota
This two-way traffic complicates any simple story about what a food alkaloid “does” to you. The same compound may behave differently in people with different gut microbiomes, and the gut bacteria you host today may partly determine how you metabolize the alkaloids in tomorrow’s meal. Researchers are still mapping these relationships, and it will be years before we understand them well enough to make personalized dietary recommendations based on someone’s microbiome profile.
Why Some People Taste Bitterness More Intensely
There is a reason some people find coffee repulsive while others drink it black and enjoy it: genetic variation in bitter taste receptors. Humans have about 25 different bitter taste receptor genes (the TAS2R family), and allelic variation across these genes is extensive, driving real differences in taste sensitivity that shape food preferences.27PubMed Central. Bitter taste receptors Genes, evolution and health Specific receptor variants have been linked to sensitivity to particular bitter compounds, including amarogentin, one of the most intensely bitter natural substances known, and grosheimin, a bitter compound found in artichoke.28PLOS Genetics. Receptor Polymorphism and Genomic Structure Interact to Shape Bitter Taste Perception
This variation likely exists because bitterness detection is an ancient warning system against plant toxins. Being highly sensitive to bitter taste would have steered early humans away from poisonous plants — but being too sensitive would have meant missing out on nutritious foods that happened to contain harmless bitter compounds. The result is a population-wide spread of sensitivity levels, which partly explains why debates about whether dark chocolate, hoppy beer, or black coffee taste “good” can never be fully settled. People are genuinely tasting different intensities of the same molecules.
Why Plants Bother Making Alkaloids
From the plant’s perspective, alkaloids are chemical defense. They deter herbivores, resist pathogens, and sometimes even help recruit pollinators. Within families like the Solanaceae, different lineages have evolved distinct alkaloid profiles in response to the specific insects and fungi they face, with herbivore and pathogen coevolution shaping which compounds get ramped up and which get dialed down over evolutionary time.29Current Opinion in Plant Biology. Alkaloid evolution in the Solanaceae In some cases, specialist herbivores evolve to tolerate or even co-opt a plant’s alkaloids for their own defense, which can push the plant to reduce or abandon that particular chemical weapon entirely — a pattern researchers call “defense de-escalation.”30PubMed Central. Evolution of pyrrolizidine alkaloid biosynthesis in Apocynaceae: revisiting the defence de-escalation hypothesis
Humans have inserted themselves into this arms race in a peculiar way. Through thousands of years of selective breeding, we have lowered alkaloid levels in crops like potatoes, tomatoes, and lupins to make them palatable and safe, while simultaneously cultivating other plants — coffee, tea, cacao, chili peppers — specifically for the alkaloids that make them interesting. We are the only species that deliberately seeks out the chemical weapons of other organisms and calls them flavor.
How Cooking and Processing Affect Alkaloid Levels
The effectiveness of cooking depends heavily on which alkaloid you are dealing with. Quinolizidine alkaloids in lupins are heat-stable, meaning boiling alone does not destroy them — but they dissolve readily in water, so extended soaking and water changes carry them away. Tropane alkaloids are similarly stubborn. In one study of millet flour heated to 180°C for ten minutes, scopolamine and atropine declined by only about 25 and 22 percent respectively. Naturally occurring atropine in contaminated flour was even more resistant to heat than atropine that had been artificially added, suggesting that the cereal matrix physically shields the alkaloid from degradation.31Food Research International. Effect of pH and temperature on tropane alkaloids within a processing strategy to provide safe infant cereal-based food This finding has real implications for infant cereal safety, since babies eat relatively large amounts of cereal relative to their body weight, and the thermal processing used in manufacturing does not reliably eliminate tropane contamination.
Glycoalkaloids in potatoes are partially reduced by peeling and boiling, since much of the alkaloid concentrates in and just beneath the skin. Deep frying at high temperatures can degrade more than boiling, but no common cooking method eliminates glycoalkaloids completely. For poppy seeds, washing can reduce surface morphine and codeine, though commercial processing varies widely in how thoroughly this gets done. The overarching lesson is that heat alone is rarely enough to neutralize alkaloid risks — water-based removal, peeling, and careful sourcing of raw materials tend to matter more than cooking temperature or time.