In medicine, the hygiene hypothesis states that early childhood exposure to particular microorganisms (such as the gut flora and helminth parasites) protects against allergies by properly tuning the immune system. In particular, a lack of such exposure is thought to lead to poor immune tolerance. The time period for exposure begins before birth and ends at school age.
While early versions of the hypothesis referred to microorganism exposure in general, later versions apply to a specific set of microbes that have co-evolved with humans. The updates have been given various names, including the microbiome depletion hypothesis, the microflora hypothesis, and the "old friends" hypothesis. There is a significant amount of evidence supporting the idea that lack of exposure to these microbes is linked to allergies or other conditions, although it is still rejected by many scientists.