Differential diagnosis
Important differential diagnoses are:

Lactose intolerance generally develops later in life, but can present in young patients in severe cases. It is not an immune reaction and is due to an enzyme deficiency (lactase). It is more common in many non-Western people. Celiac disease. While it is caused by a permanent intolerance to gluten (present in wheat, rye, barley and oats), is not an allergy nor simply an intolerance, but a chronic, multiple-organ autoimmune disorder primarily affecting the small intestine. Irritable bowel syndrome
C1 Esterase inhibitor deficiency (hereditary angioedema), a rare disease, generally causes attacks of angioedema, but can present solely with abdominal pain and occasional diarrhea, and thus may be confused with allergy-triggered angioedema. Prevention
Breastfeeding for more than four months may prevent atopic dermatitis, cows milk allergy, and wheezing in early childhood. Early exposure to potential allergens may be protective. Specifically, early exposure to eggs and peanuts reduces the risk of allergies to these. Guidelines suggest introducing peanuts as early as 4–6 months and include precautionary measures for high-risk infants. The former guidelines, advising delaying the introduction of peanuts, are now thought to have contributed to the increase in peanut allergy seen recently.To avoid an allergic reaction, a strict diet can be followed. It is difficult to determine the amount of allergenic food required to elicit a reaction, so complete avoidance should be attempted. In some cases, hypersensitive reactions can be triggered by exposures to allergens through skin contact, inhalation, kissing, participation in sports, blood transfusions, cosmetics, and alcohol.
From two reviews, maternal intake of omega-3, long-chain fatty acids during pregnancy appeared to reduce the risks of medically diagnosed IgE-mediated allergy, eczema and food allergy per parental reporting in the first 12 months of life, but the effects were not all sustained past 12 months. The reviews characterized the literatures evidence as inconsistent and limited. Results when breastfeeding mothers were consuming a diet high in PUFAs were inconclusive. For infants, supplementing their diet with oils high in PUFAs did not affect the risks of food allergies, eczema or asthma either as infants or into childhood.There is research on probiotics, prebiotics and the combination of the two (synbiotics) as a means of treating or preventing infant and child allergies. From reviews, there appears to be a treatment benefit for eczema, but not asthma, wheezing or rhinoconjunctivitis. The evidence was not consistent for preventing food allergies and this approach cannot yet be recommended.The Food Standards Agency, in the United Kingdom, are in charge of funding research into food allergies and intolerance. Since their founding in 1994 they have funded over 45 studies. In 2005 Europe created EuroPrevall, a multi-country project dedicated to research involving allergies. See also
List of allergens (food and non-food)

References
NotesNester, Eugene W.; Anderson, Denise G.; Roberts Jr, C. Evans; Nester, Martha T. (2009). "Immunologic Disorders". Microbiology: A Human Perspective (6th ed.). New York: McGraw-Hill. pp. 414–428. Sicherer, Scott H. (2006). Understanding and Managing Your Childs Food Allergy. Baltimore: Johns Hopkins University Press. External links

Food Allergy, Merck Manual
"Food Allergies and Intolerances Resource List for Consumers" (PDF).