Food allergies are your immune system mistakenly treating a harmless food protein as a threat, then launching a defensive attack that causes real physical symptoms. The process happens in two phases: a silent “priming” phase where your body first encounters the protein and builds weapons against it, and a reactive phase where those weapons fire on every future encounter. About 32 million Americans have at least one food allergy, and the nine foods responsible for the vast majority of reactions are milk, eggs, fish, shellfish, tree nuts, peanuts, wheat, soybeans, and sesame.
The First Exposure: How Your Body Gets Primed
The first time you eat, touch, or inhale a food protein your body decides is dangerous, you won’t feel a thing. But behind the scenes, your immune system is quietly building a targeted weapon. It produces a specific type of antibody called IgE, custom-shaped to latch onto that particular protein. Copies of this IgE antibody travel through your bloodstream and attach themselves to immune cells called mast cells and basophils, which are stationed throughout your skin, gut lining, and respiratory tract.
Think of it like setting thousands of tiny mousetraps throughout your body, each one loaded and waiting for one specific trigger. This priming phase, called sensitization, can happen after a single exposure or build gradually over multiple encounters. You have no symptoms during this stage, which is why a first allergic reaction can seem to come out of nowhere with a food you’ve eaten before. In reality, your immune system had been quietly arming itself for weeks, months, or even years.
The Second Exposure: Why Reactions Happen
The next time that food protein enters your body, it meets all those primed immune cells. The protein binds to the IgE antibodies sitting on the surface of mast cells, linking two antibodies together like a bridge. This cross-linking acts as an on switch. The mast cells immediately dump their contents into surrounding tissue, releasing a flood of inflammatory chemicals, most notably histamine, along with leukotrienes, prostaglandins, and signaling molecules called cytokines.
These chemicals cause the physical symptoms you actually feel. Histamine widens blood vessels and makes them leaky, which causes swelling, redness, and hives. Smooth muscles in the airways and gut contract, leading to wheezing, throat tightness, cramping, and nausea. Mucus production ramps up, causing a runny nose or congestion. The speed of this cascade is striking: because the mast cells are pre-loaded and waiting, a full-blown reaction can begin within seconds to minutes of eating the food.
When Reactions Become Life-Threatening
Anaphylaxis happens when this chemical cascade goes systemic, affecting multiple organ systems at once instead of staying localized. Blood vessels throughout the body dilate and leak fluid, causing a dangerous drop in blood pressure. Airways narrow severely. The heart can develop an irregular rhythm. This combination of cardiovascular collapse and airway obstruction is what makes anaphylaxis a medical emergency. Epinephrine (the drug in auto-injectors like EpiPens) works by reversing these effects, constricting blood vessels, opening airways, and stabilizing the heart.
Not every food allergy reaction escalates to anaphylaxis. Many people experience only mild symptoms like an itchy mouth or a few hives. But the severity of a reaction is unpredictable. Someone who had a mild reaction last time can have a severe one the next, depending on factors like how much they ate, whether they exercised afterward, or whether they were also fighting an illness.
Food Allergy vs. Food Intolerance
These two conditions feel different and work through entirely separate biological pathways. A food allergy involves the immune system and can potentially affect your skin, lungs, gut, and cardiovascular system all at once. A food intolerance typically involves only the digestive system and produces less serious symptoms like bloating, gas, or diarrhea.
Lactose intolerance is the classic example: your body lacks enough of the enzyme needed to break down lactose, the sugar in milk. The undigested lactose ferments in your gut and causes discomfort, but your immune system isn’t involved at all. No IgE, no histamine, no risk of anaphylaxis. This distinction matters because people with a true milk allergy are reacting to milk protein, not milk sugar, and their reactions can be dangerous in a way that lactose intolerance never is.
Non-IgE Food Allergies
Not all food allergies follow the IgE pathway described above. A second category, called non-IgE-mediated food allergy, involves a different branch of the immune system. Instead of antibodies triggering mast cells, specialized immune cells called T-cells drive inflammation directly. These reactions tend to be slower, appearing hours after eating rather than minutes, and they primarily affect the gut. One well-known example is food protein-induced enterocolitis syndrome (FPIES), which causes severe vomiting and diarrhea in infants and young children, typically in response to milk, soy, or grains.
Unlike classic allergic reactions, non-IgE reactions don’t produce hives, swelling, or breathing problems. They also don’t show up on standard allergy skin prick tests or blood tests that measure IgE levels, which can make them harder to diagnose. The distinction matters for parents especially, because a baby who is violently vomiting two hours after eating a specific food may have a genuine immune-mediated allergy even if allergy tests come back negative.
Why Some People Develop Allergies
The core question, why one person’s immune system flags peanut protein as dangerous while another person’s ignores it completely, still isn’t fully answered. Genetics play a clear role: children with one allergic parent are at higher risk, and children with two allergic parents are at higher risk still. Having eczema or other allergic conditions like asthma significantly increases the likelihood of developing food allergies, a pattern doctors call the “allergic march.”
One leading theory involves the skin. Babies with eczema have a damaged skin barrier, and food proteins in household dust (from cooking peanuts, for example) may enter the body through broken skin before the baby ever eats that food. When the immune system first encounters a food protein through damaged skin rather than through the gut, it’s more likely to classify it as a threat. This theory has driven a major shift in prevention guidelines.
Early Introduction as Prevention
For decades, parents were told to delay introducing allergenic foods. Current guidelines say the opposite. For babies at high risk of peanut allergy, meaning those with severe eczema, egg allergy, or both, introducing age-appropriate peanut-containing foods as early as 4 to 6 months can reduce the risk of developing peanut allergy. This recommendation came after a landmark trial showed that early, regular exposure through the gut trains the immune system to recognize the protein as food rather than a threat.
For high-risk infants, a blood test or skin prick test may be recommended first to determine the safest way to introduce peanut. For most other babies without these risk factors, introducing common allergens around 6 months, when they start solid foods, is now considered protective rather than risky.
How Immunotherapy Retrains the Immune System
Oral immunotherapy (OIT) works by deliberately engaging the same IgE pathway that causes reactions, but in a controlled way that gradually dials down the response. Patients start with a tiny dose of the allergenic protein, often 5 milligrams or less, and eat it daily. Over weeks to months, the dose increases by 25% to 100% at each step until reaching a target maintenance dose.
This continuous, low-level stimulation forces the immune system to adapt. The T-cells that drive allergic inflammation gradually shift into a less reactive state. The body also begins producing regulatory immune cells that actively suppress the allergic response. Over time, the threshold for a reaction rises substantially. Someone who previously reacted to a trace amount of peanut might tolerate the equivalent of several peanuts.
The protection OIT provides is real but conditional. It depends on continuing to eat the allergen regularly. If a person stops their maintenance dose for an extended period, the desensitization can fade and reactivity may return. Researchers describe this as “desensitization” rather than a cure, a meaningful but maintenance-dependent shift in the immune system’s tolerance threshold.