Story
Is cooked always safe?
Cooking works only on heat-sensitive protein toxins, such as those in raw soy milk and red kidney beans. Heat-stable small molecules, such as ginkgo toxin and potato glycoalkaloids, survive cooking and must be removed or limited.
Last updated
Overview and key questions
In short: Beans, seeds and tubers contain compounds the plant makes itself, and some of them poison people when handled badly or eaten in excess.
Educational content, not medical advice. See a clinician about your own case.
Story path
Chapter 1
Three kinds of natural toxin in the kitchen
Heat-sensitive proteins: lectins and trypsin inhibitors. Boil them in water long enough and their shape falls apart.Heat-stable small molecules: the ginkgo seed toxin and the glycoalkaloids in potatoes. Heat cannot break the molecules down; they have to be peeled away, removed, or eaten in small amounts.Cyanogenic glycosides: found in bitter apricot kernels, cassava and bamboo shoots. They release cyanide only when the cells are crushed by chewing and meet the enzyme that splits them, so they are dealt with by crushing followed by soaking, fermenting or roasting.
So cooked means safe holds only for the proteins (see Raw vs Cooked). A pot of undercooked green beans is fixed by cooking them through; a plate of fried ginkgo seeds can still poison people once it is cooked.
If, after eating these foods, someone keeps vomiting, has a seizure or has trouble breathing, get medical help immediately or contact a poison center.
A CLOSER LOOK
One pot, two outcomes
Cooking makes only the protein toxins safe; heat-stable small molecules need peeling, sprout removal and smaller portions.
- Proteins give way to sustained wet heat
- Lectins and trypsin inhibitors are proteins; boiled through in water, they lose their shape and stop working.
- Small molecules survive cooking
- The ginkgo toxin and potato glycoalkaloids are not destroyed by heat; they can only be cut away, removed or eaten less.
Illustration for understanding; not to scale. Saved figures include explanations and sources.
Mechanism · The dose decides the toxicity
The same review states that adverse reactions of this kind are uncommon overall, and mostly arise from eating too much, contamination, allergy or an individual's unusual sensitivity.
So the question is not whether a food contains natural toxins, but how much of this particular one it holds and whether kitchen handling can bring it down.
Myth · Where each of the two claims goes wrong
Cooked means safe: true for only some of them. A review of antinutrients in soybeans divides them into two groups: protease inhibitors and lectins are destroyed by heat, while saponins, phytate and tannins are relatively heat-stable.
The antinutrient effects in that soybean review come mostly from animal feeding studies and cannot be read directly as what happens in people.
So whether cooking helps depends on which group of molecules it is up against.
Chapter 2
Protein toxins need sustained heat
A protein's shape is sensitive to heat: boiled in water for long enough, these proteins fall apart and stop working. If the temperature is too low or the time too short, they do not fall apart completely, and dry heat or low-temperature slow cooking does not do it either.
At the stove, soy milk is one example. Soy-milk heating experiments show that the inhibitors lose their activity only after being held at a boil for some time, so what counts is how long the boil lasts, not whether the pot has foamed.
Mechanism · How the inhibitor slows digestion
All of this comes from animals. The same review states that human intake, metabolism and safety thresholds differ markedly from those in animals; human gastric juice alone lowers the inhibitory activity by 30 to 40 per cent; and because the risk is low, regulators do not require limits on these inhibitors in soy products.
So this evidence cannot be read as soy milk enlarging the human pancreas. What it shows is that these proteins in raw beans really do work against digestive enzymes, and that is why heating matters.
Numbers · The two inhibitors in soy milk
A soy-milk heating experiment found that KTI is quickly pulled into clumps of aggregated protein when heated and so loses activity fast; BBI stays out of the clumps and loses activity only as one of its peptide bonds slowly breaks, so it is slow. BBI has seven disulfide bonds that lock its shape, making it more heat-stable than KTI, and it also inhibits another digestive enzyme, chymotrypsin.
In terms of time: heating laboratory soy milk in boiling water for 20 minutes can wipe out KTI's inhibitory activity completely, while most of BBI's chymotrypsin-inhibiting activity survives the same treatment; the residual reported by different studies ranges from about two-thirds to more than 90 per cent.
These figures come from laboratory soy-milk systems and measure inhibitory activity, not what happens to digestion after a person drinks it.
In practice · Watch how long the boil lasts
Dried red kidney beans are another example of the same principle. In experiments, boiling for at least 10 minutes cuts the red-cell-clumping activity of their lectin, PHA, by about 200-fold; the US FDA's advice for home cooks leaves a margin: soak for at least 5 hours, pour off the soaking water, and boil in fresh water for at least 30 minutes. Dry heat is not enough, and slow cookers often run too cool, so do not cook dried beans in one directly. Undercooked red kidney beans cause nausea, vomiting and diarrhea, usually within a few hours of eating. Green beans have no such figure (see Green Beans); the one rule is to cook them through rather than flash-frying them over high heat.
So for the proteins, what counts is not whether the food looks cooked but how long the moist heat lasted.
Chapter 3
Heat-stable molecules: why ginkgo seeds cause seizures
Heat does not make ginkgo seeds safe: people are poisoned by fried and boiled seeds too. So with ginkgo seeds the only lever is the amount eaten, and there is no reliable safe number of seeds.
The glycoalkaloids in potatoes (often called solanine) are a second example of the same kind: heat cannot break the molecules down, and boiling after peeling lowers them only somewhat further, so peeling, cutting out sprouts and removing green parts is the more reliable route.
Mechanism · From vitamin B6 to seizures
Glutamate decarboxylase uses PLP to turn glutamate into . Without enough PLP this enzyme underperforms, brain GABA falls, excitation goes unchecked, and seizures follow. A direct inhibitory effect of MPN on glutamate decarboxylase has also been measured, but only at concentrations far above those in patients' blood, so the main route is the PLP shortfall.
This chain also explains the treatment: in hospital, giving vitamin B6 (PLP) is the most effective measure.
The mechanistic evidence comes mainly from rodents and from the author's own research group, and the clinical support is case reports, with no controlled trials.
Evidence · Why cooked ginkgo seeds still poison
The glycoside form is not safe either. In mice, free MPN caused seizures at a dose where the glycoside did not; but at double that glycoside dose two of six mice had seizures, at double again all of them did, and onset was delayed from about half an hour to one or two hours. Free MPN could be measured in the blood after dosing, suggesting the glycoside is cut back into the toxin inside the body.
The case reports agree: a 2-year-old boy had a seizure about 12 hours after eating twenty to thirty heated ginkgo seeds; a 41-year-old woman began vomiting 4 hours after eating 60 seeds she had roasted at home. In another case report, a 2-year-old girl who ate a large quantity of ginkgo seeds had vomiting and diarrhea after 7 hours and a seizure without fever after 9 hours; after PLP was given she had no further seizures, and the authors suggest the prompt treatment may have prevented more.
These are single cases, and no safe number of seeds can be worked out from them; why children are more susceptible is still unexplained. When a plate of ginkgo seeds is roasted in winter, what a child can tolerate cannot be judged from what an adult eats.
Numbers · The same kind of molecule in potatoes
They concentrate in sprouts, peel and parts turned green by light: levels in the peel are 3–10 times those in the flesh, sprouts carry far more than the flesh, and light, bruising, sprouting and long storage all raise the content.
Peeling lowers the content by 25–75%, and boiling or blanching after peeling lowers it by a further 5–65%, so peeling and cutting out sprouts does more than boiling alone.
There is no evidence of health problems from eating these molecules via potatoes over the long term.
Chapter 4
Cyanogens: poison released on crushing
Once cyanide gets into cells it shuts down cytochrome oxidase in the , so the cell cannot use oxygen even when it has it. The brain and heart, which use the most oxygen, are affected first, and severe cases bring coma and seizures.
So detoxifying cyanogenic glycosides works the opposite way to cooking beans: first break the food open so the enzyme can split the glycoside, then get rid of the released hydrogen cyanide by soaking, fermenting or roasting. Boil a piece whole and the enzyme is killed first, leaving most of the glycoside inside.
Bamboo shoots have a separate set of figures: in one study, boiling the shoots in plain or salted water for ten to twenty-five minutes lowered the cyanide precursors by roughly 80 to over 90 per cent under most conditions.
Mechanism · How the body disarms cyanide
Once the enzyme has been killed by cooking, the glycoside is still not automatically safe. The glycoside is then broken down mainly in the large intestine, where gut bacteria split it and release cyanide; how much is released depends on how much reaches the large intestine. The authors conclude that the real toxicity of cyanogenic glycosides is lower than the theoretical value calculated from their content.
Some cyanogenic glycosides can be actively absorbed in the small intestine, the combined effect of these factors is hard to predict, and the evidence comes mostly from laboratory, animal and limited human studies.
Numbers · Detoxifying cassava and bamboo shoots
Bamboo shoots contain mainly taxiphyllin. That study boiled four bamboo species in plain or salted water (zero to ten per cent salt) for ten to twenty-five minutes, and under most conditions the cyanide precursors fell by roughly 80 per cent to over 90 per cent, with marked losses of protein and micronutrients at the same time.
This is the result of a single study, and levels in bamboo shoots vary widely with species and origin, so it cannot be taken as a general rule.
Numbers · Why bitter kernels are not a snack
Converted using the content of raw apricot kernels (the bitter-almond type; see Almonds): a toddler exceeds it with one small kernel; for an adult about three small kernels is the limit, and with a large kernel less than half may already exceed it. So do not give children raw bitter apricot kernels, since one small kernel already goes over the limit; adults should not snack on them either.
This assessment had no real consumption data and could only estimate from the intakes promoted by sellers, and it covers acute risk only. For most foods other than raw apricot kernels, bitter almonds (the almond-tree kind) and cassava roots, cyanide is released more slowly, so the reference dose is likely to be on the cautious side.
Chapter 5
Kitchen rules and when to get help
Proteins (the inhibitors and lectins in soy milk, red kidney beans and green beans): boil them through with sustained moist heat; a quick stir-fry over high heat is not enough.Heat-stable small molecules (ginkgo seeds, sprouted or green potatoes): heat cannot break the molecules down. Boiling peeled potatoes lowers them somewhat further, but peeling, cutting out sprouts and removing green parts is more reliable; heating does not make ginkgo seeds safe, so the only lever is the amount.Cyanogenic glycosides (bitter apricot kernels, cassava, bamboo shoots): crush first, then soak, ferment or roast.
If, after eating, someone keeps vomiting, has a seizure, has trouble breathing or is confused, get medical help immediately or contact a poison center, and say what was eaten, how much, and when.
In practice · Habits that follow from the mechanism
Red flag · When to get help immediately
Seizures, trouble breathing, or a change in consciousness: both cyanide and the ginkgo seed toxin act on the nervous system. Cyanide poisoning is rare but often fatal, and plants that contain cyanogenic glycosides, such as cassava root, can be fatal too.Vomiting that will not stop, dehydration, high fever, or blood in the stool: these are signs of severe food poisoning.
When getting care, say what was eaten, how much, and when.
Seizures from ginkgo seed poisoning can appear several hours after eating; feeling fine while eating does not mean feeling fine later.
References (10)
- Dolan, L. C., Matulka, R. A., & Burdock, G. A. (2010). Naturally occurring food toxins. Toxins, 2(9), 2289–2332. 10.3390/toxins2092289
- Liener, I. E. (1994). Implications of antinutritional components in soybean foods. Critical Reviews in Food Science and Nutrition, 34(1), 31–67. 10.1080/10408399409527649
- Kobayashi, D. (2019). Food poisoning by ginkgo seeds through vitamin B6 depletion. Yakugaku Zasshi, 139(1), 1–6. 10.1248/yakushi.18-00136
- EFSA Panel on Contaminants in the Food Chain (CONTAM), Schrenk, D., Bignami, M., Bodin, L., Chipman, J. K., del Mazo, J., ... Grasl-Kraupp, B. (2020). Risk assessment of glycoalkaloids in feed and food, in particular in potatoes and potato-derived products. EFSA Journal, 18(8), e06222. 10.2903/j.efsa.2020.6222
- EFSA Panel on Contaminants in the Food Chain (CONTAM), Schrenk, D., Bignami, M., Bodin, L., Chipman, J. K., del Mazo, J., ... Schwerdtle, T. (2019). Evaluation of the health risks related to the presence of cyanogenic glycosides in foods other than raw apricot kernels. EFSA Journal, 17(4), e05662. 10.2903/j.efsa.2019.5662
- Vasconcelos, I. M., & Oliveira, J. T. A. (2004). Antinutritional properties of plant lectins. Toxicon, 44(4), 385-403. 10.1016/j.toxicon.2004.05.005
- Luo, Z., Zhu, Y., Xiang, H., Wang, Z., Jiang, Z., Zhao, X., Sun, X., & Guo, Z. (2025). Advancements in inactivation of soybean trypsin inhibitors. Foods, 14(6), 975. 10.3390/foods14060975
- Chen, Y., Xu, Z., Zhang, C., Kong, X., & Hua, Y. (2014). Heat-induced inactivation mechanisms of Kunitz trypsin inhibitor and Bowman-Birk inhibitor in soymilk processing. Food Chemistry, 154, 108–116. 10.1016/j.foodchem.2013.12.092
- Kajiyama, Y., Fujii, K., Takeuchi, H., & Manabe, Y. (2002). Ginkgo seed poisoning. Pediatrics, 109(2), 325–327. 10.1542/peds.109.2.325
- Centers for Disease Control and Prevention. (2024). Food poisoning symptoms - five signs of severe food poisoning. www.cdc.gov/food-safety/signs-symptoms/index.html
Written from the sources listed above. Checked sentence by sentence against them in . No physician reviews this site: it explains how the body works, and it is not medical advice. How we make content
Spotted an error, or something unclear? Email us. We read every message, check it against the sources, and fix what's wrong.