A food allergy is an immune system reaction to a protein in a food. It usually causes hives, swelling, vomiting or wheezing within minutes to 2 hours, and a severe reaction (anaphylaxis) can be life-threatening. A food intolerance doesn't involve the immune system. It's a digestive problem, such as lactose intolerance, that causes gas, belly pain or diarrhea and isn't dangerous (NIAID guidelines; MedlinePlus).
The difference decides what you do next: an allergy can mean strict avoidance and an epinephrine auto-injector, while an intolerance usually means eating less of the food. Babies add a twist, because their most common food reactions are delayed allergies that don't look like the classic kind. Here's how to tell them apart.
Food allergy vs food intolerance: the key differences
| Feature | Food allergy | Food intolerance |
|---|---|---|
| What's happening | Immune reaction to a food protein | Digestive problem, such as a missing enzyme |
| When symptoms start | Usually within 2 hours (immediate type); hours later for delayed types | Often 30 minutes to 2 hours after eating, sometimes later |
| Typical symptoms | Hives, swelling, vomiting, coughing or wheezing | Gas, bloating, cramps, diarrhea |
| Can it be dangerous? | Yes. Anaphylaxis can be life-threatening | No. Uncomfortable but not dangerous |
| Does the amount matter? | A small amount can cause a reaction | Usually; small amounts are often fine |
| Skin or breathing symptoms? | Common | No |
| Blood or mucus in a baby's stool? | Yes, in allergic proctocolitis | Not typical |
| How it's diagnosed | History, skin or blood tests, supervised food challenge | History, trial without the food, breath test |
Sources: NIAID food allergy guidelines; MedlinePlus on food allergy and lactose intolerance.
Immediate food allergy (IgE-mediated)
This is the classic food allergy. The immune system makes IgE antibodies against a food protein, and on the next exposure those antibodies trigger the release of histamine and other chemicals. Symptoms usually start within 2 hours, and often within minutes (MedlinePlus):
- Skin: hives, flushing, swelling of the lips, face or eyelids
- Gut: vomiting, belly pain, diarrhea
- Breathing: runny nose, coughing, wheezing, a hoarse voice
- Severe (anaphylaxis): trouble breathing or swallowing, pale or bluish skin, dizziness, fainting
In the US, nine foods are labeled as major allergens: milk, eggs, fish, crustacean shellfish, tree nuts, peanuts, wheat, soy and sesame (FDA). Peanuts, tree nuts, milk and sesame are the most common causes of severe reactions in children (HealthyChildren.org).
Delayed food allergies in babies (non-IgE)
Some food allergies involve a different part of the immune system. Symptoms appear hours later, and the usual skin and blood allergy tests, which look for IgE, don't diagnose them. That makes them easy to mistake for a stomach bug or an intolerance. Two matter most in babies.
Blood in a baby's stool: allergic proctocolitis (FPIAP)
Food protein-induced allergic proctocolitis is the usual cause of streaks of blood or mucus in the stool of a baby who otherwise seems well and is growing. In studies of infants with blood in their stool, allergic proctocolitis explained up to about two-thirds of cases (Mennini et al., 2020). What to know:
- It's an inflammation of the lower colon, most often triggered by cow's milk protein. It shows up in the first weeks of life in both breastfed and formula-fed babies; in breastfed babies, the protein comes through the mother's milk (Salvatore et al., 2024).
- It's considered benign and temporary. The bleeding usually stops within days to weeks after the food is removed, either from the breastfeeding parent's diet or by switching to a hypoallergenic formula your pediatrician recommends.
- Most babies tolerate the food again before their first birthday.
- It's diagnosed by the history, improvement when the food is removed, and return of symptoms when it's tried again (NIAID guidelines). No allergy test confirms it.
Blood in a baby's stool always needs a call to your pediatrician, because other causes, such as a small tear near the anus, an infection or a bowel problem, need to be ruled out.
Repeated vomiting hours after a food: FPIES
Food protein-induced enterocolitis syndrome is a delayed allergy that mostly affects babies and young children. It causes vomiting, sometimes with diarrhea, that starts hours after the food, and it's often mistaken for a stomach bug (HealthyChildren.org). Reactions can be severe enough to cause shock (international FPIES guidelines). A baby who vomits over and over and becomes pale, floppy or very sleepy needs emergency care.
Common food intolerances in children
Intolerances are digestive, not immune, and in young children they're less common than parents often think.
Lactose intolerance happens when the gut makes too little lactase, the enzyme that digests milk sugar. Babies make lactase so they can digest milk, and children born at full term often don't show signs of lactose intolerance before age 3 (MedlinePlus); the common type develops gradually after about age 2 (NIDDK). A gut infection can cause a temporary dip in lactase at any age. Milk allergy, which can cause diarrhea in babies, is often mistaken for lactose intolerance.
Fructose intolerance (fructose malabsorption) causes diarrhea, gas and bloating after foods and drinks with fructose, including fruit juice, honey and drinks sweetened with high-fructose corn syrup. Children absorb more fructose as they get older. A related pattern, toddler's diarrhea, often starts between about 6 months and 3 years and may be linked to drinking too many sweetened drinks (NIDDK).
| Intolerance | Usual triggers | Typical symptoms | What helps |
|---|---|---|---|
| Lactose intolerance | Milk, ice cream, soft cheese | Gas, bloating, cramps, diarrhea | Smaller servings, yogurt and hard cheese, lactose-free milk, lactase drops |
| Fructose intolerance | Fruit juice, honey, foods and drinks with high-fructose corn syrup | Gas, bloating, diarrhea | Less juice and sweetened drinks; tolerance often improves with age |
| Toddler's diarrhea | Large amounts of sweetened drinks | Frequent loose stools in a child who is otherwise well and growing | Cut back sweetened drinks and juice |
Sources: NIDDK; MedlinePlus.
How doctors tell them apart
| Condition | How it's diagnosed | Usually managed by |
|---|---|---|
| Immediate (IgE) food allergy | History plus skin prick or blood IgE tests; a supervised oral food challenge if unclear | Pediatric allergist |
| Allergic proctocolitis (FPIAP) | History, improvement off the food, symptoms return when it's tried again | Pediatrician |
| FPIES | History and a supervised oral food challenge | Pediatric allergist |
| Lactose intolerance | Trial of a lactose-free diet, or a hydrogen breath test | Pediatrician |
| Celiac disease | Blood tests while still eating gluten, often confirmed by biopsy | Pediatric gastroenterologist |
Sources: NIAID guidelines; MedlinePlus; NIDDK.
A positive skin or blood test on its own doesn't prove an allergy. It shows sensitization, and sensitization alone isn't enough to diagnose a food allergy (NIAID guidelines), so testing is most useful when it's guided by a clear history of reactions. Never test a food at home that has caused a serious reaction before; food challenges should only be done under medical supervision (MedlinePlus).
How allergies and intolerances are treated
Food allergy:
- Avoidance is the main treatment (MedlinePlus). Your allergist will teach you to read labels and may prescribe an epinephrine auto-injector with a written emergency plan.
- Allergist-guided treatment is now an option for some children. Oral immunotherapy for peanut (Palforzia) is FDA-approved for children from age 1, and the injectable medicine omalizumab (Xolair) was approved in 2024 to reduce reactions after accidental exposure in children 1 and older. Children on either treatment still need to avoid the food (FDA; FDA).
- Many children outgrow milk, egg, wheat and soy allergies by age 5, while peanut and tree nut allergies are more likely to last (HealthyChildren.org). Your allergist can tell you when retesting makes sense.
Food intolerance: find how much your child can comfortably eat and adjust. There's no emergency plan to make, because intolerances aren't dangerous.
Cutting foods out has its own risk. A child avoiding milk or several foods can fall short on calcium, protein or calories, so keep an eye on growth. Our guide to growth in children with food allergies covers what to replace.
Prevention: for babies, giving common allergens early, around 6 months, lowers the risk of some food allergies. The landmark LEAP trial tested peanut only, in high-risk infants, and showed a large drop in peanut allergy. Current guidance also covers egg and other allergens; see introducing allergens to your baby.

Free tool
Allergen Introduction Schedule
Plan when and how to introduce peanut, egg and the other common allergens to your baby.
When to get help
| What you notice | What to do |
|---|---|
| Trouble breathing, a hoarse voice or throat tightness, swelling of the lips or tongue, or a child who turns pale, floppy or unusually sleepy after eating | Use epinephrine if prescribed, then call 911 |
| A baby who vomits repeatedly hours after a food and seems pale or very sleepy | Seek emergency care |
| Blood or mucus in your baby's stool | Call your pediatrician the same day |
| Hives, vomiting or a rash that keeps happening after a particular food | See your pediatrician within a few days; ask about an allergist |
| Your child is losing weight or not gaining weight alongside tummy symptoms | Book a visit soon |
| Gas, bloating or loose stools after milk or juice in a child who is well and growing | Mention it at the next well-child visit |
Getting the diagnosis right avoids both mistakes: missing a real allergy, and cutting foods from a growing child's diet when they don't need to be.





