Skip to main content

Food Allergy

Medically reviewed by Last updated on May 15, 2023.

What is a Food Allergy?

Harvard Health Publishing

A food allergy is a reaction by the body's immune system to something in a food, usually a protein; the body mistakenly acts like it is a germ or some other invader, and does its best to defend itself.

While any food could possibly cause an allergy, certain foods are much more likely to do so. In children, the foods that most commonly cause allergic reactions are:

  • Peanuts
  • Eggs
  • Milk
  • Soy
  • Wheat
  • Shellfish
  • Tree nuts

Most allergic reactions occur within 30 minutes of consuming the problem food. Often, the reaction occurs within 5 to 10 minutes, but it can occur as long as 4 to 6 hours after ingestion.

Food allergy is different from food intolerance. In food intolerance, there is a physical reaction to a food, but that reaction isn't allergic. Lactose intolerance is a common example. People who suffer from this have trouble digesting one of the sugars in milk and can have stomachaches or diarrhea when they drink milk or eat dairy products.

While the symptoms of food intolerance can be uncomfortable, this condition is not dangerous. There are also other conditions, such as celiac disease, which can cause reactions to foods (people with celiac disease have trouble with anything containing gluten) that are not allergic.

Another form of allergy is called the oral allergy syndrome. People who have this get itching of the lips, mouth, and throat (and sometimes swollen lips) after eating certain fruits or vegetables. This is rarely dangerous.

Food allergies are becoming more common, especially among children. While the exact cause of food allergy is unknown, it does tend to run in families.


It's not always easy to know when someone has a food allergy, because there are many different symptoms. They include:

  • Hives (a raised, pink, itchy rash)
  • Scratchy throat
  • Stomachache
  • Nausea or vomiting
  • Diarrhea
  • Swelling, especially around the mouth and face
  • Itchy eyes
  • Nasal congestion/runny nose
  • Other rashes, including eczema
  • Wheezing, or just trouble breathing
  • Difficulty with swallowing
  • Rapid heart rate
  • Lightheadedness
  • In babies and small children, poor growth or blood in the stool

In severe cases, something called anaphylaxis can happen. This whole-body allergic reaction combines many of the symptoms mentioned above and can lead to death if not treated immediately.


Many times, the diagnosis of food allergy can be made by the history. For example, if a child has hives or swelling of the face after eating something with peanuts, they are likely allergic to peanuts. But because symptoms can be so varied, the diagnosis is sometimes harder to make. A detailed diary of food intake and symptoms and information about food allergies in the family can be helpful. But your doctor may need to do testing to be sure. There are two commonly used tests:

Skin tests. The allergy skin-prick test involves pricking the skin with a solution of the suspected food. A positive test will produce a small hive-like reaction.

The downside of this test is that it is uncomfortable – and for children with eczema or other skin conditions, the results may be difficult to interpret. And in children with severe allergies, even the small amount of the food injected into the skin can cause significant reactions.

Another problem with skin tests is that in order for them to be truly reliable, the patient can't take any antihistamines for about two weeks before the test. For children who suffer from bad hay fever or other allergies, two weeks without antihistamines may be impossible.

Blood tests. Laboratory tests can measure the amount of food-specific IgE in the blood. IgE antibodies are made by the body in response to allergens. Once you have developed these IgE antibodies, they are constantly circulating in your blood. Therefore, this blood test can be done at any time. The greater the amount of IgE, the higher the probability the person has an allergy to that particular food.

These tests have the advantage of being less uncomfortable (one needle stick for the blood test instead of a bunch of pricks for the skin test) and can be done without stopping antihistamines. The downside of these tests (besides the expense) is that they can have both false positive and false negative results


Previously, experts used to say that avoiding foods that commonly cause allergies early in life could help prevent allergies. Research now shows that the opposite is true. Exposing infants to foods such as peanuts (being careful to avoid any choking risk) may prevent allergies. This is particularly true for infants who have severe eczema, or who have a family history of food allergies. Talk to your doctor about the best plan for your child.

For older children who have developed allergies, the best way to avoid an allergic reaction is to avoid the food or foods that cause a reaction. Here are some steps you can take:

  • Educate yourself so that you can recognize other forms or minor traces of the allergens in the foods your child eats. Read food labels (new labeling laws have made this easier) and ask questions when you eat in restaurants. If your child has a milk allergy, for example, avoid foods with ingredients that include casein, caseinate, whey or milk solids. And some foods, while they don't contain peanuts, are manufactured on machines that also manufacture foods with peanuts, making them dangerous to allergic people.
  • Educate your child about foods that must be avoided and why.
  • Inform all adults who have contact with your child about the allergy and what to do in an emergency.
  • Learn cardiopulmonary resuscitation (CPR).
  • If your child has a history of severe reactions to certain foods, you and your child should carry epinephrine at all times and use it at the first sign of an allergic reaction. Epinephrine is usually given with an injection device; ask your doctor for several of them (so that you can leave one everywhere your child goes often, to be safe), and make sure that everyone who cares for your child knows how to use it.
  • Make sure your child's school or daycare is aware of the allergy. Even small amounts of peanut butter in a classroom or on a lunch table can be dangerous, for example. Many schools have peanut-free classrooms and lunch tables.

Expected Duration

While most children outgrow food allergies, some carry them into adulthood. Teenagers need to be aware of food allergies they had as children and not assume they have outgrown them. In particular, allergies to peanuts, tree nuts, fish and shellfish usually are not outgrown.


For minor allergic reactions, over-the-counter or prescription antihistamines or nasal sprays can be used to relieve the symptoms. Talk to your doctor about the best medication for your child.

Severe reactions require prompt medical attention. Epinephrine via an injection device can be lifesaving. If epinephrine is used, the child still needs medical attention, as symptoms can return once the medication wears off. All those caring for the child should be instructed to either call 911 or take the child directly to an emergency room (never take the child yourself if there is any trouble breathing or the child appears ill – always call 911).

There are new treatments for allergy that are undergoing research; hopefully, we will have more ways to prevent and treat them in the future.

When To Call a Professional

If you or your child develops allergic symptoms after eating, call a health care professional immediately. If breathing difficulties occur, call 911.


The symptoms of food allergy can range from mild to life threatening. If a food or ingredient is easy to avoid, the allergy may interfere very little with daily life. Some foods and ingredients, however, are widespread, and avoiding them will involve careful monitoring. Some food allergies disappear as a child ages.

Additional Info

The Food Allergy & Anaphylaxis Network                  

National Institute of Allergy and Infectious Diseases (NIAID)

American Academy of Allergy, Asthma & Immunology (AAAAI)


Further information

Always consult your healthcare provider to ensure the information displayed on this page applies to your personal circumstances.