Pat Hammond's AP Chemistry class had been studying enzymes for two weeks, and she was running out of demos that did not require ordering anything. Then a parent posted a news article on the school Facebook group about a college student who had spent...
In This Chapter
Chapter 19 — Legumes, Nuts, and Seeds: Protein Without Animals
The Hook
Pat Hammond's AP Chemistry class had been studying enzymes for two weeks, and she was running out of demos that did not require ordering anything. Then a parent posted a news article on the school Facebook group about a college student who had spent thirty-six hours sick after eating four undercooked kidney beans from a slow cooker. Four beans, the article said. The student had been making chili. The slow cooker had been on the LOW setting all day. The beans had not been pre-boiled.
Pat printed the article and brought it to class on Monday.
"All right," she said, sliding a bag of red kidney beans across the demo bench. "These are food. They are also poison. Today's puzzle is figuring out which one they are when, and what the cooking is doing about it."
There was a pause while sixteen sophomores considered the bag of beans with new interest.
The compound that made the student sick is called phytohaemagglutinin, which is a long word for a small, stable protein that punches holes in the lining of your gut. It is one member of a family of plant proteins called lectins, and it is present in nearly all raw legumes — but it is dramatically concentrated in red kidney beans, where the dose in four undercooked beans was enough to put a healthy 19-year-old in bed for a day and a half. The same beans, boiled hard for ten minutes, are perfectly safe and have been a staple of human diets for thousands of years. The thing that changed in those ten minutes was that the lectin protein, like every other protein we have studied, unfolded under heat — and once unfolded, it could no longer find its target on the cells of the human gut.
This is a chapter about plant proteins, and about everything else that comes packed into a legume, a nut, or a seed. It is also a chapter about cooking as detoxification — about the long, generations-old human relationship with foods that needed to be processed before they could feed us. Every cuisine in the world has independently discovered the principles that make beans safe, that turn raw nuts into something delicious, that release the oil in a sesame seed into a paste called tahini. None of those cooks knew they were denaturing a lectin or extracting an oligosaccharide. They knew that you boiled the kidney beans, hard, for as long as it took. The science we are about to name is what their kitchens already knew.
The Everyday Observation
Look at a handful of dry kidney beans. They are small, hard, the color of old brick. If you bit one — please don't — you would notice that it tastes mildly bitter and that the texture is impossible. There is nothing in that bean, in its dry, raw state, that you would call food.
Now consider what beans become. Soaked overnight, then boiled gently for an hour, those same beans are creamy, mildly sweet, with a flavor that holds up to the spice and acid of any chili you can put around them. They have absorbed roughly twice their weight in water. The skins have softened. The starches inside the bean have gelatinized — a word we met in Chapter 9 — and the proteins have denatured into something digestible. The whole transformation took about an hour and forty cents' worth of dried beans.
Or consider a peanut. A raw peanut is bland, slightly waxy, with a flavor that mostly says "I'm a seed, I'm trying not to be eaten." Roasted at 320°F (160°C) for fifteen minutes, that same peanut is golden, complex, with the hundreds of volatile aromatic compounds that we now recognize from Chapter 8 as the signatures of the Maillard reaction. Crushed and stirred until its own oil releases, it becomes peanut butter — a smooth emulsion held together by nothing but the seed's own fat and protein.
Or consider an almond. A handful of almonds keeps for a year if you store it cool and dark, and goes off in three months if you leave it on the counter in summer. The fact that the same nut can be either stable or rancid, depending only on how it was stored, points to a chemistry we will untangle here: most of an almond is fat, and fat — especially the unsaturated fats that nuts are famous for — oxidizes in the presence of oxygen, light, and warmth. The almond on the counter is a slow chemistry experiment, and the experiment is destroying your almond.
Across the human-edible world, the bean, the nut, and the seed share a strange dual nature. They are concentrated nutrient packages — high protein, high fat or starch, sometimes both, with vitamins and minerals and bioactive compounds at densities you do not find in fruits or leaves. They are also packages that the parent plant did not want eaten. Every defense the plant could evolve, it deployed: hard coats, bitter compounds, anti-nutrients that bind the minerals you would otherwise absorb, lectins that would damage your gut, enzyme inhibitors that would block your digestion. Cooking, soaking, fermenting, and grinding are all techniques for getting around the plant's defenses. The cuisines that rely on legumes — which is to say, most of the cuisines on earth — are essentially traditions of negotiated truce between human appetite and seed defense.
This chapter is about that negotiation. We will start with legumes, because they are the most calorically and culturally important. We will move to nuts, where the chemistry of fats becomes the headline. We will finish with seeds, which are smaller but include some of the most concentrated flavor agents in any kitchen. Along the way we will visit lectins, phytic acid, the mysterious bean foam, the discovery of aquafaba by an Indiana home cook, and the question of why your mother's recipe says soak the beans overnight when food scientists will tell you it does not actually matter very much.
The Science
What is a legume?
Botanically, a legume is a plant in the family Fabaceae — beans, peas, lentils, chickpeas, soybeans, peanuts, fava beans, lima beans, mung beans, black-eyed peas, and dozens more. The defining feature of the family is the seed pod, which splits along two seams when ripe to release the seeds inside. The defining feature of the food legume is the seed itself: a small, dry package designed to germinate into a new plant when conditions are right.
That packaging tells us almost everything we need to know about what is in there. The seed must contain, in dormant form, everything the new seedling will need to grow until it can photosynthesize for itself. So a legume seed is, by weight, roughly:
- 20–25% protein in most beans — the highest plant-protein density we eat outside of soy, which goes higher.
- 40–60% complex carbohydrate, mostly starch, with a slow-digesting fraction that is unusual among grains and tubers.
- 15–25% fiber, a mix of soluble and insoluble.
- 1–8% fat, typically — except for two notable outliers. Soybeans are about 20% fat, which is why they're a major oilseed crop. Peanuts, despite being legumes, are about 50% fat — closer to a nut in nutrition than to a bean, which is why we usually treat them with the nuts in cooking.
- The rest is water, minerals (iron, magnesium, potassium, zinc, calcium), vitamins (folate, B vitamins), and a long list of minor compounds we will get to.
This composition is what makes legumes the protein backbone of most non-Western cuisines on earth. A pot of dal in India, frijoles in Mexico, ful medames in Egypt, peanut stew in West Africa, dou jiang in China, miso soup in Japan — all of them are doing the same nutritional work that a serving of meat does in cuisines with abundant grazing land. Legumes are why most of the world's cuisines could feed a population without the meat-heavy resource investment that European agriculture eventually adopted. They are also one of the rare crops that adds nitrogen to soil, via root-nodule bacteria, instead of depleting it. A field of beans this year leaves the soil better for the corn next year. Indigenous Mesoamerican farmers built an entire agricultural system around this fact (the milpa — corn, beans, and squash grown together; the corn provided the structure, the beans fixed nitrogen, the squash shaded the ground), and that system fed huge populations for thousands of years before European contact.
The lectin problem
🧪 Threshold Concept: Some plant proteins are biologically active at very low doses, and cooking is what disables them.
Lectins are a broad family of proteins, found in many plants, that bind specifically to carbohydrates on cell surfaces. The plant's reason for evolving them is not entirely clear — defense against insects and grazers is the main hypothesis, with some role in the seed's own development. From our point of view, the relevant fact is that some lectins, when eaten raw or undercooked, bind to carbohydrate structures on the cells lining the human gut, where they can damage the intestinal wall and cause the kind of vomiting-and-diarrhea episode that the student in Pat's article experienced.
Most legume lectins are present at low enough doses, or are inactivated easily enough, that traditional cooking has neutralized them long before anyone noticed they were there. Soaked-and-boiled black beans, lentils, chickpeas — all fine. The notable exception is the red kidney bean, Phaseolus vulgaris, which contains phytohaemagglutinin (PHA) at concentrations roughly 10 to 100 times higher than other common beans. The threshold for symptoms in an adult is around four or five raw or undercooked kidney beans. Symptoms appear in one to three hours: severe nausea, vomiting, diarrhea, abdominal pain. Recovery takes a day or two, no lasting damage in healthy adults, but it is genuinely unpleasant, and for someone medically vulnerable it could be more.
The good news is that PHA is heat-labile — it denatures and loses its biological activity at temperatures readily achieved by boiling. The standard food-safety guidance, drawn from controlled experiments, is:
- Soak dried kidney beans for at least 5 hours (overnight is fine and traditional). Discard the soaking water.
- Boil hard for at least 10 minutes at the start of cooking. The boiling, not the simmer, is doing the lectin work.
- Then continue cooking at a simmer until tender, typically another 45 minutes to an hour and a half depending on bean age.
The boil-hard-for-10-minutes step is non-negotiable. If you put soaked kidney beans straight into a slow cooker on LOW (around 175–200°F / 80–95°C), the temperature is below the threshold needed to fully denature PHA in a reasonable time, and the lectin can actually be more concentrated than in raw beans because it has been heated enough to release from cells but not enough to deactivate. This is the failure mode that put Pat's news-article student in bed. The fix is simple: boil the beans on the stove for ten minutes before transferring to the slow cooker. (Alternatively, use a pressure cooker — modern electric pressure cookers reach temperatures well above the lectin denaturation threshold, and the fast pressure cycle handles kidney beans safely.)
⚠️ This is real food safety. Treat kidney beans the way the food-safety literature treats them: soak, drain, and boil hard for ten minutes. Slow-cooker-only is the failure mode. Other legumes — black beans, pinto beans, chickpeas, lentils — have far lower PHA levels and are not associated with similar incidents, but the boil-hard-for-a-bit habit is good hygiene for any dried bean.
Phytic acid and the anti-nutrient question
🔬 Advanced Sidebar — Phytic acid chemistry. Phytic acid (myo-inositol hexaphosphate, IP6) is a small molecule built around an inositol ring with six phosphate groups attached. Each phosphate group can chelate (grab onto) divalent metal cations — iron(II), zinc(II), calcium(II), magnesium(II) — locking them in a soluble but biologically unavailable complex. In a legume seed, phytic acid serves as the storage form of phosphorus for the seedling and as a sink for the metals it will later use. From the eater's perspective, phytic acid in a meal can reduce mineral absorption by 20–80%, depending on dose, food matrix, and the eater's own iron and zinc status. The reduction is most significant for iron, where the phytate-iron complex is essentially indigestible. Endogenous phytase enzymes in the seed can break IP6 down into IP5, IP4, and lower forms with progressively less binding power; phytase is most active around pH 5–6 and 35–55°C (95–130°F), which is, suspiciously, exactly the conditions of sourdough fermentation, lentil sprouting, and traditional overnight soaking in slightly acidic water. Long fermentation (sourdough bread, tempeh, miso) reduces phytic acid by 50–90%; soaking with a slight acid addition (a tablespoon of yogurt or whey or lemon juice in the soaking water) reduces it 20–40%; pressure cooking reduces it modestly. The "anti-nutrient" framing is half-true: phytic acid does reduce mineral absorption, but for people with adequate intake of varied foods, the effect is small. For populations relying heavily on unprocessed whole grains and legumes as their primary food, traditional processing (fermentation, sprouting, sourdough) is what made those staples nutritionally complete.
The takeaway from the box, in plain language: phytic acid is a real thing, it does bind minerals, and traditional cuisines independently discovered processing techniques (fermentation, sprouting, long soaking) that reduce it. You do not need to obsess over it. You also should not dismiss the traditional techniques as superstition. They were doing real chemistry.
Soaking — what it does, what it doesn't
Every cookbook tells you to soak dried beans overnight. Many tell you it is essential. Modern food scientists, when pressed, will tell you it is helpful, not required. Both groups are correct; they are just optimizing for different things.
What soaking actually does:
-
Reduces cooking time, modestly. Pre-soaked beans cook in roughly two-thirds the time of unsoaked beans. The water has already penetrated the seed coat and started to hydrate the starch granules, so the cooking process has less work to do. The effect is real but smaller than you might guess — an unsoaked pot of black beans cooks in 90 minutes instead of 60. If you have time, who cares.
-
Leaches some of the oligosaccharides. Beans contain raffinose-family oligosaccharides (RFO) — short-chain sugars (raffinose, stachyose, verbascose) that humans cannot digest because we lack the enzyme alpha-galactosidase. These sugars pass through the small intestine intact and arrive in the colon, where gut bacteria ferment them, producing the gas that is famously associated with eating beans. Soaking with a discard-and-refresh of the water can leach 10–25% of these oligosaccharides into the soak water, which you then throw away. Result: somewhat less gas. (The over-the-counter product Beano is just supplemental alpha-galactosidase, the enzyme you don't make yourself, taken in pill form so it can break down the RFOs in your small intestine before they reach the bacteria.)
-
Reduces phytic acid, partially, by allowing the seed's own phytase to start working. Effect is small for typical overnight soaks; larger if soaking is extended to 24+ hours with the addition of a mild acid.
-
Changes the flavor and texture, slightly. Long-soaked beans have a slightly cleaner, less earthy flavor than unsoaked beans, and the skins are more uniformly tender. Whether this difference is worth caring about depends on your dish.
What soaking does not do:
- It does not "activate" the bean. (You sometimes see this language; it's not a useful description.)
- It does not reduce lectins meaningfully on its own. The boil does that work.
- It does not always produce better-tasting beans. Some cooks (Rancho Gordo, the heirloom-bean producer, is famous for this) prefer cooking dry beans without soaking at all, arguing that the extra cooking time and the bean's own broth produce a richer pot.
So: soak if you have time and want faster cooking; don't sweat it if you don't. The beans will be fine either way.
Hard water, salt, and the cooking-water debate
🔗 In Chapter 18, we met pectin — the polysaccharide that holds plant cell walls together — and we noted that pectin is cross-linked by calcium ions, and that calcium-rich (hard) water keeps fruits and vegetables firm. The same chemistry plays out in beans.
If you cook dried beans in very hard water — water with high calcium and magnesium content — the calcium ions form additional cross-links in the pectin of the bean's seed coat and cell walls, and the beans stay tough no matter how long you boil them. This is the Bay Area kitchen's old curse: you'd think the bean was old, when actually your tap water has just hardened the coat.
The fix is to cook beans in soft water, or in water with the calcium chelated out. A pinch of baking soda (sodium bicarbonate) in the cooking water raises the pH slightly and helps soften the skins, but go easy — too much and the beans turn to mush, and the alkalinity destroys some of the B vitamins.
The salt question, on the other hand, is a piece of received wisdom that has not held up. For decades, cookbooks insisted that salt should never be added to bean cooking water at the start, because it would "harden the skins" and prevent the beans from softening. The proposed mechanism was that the salt's sodium would replace the calcium pectin-cross-links and prevent water uptake.
It turns out this is mostly wrong. Cook's Illustrated, Kenji López-Alt, and several food science groups have run the controlled tests: beans cooked in salted water (around 1 teaspoon kosher salt per quart, about 6 grams per liter) cook in essentially the same time as unsalted beans, and they taste markedly better, because the salt has had the entire cooking time to penetrate the bean. The "don't salt" rule, like several other pieces of cooking dogma, is a folk theory that became received wisdom and then became uncritically repeated until someone bothered to test it. If you've been adding salt only at the end of bean cookery, give pre-salting a try — your beans will be more seasoned through and through, and the texture will be indistinguishable.
(The one exception: extremely high salt concentrations will slow water uptake — that's how brining works in Chapter 3 — but the everyday cooking-water level of around 1% salt is well below the threshold where this matters for beans.)
The foam, and what it is
When you bring beans to a boil, you'll see a layer of grayish-white foam rise to the surface. Many cookbooks tell you to skim it off. What is it?
Two things, mostly: saponins leached from the seed coat (these are surface-active compounds, hence the foam — saponin literally means "soap-like"), and proteins released from broken cells. The saponins are mildly bitter and probably the reason for the skim-it-off tradition. They're not harmful at the amounts in a normal pot of beans, but they don't taste good. The foam itself is harmless. Skim it for a cleaner-tasting broth, especially if the beans will be the basis of a soup. Don't skim it if you're making a mash that will be heavily seasoned anyway.
🍳 Kitchen Lab 19.1 — The Bean-Salt Test.
Cook two pots of black beans simultaneously: one with 1 teaspoon kosher salt added at the start, one with no salt until the end of cooking. Match every other variable — same beans, same water, same heat, same time. After 75 minutes, compare. The salted-from-the-start beans will be uniformly seasoned and noticeably more flavorful; the late-salted beans will have salt only on the surface, an unseasoned interior. Try them on rice and let the difference land. Full protocol in exercises.md.
Chickpeas, hummus, and the magic liquid
Chickpeas — Cicer arietinum, also called garbanzo beans — are the protein backbone of cuisines across the eastern Mediterranean, North Africa, India, and the Levant. They are larger than most beans, milder in flavor, with a nutty roundness that takes well to almost any seasoning. They are also the source of one of the most surprising kitchen discoveries of the last decade.
The traditional Levantine preparation, hummus, is a paste of cooked chickpeas, tahini (sesame seed paste — we'll meet it in a few pages), garlic, lemon juice, olive oil, and salt. The texture is what matters: a great hummus is silky, almost creamy, with no graininess from un-pulverized chickpea skins. The keys are (1) cooking the chickpeas long enough that they nearly fall apart, (2) processing them in a food processor until completely smooth, often with a small amount of ice water to keep the temperature down, and (3) the right ratio of tahini to chickpea, which in classic Levantine versions is much higher than most American recipes call for. The lemon and garlic are seasoning, not bulk; the tahini is doing the structural work of binding the puree into a smooth emulsion.
📜 The history of hummus is contested in the way that any food shared across the eastern Mediterranean tends to be — Lebanese, Palestinian, Israeli, Syrian, and Egyptian cooks all have versions with deep tradition. The earliest recorded recipes for chickpea-and-sesame paste come from medieval Arabic cookbooks dating to roughly the 13th century. The dish is genuinely shared across the region, and the politics of attributing it to a single nation are complicated. The science is simple: cooked chickpeas blend smoothly with sesame paste to make a stable emulsion bound by chickpea protein and starch.
But the truly remarkable chickpea story of recent decades is aquafaba. Aquafaba is the thick, viscous liquid left over after you cook dried chickpeas (or in the can of canned chickpeas). Until 2014, this liquid was treated as kitchen waste, suitable for the compost.
Then a French chef named Joël Roessel noticed that the liquid foamed when whipped. He wrote about it on a forum. Independently — and this is the part of the story I love — an American software engineer named Goose Wohlt, in Indiana, was experimenting with vegan meringues. Wohlt was looking for an egg-white substitute for vegan dishes, and he tried the chickpea liquid. It whipped. It held its shape. He posted his results in a vegan Facebook group in March 2015, with the name aquafaba (Latin for "bean water"). Within months, the technique had spread globally. Vegan meringues, vegan macarons, vegan mayonnaise, vegan cocktail foams. A discovery that classical food science had simply missed for centuries was uncovered by a hobbyist cook on a vegan Facebook group and named in Latin by a software engineer in Indiana.
The science is now understood: aquafaba contains chickpea proteins (some albumins and globulins) plus saponins plus oligosaccharides leached during cooking. The proteins denature and unfold at the air-water interface during whipping, the saponins act as surfactants stabilizing the foam, and the result mimics egg-white foam closely enough that you can use it gram-for-gram in many applications. (Egg white = 87% water, 11% protein. Aquafaba = ~95% water, ~1% protein, ~0.5% saponin. The lower protein content means slightly more whipping time and slightly less stability than egg white, but the principle is the same.) 🔗 We'll meet egg-white foams again in Chapter 12; aquafaba is the plant-based analog.
The lesson is theme #4 in dramatic form: traditions are accumulated science, but sometimes the science is still being accumulated, and the next discovery might come from someone in their kitchen wondering what would happen.
Lentils, peas, and the fast-cooking branch
Not all legumes need long cooking and pre-soaking. Lentils (split or whole), split peas, and the small mung beans are the fast-cooking branch of the family. Lentils in particular cook in 20–30 minutes from dry, no soak required, no kidney-bean lectin worry. They are smaller, with a thinner seed coat, and they break down more easily — which is a feature, not a bug, since their natural state in cuisines from India to Egypt to France is partially dissolved into a thickened sauce.
In Indian cooking, dal refers both to the lentil itself (or split mung bean, or pigeon pea, or split chickpea) and to the dish made from it. There are many regional dals, each with its own bean, its own spice profile, its own consistency, its own role in a meal. Tarka dal is Punjabi, with cumin and onion bloomed in ghee and stirred in at the end. Sambar from South India uses pigeon peas with tamarind and a complex spice mix. Dal makhani simmers black urad lentils overnight with cream and butter. The variations are endless. The principle is constant: a small legume, cooked until soft, finished with fat and spice, served with rice or flatbread to make a complete meal. 🔗 This will become important in Chapter 22, when we talk about the chemistry of spice blooming in fat — tarka is exactly that technique applied to dal.
🌍 Cultural Note — The legume backbone of world cuisines. The map of legume cuisines is a map of where humans developed sustainable population-feeding agriculture without needing extensive grazing land. India ate dal of various forms with rice or bread, region by region. Mexico and Central America developed the milpa (corn, beans, squash polyculture) and a thousand bean preparations from frijoles de la olla to refried beans to bean tamales. The Levant developed hummus, falafel (fried mashed chickpeas), foul medames (slow-cooked fava beans). Egypt has eaten ful medames as a breakfast for over five thousand years. West Africa developed groundnut soup and egusi soup (Maya's mother's specialty — egusi is a melon seed, but the principle is the same: a high-protein seed thickening a stew of greens and meat). East Africa has black-eyed peas, pigeon peas, and lentils across the Horn. East Asia developed soybeans into miso, soy sauce, tofu, edamame, soy milk, tempeh-adjacent natto, and yuba. The Mediterranean has chickpeas, fava, lupini. Each region's cuisine is its own deep tradition; together they represent one of the oldest and most successful nutritional inventions in human history. The temptation in a Western cookbook is to treat legumes as a "side dish" or a "vegetarian alternative." For most of the world, they are the meal.
Soy and its many forms
Soybeans deserve their own section because they have been transformed by traditional East Asian fermentation into a remarkable family of foods, most of which we will not unpack here because they belong to Chapter 33 (fermented soy). For now:
- Edamame — fresh green soybeans, briefly boiled in salted water, popped from the pod. The simplest soy preparation.
- Tofu — soy milk coagulated with a salt (calcium sulfate, magnesium chloride/nigari, or acid like glucono-delta-lactone), pressed to expel water. The protein structure depends on the coagulant: nigari gives a slightly grainy, complex texture; calcium sulfate gives a softer, smoother set. The method is structurally identical to making cheese (Chapter 16) — coagulate a protein-rich liquid into a curd, press the curd to extract whey. Where cheese coagulates milk casein with rennet or acid, tofu coagulates soy globulins with mineral salts.
- Soy milk — soybeans soaked, ground, cooked, and strained. The base for tofu and a beverage in its own right.
- Tempeh — cooked soybeans inoculated with Rhizopus oligosporus mold, fermented at 30°C (86°F) for 24–48 hours until the mold has knit the beans together into a dense cake. 🔗 We'll come back to this in Chapter 30.
- Miso, soy sauce, natto — long fermentations that produce some of the most flavor-dense foods in any kitchen. 🔗 Chapter 33.
For our purposes here, the takeaway is that soy is a legume of unusual flexibility: high enough in fat that it works as an oilseed, high enough in protein that it works as a meat-equivalent, with proteins (glycinin and beta-conglycinin) that respond to mineral coagulation in ways that no other common bean does. It is the legume that became infrastructure for half the planet's food culture.
Nuts: chemistry of the high-fat seed
🔗 We met fats in Chapter 11 — saturated, unsaturated, polyunsaturated, the geometry of the molecules and how it determines melting point and stability. Now we need that chemistry, because nuts are mostly fat (50–70%, with peanuts a touch lower at ~50%), and the kind of fat dictates almost everything about how nuts behave in your kitchen.
Most edible nuts are high in unsaturated fats — meaning their fatty acids contain one or more carbon-carbon double bonds, which break the chain's straight geometry, lower the melting point (so the fat is liquid at room temperature inside the nut), and make the fat vulnerable to oxidation. Oxidation is the process by which oxygen attacks the double bonds in unsaturated fatty acids, breaking them into smaller compounds that smell rancid — paint-like, soapy, fishy, depending on the specific nut. A walnut on the counter is doing the same chemistry as old paint drying. The result is the unmistakable bitter, off flavor of a stale nut.
The variables that drive nut rancidity:
- Polyunsaturation. The more double bonds, the more vulnerable to oxidation. Walnuts and flax (high in alpha-linolenic acid, an omega-3 with three double bonds) go rancid fastest. Almonds, pistachios, hazelnuts, and macadamias (mostly monounsaturated, with one double bond) are more stable. Brazil nuts and Pinus pine nuts are intermediate.
- Heat. Oxidation accelerates with temperature. Roasted nuts go rancid faster than raw nuts. Nuts left in a hot pantry go rancid in months; nuts in a cold pantry last far longer.
- Light. UV initiates oxidation. Glass jars on a sunny shelf are bad for nuts.
- Oxygen and surface area. Whole nuts last longer than halves; halves last longer than chopped; chopped last longer than ground. Nut butters, with their enormous surface area, oxidize faster than whole nuts unless properly stored.
- Antioxidants. Vitamin E (tocopherols) is a natural antioxidant in nuts that slows oxidation. Almonds, in particular, are high in tocopherols, which is part of why they keep so well.
The practical guidance for nut storage:
- Whole nuts in a jar in the freezer — the gold standard. Months to a year, sometimes more.
- Whole nuts in the fridge — also excellent, several months.
- Whole nuts in a sealed container in a cool, dark cupboard — fine for a few weeks.
- Nuts left in a clear bag on the counter in a sunny kitchen — your nuts will be off in a month, probably less.
- Nut butters once opened — fridge is ideal, especially for natural (no-added-stabilizer) butters where the oil floats and the surface is exposed.
⚠️ Allergen flag — Tree nuts and peanuts are among the most severe food allergens, capable of triggering anaphylaxis at trace exposures in sensitized individuals. Peanuts (a legume) and tree nuts (almond, walnut, cashew, pistachio, hazelnut, macadamia, pine nut, pecan, Brazil nut) are independent allergens — someone allergic to peanuts may not be allergic to tree nuts, and vice versa, though a meaningful subset is allergic to both. Cross-contamination is a real risk in shared facilities. If you cook for an allergic person, treat the kitchen as you would treat a kitchen with a child with a serious allergy — separate utensils, separate surfaces, vigilance. Soy and sesame are also among the top allergens, and we will note these where relevant.
Toasting nuts
Toasting nuts dramatically improves their flavor. The mechanism is the same as in coffee, in roasted meat, in browned bread crust: the Maillard reaction (Chapter 8) between amino acids in the nut's protein and reducing sugars in the nut's small carbohydrate fraction, producing hundreds of volatile aromatic compounds that did not exist in the raw nut. A raw almond tastes mildly milky and slightly bitter. A toasted almond tastes nutty, sweet, complex, with notes of caramel and biscuit. Same nut, different molecules, all built in fifteen minutes at 300°F (150°C).
The art of toasting: - Low and slow for evenness — 300–325°F (150–165°C) in the oven, stirring once or twice, until fragrant and lightly golden, 8–15 minutes depending on the nut. - Stop early. The carryover heat in a hot nut keeps cooking it after you take it out. Pull when slightly underdone. - Watch carefully. The line between toasted and burned is narrow, and burned nuts are bitter and ruined. - Cool fully before storing. Hot nuts steam in the container and go soft.
🍳 Kitchen Lab 19.2 — Toast vs. Raw, Side by Side.
Take one type of nut — almonds work well — and toast half of them, leaving the other half raw. Cool both. Taste them blind, side by side. The toasted nuts will read sweeter, more complex, more "nutty" (a recursive description that the Maillard reaction has made literal). Then make two simple pestos, identical except one uses raw and one uses toasted nuts. Same difference, amplified. Full protocol in exercises.md.
Nut butters and nut milks
A nut butter is an emulsion stabilized by the nut's own components. Crush a roasted peanut for long enough — and the friction of grinding both releases the oil and warms the system — and you cross a threshold where the solid particles are suspended in a continuous oil phase, with proteins and lecithin (a natural emulsifier we met in Chapter 11) as stabilizers. The result is a smooth, spreadable paste. Industrial peanut butters add stabilizers (mono- and diglycerides, palm oil) to prevent the oil from separating during storage. "Natural" peanut butters skip the stabilizers and let the oil rise; you stir it back in before using.
A nut milk is a different operation: nuts are soaked to soften them, blended with water, and strained through fine mesh or cheesecloth. The protein and a small amount of oil emulsify into the water, the fiber stays behind in the strainer. The result is a milky liquid that resembles dairy milk in appearance and viscosity but is structurally different — a dilute emulsion, not the complex protein-fat micelle suspension of milk. Almond milk, cashew milk, hazelnut milk, oat milk (technically not a nut, but the same principle), and several others fill the same culinary slot. They behave differently from dairy in cooking — they don't curdle the same way, they don't whip the same way, they don't fully replicate dairy's casein-based structure. But for many uses, they are an excellent functional substitute.
Seeds: the smallest packages
Seeds occupy a fuzzy boundary with both legumes (which are technically seeds) and spices (Chapter 22). For our purposes, "seeds" usually means the small ones we add to dishes whole or ground, often as much for flavor and texture as for nutrition: sesame, sunflower, pumpkin, flax, chia, hemp, poppy, mustard, fenugreek, fennel, caraway, cumin (also a spice), nigella, coriander.
They are concentrated little packages — high in fat (often 30–50%), moderate in protein (15–30%), with their own distinctive flavor compounds. Because they are small and high-surface-area, they go rancid fast: ground flax meal is famously short-lived once exposed to air, and is best ground fresh or stored frozen.
Some seeds we use mostly as spices, and we will return to them in Chapter 22 (mustard, fenugreek, fennel, cumin, caraway, coriander). Others are used mostly as foods or food-extenders — sesame, sunflower, pumpkin. And a small but important category — chia, flax — has become essential in modern vegan baking for a reason worth understanding.
Chia, flax, and the mucilage trick
If you stir a tablespoon of ground flax seed (or whole chia seed) into three tablespoons of water and wait ten minutes, the mixture will turn into a thick gel that you can use as a binder in baking — in many cases, replacing the structural function of an egg.
🔬 Advanced Sidebar — Mucilage. Chia and flax seeds have outer layers rich in mucilage, a heterogeneous mix of polysaccharides (predominantly arabinoxylans and uronic acids) that absorbs many times its weight in water. When the seed gets wet, the mucilage swells outward into a gel surrounding each seed (chia, where the gel forms visibly around each black seed) or releases more diffusely into the surrounding liquid (flax). The polysaccharide chains form a hydrogel network — not a true gelatin or pectin gel, but functionally similar: water immobilized within a polymer mesh. The viscosity and binding capacity of this gel are what makes flax and chia useful as egg substitutes in baking. In an egg-bound batter, the egg's protein network and emulsified fat both stabilize air bubbles and bind the structure. A flax or chia "egg" cannot do the protein-emulsifier work, but it can do the moisture-holding and structural-binding work that egg also performs in many baked applications.
The standard substitution: 1 tablespoon ground flax seed + 3 tablespoons water = 1 egg, for binding purposes. Or 1 tablespoon chia seeds + 3 tablespoons water, same ratio. Mix, let stand 10 minutes until thickened, use as the egg in muffins, pancakes, quick breads, cookies. It will not work for things that depend on egg's whipping or coagulating function (meringue, custard, soufflé) — those need actual eggs or aquafaba. But for muffins and many quick breads, the mucilage gel is functional and the result is often indistinguishable.
Mustard seeds and the wasabi-like burn
If you crush a mustard seed and put it on your tongue, nothing much happens. Crush it, mix with water, and wait two minutes — and now you have a sharp, tear-inducing mustard heat. What changed?
Mustard seeds contain glucosinolates — sulfur-containing compounds — and a separate enzyme called myrosinase, kept apart in the intact seed. When the seed is crushed and wetted, water carries the enzyme to the substrate, and myrosinase cleaves the glucosinolate to release isothiocyanates, the volatile sulfur compounds that produce mustard's characteristic sinus-burning sharpness. Wasabi and horseradish use the same chemistry with different specific compounds. (Note: heat denatures myrosinase, so once the mustard is hot, no more sharpness develops. Some traditional mustards add vinegar to the mash, which lowers the pH and limits enzyme activity, preserving a milder, longer-lasting heat.)
🍳 Kitchen Lab 19.3 — Make Your Own Mustard.
Crush 2 tablespoons of yellow mustard seeds in a mortar (or pulse in a spice grinder). Mix with 2 tablespoons of cold water. Let stand 10 minutes — taste. Then add 2 teaspoons of vinegar and a pinch of salt, stir, and taste again. The first taste is sharp and mustardy. The vinegar quenches the enzyme and the flavor mellows into something balanced. You have just made mustard. Full protocol in exercises.md.
Sesame, tahini, and the long history of an oilseed
Sesame seeds — Sesamum indicum — are among the oldest cultivated oilseeds, with archaeological evidence of cultivation in the Indian subcontinent and Mesopotamia going back at least 4,000 years. They are about 50% oil by weight, high in monounsaturated fats and the antioxidant sesamol, which is part of why sesame oil keeps so well.
The processed forms cascade across cuisines:
- Sesame seeds — toasted and used whole on bread, in stir-fries, in dressings.
- Tahini — sesame seeds ground into a paste, the way peanuts grind into peanut butter, except with hulled (or unhulled, in some traditions) sesame instead. Used in hummus, in dressings, in halva (a Middle Eastern confection of tahini and sugar — see below).
- Sesame oil — the oil pressed out of toasted sesame seeds; intensely flavored, used as a finishing oil in East Asian cuisine.
- Halva — a confection in which tahini is mixed with hot sugar syrup at the right temperature, the syrup interfering with crystallization in a controlled way to create the characteristic flaky-crystalline-creamy structure (Chapter 10 will be relevant for the sugar-crystallization side).
- Furikake, gomasio, the Japanese rice-toppings tradition — toasted sesame seeds combined with seaweed, salt, and other ingredients.
- Za'atar — Middle Eastern spice mixture often centered on sesame, sumac, and thyme.
⚠️ Sesame is now recognized as a top-9 allergen in the United States (added formally in 2023) and has long been recognized in Canada, the EU, and elsewhere. The FASTER Act in the US now requires sesame to be labeled on packaged foods alongside the original eight major allergens. Sesame allergy is rising, possibly because of sesame's increasing presence in baked goods, hummus, tahini, and spice blends.
🌍 Cultural Note — Egusi. Maya's mother makes egusi soup. Egusi is the seed of a melon native to West Africa (often Citrullus colocynthis or related cucurbits). The seeds are dried, ground, and stewed with greens, oil, and meat or fish into a thick, deeply savory soup that is a staple across Nigeria and other parts of West Africa. It is, structurally, exactly the same idea as a peanut stew — a high-fat, high-protein seed thickening a stew of greens and protein into a complete-meal sauce. The principle (concentrated seed as both flavor and structure) recurs across the African continent: groundnut (peanut) stew in Senegal and Mali, egusi in Nigeria, simsim (sesame) sauces in East Africa. These are not "ethnic curiosities" — they are sophisticated cuisines built on a chemistry humans figured out long ago, that the high-fat-high-protein seed can do work in a sauce that no other ingredient can.
The Practical Application
Pat ran her bean lab on a Wednesday, two weeks after the news article. She used pinto beans, not kidney beans — partly to avoid any worry about the lectin demonstration going wrong with thirty sophomores around a stove, partly because pintos are cheap and forgiving. She had three pots going.
Pot 1 was unsoaked pintos, brought to a boil in plain water, simmered for ninety minutes. Pot 2 was soaked pintos (overnight in plain water, drained, fresh water for cooking), brought to a boil, simmered for sixty minutes. Pot 3 was unsoaked pintos in very hard water (Pat had added a teaspoon of calcium chloride to the cooking water to simulate hard water), simmered for ninety minutes.
The class tasted them blind at the end of the period. Pot 2 was the consensus best — clean, soft, even texture, mildly sweet. Pot 1 was good — slightly more skin presence, a bit chewier but full-flavored. Pot 3 was the loser — beans still firm, almost crunchy at the skin, despite ninety minutes of simmering. "What you're tasting in pot three," Pat told them, "is calcium binding pectin in the bean's skin. Same chemistry as why hard water makes vegetables stay crisp, except here we don't want crisp."
A student raised her hand. "So how do you cook beans if your tap water is hard?"
"Use bottled water, or filter it, or add a tiny pinch of baking soda — the carbonate ion ties up the calcium. But a real pinch. Too much and your beans turn to soup."
Then Pat skimmed off the foam from one of the pots and wiped some onto a piece of bread for them to taste. "Saponins. Soap-tasting compounds from the seed coat. Skim them off if your beans are going into something delicate. Don't worry about them in a chili." She paused. "Now. Tomorrow we'll talk about lectins, and why you should never put dry kidney beans in a slow cooker. I have a news article you'll all enjoy."
Troubleshooting tree
My beans are still hard after hours of cooking. - Hard water? Try with bottled water or add a pinch of baking soda. - Old beans? Beans more than two years old may not soften no matter what. Buy fresh from a store with high turnover, or from a heirloom-bean source that dates them. - Acid added too early? Adding tomatoes, vinegar, lemon, or other acidic ingredients at the start can keep bean skins firm. Add acid in the last 20–30 minutes of cooking. - Salt is not the cause. (You may have heard otherwise. Run the test.)
My beans are mushy. - Overcooked, or boiled too vigorously instead of simmered. Drop the heat, drop the cooking time. - Too much baking soda. The alkaline environment dissolves the bean skins fast.
My beans give people gas. - Discard the soaking water; use fresh water for cooking. This leaches some of the oligosaccharides. - Cook a piece of kombu (kelp) with the beans — this is a Japanese practice that may help (kombu contains glutamic acid, which contributes umami; some sources suggest it also contains compounds that help break down RFOs, though the evidence is mixed). - Beano (alpha-galactosidase) before the meal, for sensitive eaters. - Build tolerance — gut microbiomes adapt over weeks of regular legume eating.
My nuts taste flat or off. - Probably rancid. Smell — fresh nuts smell rich and slightly sweet; rancid nuts smell paint-like or fishy. Toss them. - For storage, use the freezer.
My nut butter has separated. - Natural — for unstabilized nut butters, that's normal. Stir vigorously back together. Store in the fridge upside-down for a few days to redistribute.
My hummus is grainy. - Process longer. Add a tablespoon of ice water and process again. Make sure the chickpeas were cooked very soft, almost falling apart. Some traditions remove the chickpea skins individually before processing for the silkiest result — tedious but transformative.
My aquafaba won't whip. - Use the liquid from canned chickpeas (or from beans you've cooked yourself with low salt). The liquid should be thick, not thin — if it's watery, reduce it on the stovetop until viscous. - Add a tiny pinch of cream of tartar (acid stabilizer) and whip with a stand mixer or hand mixer at medium-high. Whipping takes longer than for egg whites — 5–10 minutes typically, vs. 3–5 for egg.
My mustard is too sharp / not sharp enough. - Sharper: more time before vinegar addition (let myrosinase work longer), or use brown/black mustard seeds, which have higher glucosinolate content. - Milder: add vinegar earlier (quenches the enzyme), or cook briefly to denature myrosinase. Or use yellow seeds.
Cross-chapter Connections
🔗 The proteins in legumes are still proteins (Chapter 7) — they denature under heat, like every other protein. The lectin in raw kidney beans is just one example of the broader principle that some proteins are biologically active in their folded form and inactivated when heat unfolds them.
🔗 Legume starches are starches (Chapter 9). They gelatinize as the bean cooks. The slowness of bean starch digestion compared to potato starch is partly about granule structure and partly about the surrounding fiber and protein matrix.
🔗 Nut and seed oils are fats (Chapter 11). The unsaturation profile dictates rancidity speed. The same oxidation chemistry we'll see in deep-frying degradation (Chapter 25) plays out, slower, in your pantry.
🔗 The aquafaba phenomenon connects to egg-white foams (Chapter 12) — same physics of protein at the air-water interface, slightly different protein.
🔗 Many seeds we treat here as foods will return in Chapter 22 as spices — mustard, fennel, coriander, cumin, caraway, sesame as a flavor — because the boundary between "seed-as-food" and "seed-as-spice" is mostly about quantity used.
🔗 Soy's transformations through fermentation belong to Chapter 33 (fermented soy: tempeh, miso, soy sauce, natto). The chickpea's hummus belongs to this chapter, but the bread we put it on traces through Chapters 17 and 33.
🔗 In Chapter 38 we'll meet precision fermentation — engineered microbes producing specific proteins like soy leghemoglobin (the heme that makes Impossible Burger taste meaty). The legume world is, in many ways, the prologue to the alternative-protein future.
Closing Reflection
Walk through any farmer's market, any supermarket aisle, any pantry, and run your eye across the legumes. A bag of black beans. A can of chickpeas. A bag of red lentils. A jar of peanut butter. A package of tahini. A small bag of sesame seeds. A box of mustard. They are the cheapest, longest-keeping, highest-protein foods on the shelves. They are also some of the most nutritionally and culturally complete foods humans have ever developed. The fact that you can make a complete meal from a pot of beans, a piece of bread, and a swirl of olive oil is a reflection of thousands of years of human selection for crops that would feed people without needing meat — a selection that produced the protein backbone of most cuisines on earth, the milpa system, the dal traditions, the tofu cultures, the peanut stews, the entire family of fermented soy foods.
Next time you cook a pot of beans, pay attention. The foam that rises is saponins from cell walls. The bean that won't soften is fighting your hard water with calcium. The salt in your water is seasoning every bean from the inside as it hydrates, despite what your grandmother's cookbook said about hardening the skin. The aquafaba pouring off into the colander is, depending on how clever you feel, either a useful addition to a pot of greens, a stable foam waiting to become a vegan meringue, or just the water the beans cooked in. The science is in there. So is the history. So, in the end, is the dinner.
The next chapter is about chocolate. It is the most scientifically complex food most people eat daily, and it begins, like beans, with a seed.