What Causes Eczema? Understanding the Causes, Risk Factors, and Common Triggers

Eczema can cause persistent itching, dryness, redness, and uncomfortable skin flare-ups. But what actually causes this common skin condition? The answer is more complicated than a single allergy or environmental exposure. Genetics, immune system activity, skin barrier problems, and everyday environmental factors can all contribute to eczema.

Eczema is an umbrella term for several inflammatory skin conditions, and atopic dermatitis is the most common type. According to the National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIAMS), researchers do not know exactly what causes atopic dermatitis, but genes, the immune system, and the environment all play a role. It is also worth knowing that eczema is not contagious, so it cannot spread from person to person.

This guide explains the main biological causes of eczema, how family history fits in, and why allergies, food, and stress are often misunderstood. It also separates underlying causes from everyday triggers, because triggers can worsen existing eczema without being the reason it started. Understanding that difference can help you have a more useful conversation with your health care provider.

Understanding Eczema and How It Develops

What Is Eczema?

Eczema is a group of conditions that cause dry, itchy, inflamed skin. Many people use “eczema” and “atopic dermatitis” interchangeably, and the American Academy of Dermatology (AAD) notes that atopic dermatitis is often simply called eczema. It is a chronic condition that usually begins in childhood, although it can start at any age.

Other forms of eczema include contact dermatitis, dyshidrotic eczema, nummular eczema, and seborrheic dermatitis. Each type has its own pattern and its own contributing factors. That is why it helps to know which type of eczema is involved before looking for causes.

How Does Eczema Affect the Skin?

Eczema inflames the skin and disrupts its protective outer layer. The skin loses moisture more easily, which leads to dryness, itching, and irritation. NIAMS describes how scratching can lead to further redness, swelling, cracking, and crusting.

Most people experience periods when symptoms are worse, called flares, followed by periods when the skin improves or clears. Symptoms can look different depending on skin tone. Mayo Clinic notes that eczema may appear as small, raised bumps on brown or Black skin, and that the rash color varies with skin color. If you are dealing with persistent dry patches, our guide to dry skin may also help.

Is Eczema Contagious?

No. Eczema is not contagious, and you cannot catch it by touching, sharing a towel, or sitting next to someone who has it. The AAD and Mayo Clinic both state this clearly.

Open, cracked eczema skin can become infected, and some infections can spread. The eczema itself, however, does not.

What Are the Main Causes of Eczema?

Eczema does not have one single cause. Current evidence points to several biological and environmental factors that interact with each other. Atopic dermatitis, the most studied type, involves a combination of a weakened skin barrier, immune system activity, genetics, environmental exposures, and possibly changes in skin bacteria.

A Weakened Skin Barrier

Healthy skin acts like a wall. It keeps moisture in and keeps irritants, allergens, and microorganisms out. The AAD explains that the skin barrier also keeps skin hydrated so it does not become dry, irritable, or itchy.

In people with eczema, this barrier works less well. Mayo Clinic notes that with a weak barrier, the skin is less able to retain moisture and protect against bacteria, irritants, allergens, and environmental factors such as tobacco smoke. Water escapes more easily, and irritating substances get in more easily. The result is dry, inflamed, itchy skin.

One protein tied to this barrier is filaggrin. NIAMS explains that without normal levels of this protein, the skin barrier changes, allowing moisture to escape and exposing the skin’s immune system to the environment. A StatPearls clinical review reports that filaggrin mutations are present in up to 30% of people with atopic dermatitis, which means many people with eczema do not have this particular gene change.

An Overactive or Dysregulated Immune System

The immune system normally defends the body against bacteria and viruses. In eczema, NIAMS explains that the immune system can become overactive, creating inflammation in the skin. This inflammation is a core part of what makes eczema red, swollen, and itchy.

Researchers describe this as immune dysregulation. Signaling molecules released by immune cells drive the inflammation, and some of them also activate itch. The science is complex, but the practical point is simple: eczema is not only a “dry skin” problem. It involves the immune system as well.

Environmental Influences

Environmental exposures can contribute to eczema or aggravate it. NIAMS lists exposure to tobacco smoke among the environmental factors that may trigger the immune system to change the skin’s protective barrier. A StatPearls review also notes a possible association between smoking and adult-onset atopic dermatitis.

Other exposures commonly linked to flares include harsh cleaning products, fragranced personal care products, and very dry or cold air. Mayo Clinic includes many of these on its list of common triggers. Researchers are still working to understand which environmental factors matter most for developing eczema in the first place, and this remains an active area of study.

Changes in the Skin Microbiome

The skin is home to many bacteria and other microorganisms, collectively called the skin microbiome. Beneficial microbes help keep skin healthy. In many people with eczema, that balance appears to be disrupted.

Mayo Clinic explains that in some people, too much Staphylococcus aureus on the skin displaces helpful bacteria and disrupts the barrier. StatPearls reports that this bacterium colonizes the skin of more than 90% of people with atopic dermatitis and may worsen inflammation. Researchers still do not consider it the single original cause of eczema. It appears to contribute to inflammation and flares rather than start the condition.

Key takeaway: Eczema develops through several interacting factors. No one factor explains every case.

Is Eczema Genetic or Hereditary?

Does Eczema Run in Families?

Often, yes. NIAMS reports that the chance of developing atopic dermatitis is higher with a family history of atopic dermatitis, hay fever, or asthma. The AAD notes that studies found this to be true for about 70% of people with atopic dermatitis, who have one or more blood relatives with eczema or an allergic disease.

Having a parent or sibling with eczema raises risk, but it does not guarantee eczema. Many people with a family history never develop it. Genes appear to create susceptibility, not a fixed outcome.

The Role of Filaggrin Gene Variations

Variations in the gene that produces filaggrin can weaken the skin barrier. This is one of the best-understood genetic links to eczema. As the StatPearls review notes, not every person with a filaggrin defect develops atopic dermatitis, and many people with eczema do not have one.

Can You Develop Eczema Without a Family History?

Yes. Many genes and many environmental factors are involved, so eczema can appear in people with no known affected relatives. Mayo Clinic notes that the main risk factor is a personal or family history of eczema, allergies, hay fever, or asthma. Still, a missing family history does not rule eczema out.

How Does the Immune System Contribute to Eczema?

Immune Responses and Skin Inflammation

In atopic dermatitis, the immune system tends to favor a pattern of response often called a type 2 immune response. This pattern is also involved in allergic conditions such as asthma and hay fever. That overlap helps explain why these conditions often appear together.

Inflammatory signals from immune cells keep the skin red, swollen, and irritated. They also contribute to itching. NIAMS notes that researchers are studying how the nervous system and immune system communicate to cause the inflammation, itch, and pain seen in atopic dermatitis.

Why Does Eczema Cause So Much Itching?

Itching drives much of the discomfort of eczema, and it can become a cycle. Inflammation causes itching. Scratching damages the skin barrier, which increases irritation. More irritation brings more inflammation and more itching.

Repeated scratching can also break the skin. Mayo Clinic warns that open sores and cracks increase the risk of bacterial and viral skin infections. Interrupted sleep often follows, which can make daily life harder. For help with this part of eczema, see our guide to eczema treatment options.

Common Eczema Triggers That Make Symptoms Worse

Triggers are not the same as causes. In most cases they do not create eczema on their own. Instead, they can set off or worsen symptoms in a person who already has it. Mayo Clinic emphasizes that triggers vary widely from person to person.

Harsh Soaps and Skincare Products

Fragranced soaps, strong cleansers, some detergents, alcohol-based products, and irritating cosmetics can strip oils and irritate sensitive skin. Mayo Clinic notes that deodorant and antibacterial soaps can remove too much of the skin’s natural oils. Repeated exposure to these products can keep the barrier damaged.

Weather and Temperature Changes

Cold, dry air and low humidity can pull moisture from the skin. Heat and sweat can also irritate it. Mayo Clinic lists cold and dry air, along with heat and sweat, among common triggers.

Sudden temperature shifts affect some people more than others. Two people with eczema can react to the same weather in very different ways.

Dust, Pollen, and Other Environmental Allergens

Dust mites, mold, pollen, and pet dander appear on Mayo Clinic’s list of common triggers. Some people notice flares around these exposures. Others do not. They are not universal triggers.

Clothing and Fabric Irritation

Rough wool fabric is a classic trigger. Tight clothing, fabrics that trap sweat, and laundry detergent residue may also irritate sensitive skin. Soft, breathable fabrics are often better tolerated, though individual responses differ.

Stress and Emotional Factors

Mayo Clinic lists stress among common triggers. Stress can increase itching and scratching, and a flare can then add to stress. Itch-related sleep loss may increase emotional strain further.

Stress is better understood as a trigger than as a cause. If stress feels like part of your pattern, our guides on how to reduce stress and how to improve sleep may be useful.

Infections and Eczema Flare-Ups

Skin infections can worsen existing eczema or complicate it. Mayo Clinic lists skin infection among common triggers. Signs that may point to infection include new streaks, pus, or yellow scabs.

Key takeaway: Triggers differ from person to person. Identifying your own patterns is more useful than trying to avoid every possible trigger.

Can Allergies Cause Eczema?

The Connection Between Allergies and Eczema

Eczema and allergic conditions often appear together. StatPearls describes the “atopic march,” which links atopic dermatitis, asthma, and allergic rhinitis (hay fever). Mayo Clinic notes that many people with atopic dermatitis develop asthma and hay fever, and that this can happen before or after eczema begins.

The AAD adds an important detail: in most cases, atopic dermatitis is not caused or triggered by a specific allergy. People with eczema have a higher tendency toward allergic disease, but not everyone with eczema develops one.

Is Eczema the Same as an Allergic Reaction?

No. Atopic dermatitis is not simply an allergic skin reaction. It is a different process, involving the skin barrier and immune system together.

Three related conditions are worth separating:

  • Atopic dermatitis: A chronic condition tied to genetics, the skin barrier, and immune activity.
  • Allergic contact dermatitis: An itchy rash caused by touching a substance you are allergic to. Mayo Clinic notes that this is common in people with atopic dermatitis.
  • Irritant contact dermatitis: Skin damage caused by a substance that irritates the skin directly, without an allergy.

For more on this related condition, see our article on what causes contact dermatitis.

Can Dust, Pollen, or Pets Trigger Eczema?

They can for some people. Dust mites, pollen, and pet dander may contribute to flares in selected individuals. Exposure does not automatically cause eczema, and avoiding these allergens will not prevent it in everyone.

Can Certain Foods Cause Eczema?

The Relationship Between Food Allergies and Eczema

Food allergies and eczema are linked, but the link is often misunderstood. The American Academy of Pediatrics (AAP) reports that up to 40% of patients with eczema also develop food allergies. However, according to the AAP’s 2025 clinical report, foods typically do not cause atopic dermatitis.

Mayo Clinic notes that infants and children may have flares triggered by certain foods, such as eggs and cow’s milk. This is not the case for everyone, and food allergies do not explain most eczema.

Common Foods Associated With Allergic Reactions

Foods most often involved in allergic reactions include milk, eggs, peanuts, tree nuts, soy, and wheat. These are not universal eczema triggers. Many people with eczema eat all of them without any skin change.

Should People With Eczema Avoid Certain Foods?

Generally, no, not without a confirmed reason. The AAP warns that overemphasizing food allergy as a cause can lead to unnecessary and potentially dangerous elimination diets, which may result in intolerance of previously tolerated foods.

If you suspect a food allergy, ask a health care provider to evaluate it. Children should not have major food groups removed without professional guidance. No food has been shown to cure eczema, and a restrictive diet is not a substitute for medical care.

What Causes Eczema in Babies, Children, and Adults?

Causes of Eczema in Babies

Eczema often begins in infancy. StatPearls reports that about 60% of early-onset cases start within the first year of life. In babies, the contributing factors generally include genetic susceptibility, a developing skin barrier, an immune system that is still maturing, and environmental exposures. A family history of eczema, asthma, or hay fever raises the likelihood.

Parents sometimes worry that diaper-area rashes are eczema. NIAMS notes that atopic dermatitis rarely affects the diaper area, and other causes of diaper rash are more common.

Causes of Eczema in Children

In children, the same core factors apply: genetics, skin barrier function, and immune activity, along with environmental exposures. The AAP estimates that 20% to 25% of children experience eczema. NIAMS notes that for many children it goes away before the teenage years, although for some it continues or returns.

Why Do Adults Develop Eczema?

Eczema can begin at any age. Adult-onset atopic dermatitis happens, though it is less common. The AAD notes that for some people the disease first appears in adulthood.

Several things can contribute in adults:

  • Occupational exposure to irritants, such as cleaning products or solvents
  • Frequent handwashing and wet work
  • Chemical exposure
  • Contact allergies
  • Changes in skin barrier function over time

Mayo Clinic notes that irritant hand dermatitis especially affects people whose hands are often wet and exposed to harsh soaps, detergents, and disinfectants. Healthcare workers have a higher rate of hand eczema. If your hands are affected, our article on contact dermatitis risk factors covers related occupational exposures.

Do Different Types of Eczema Have Different Causes?

Yes. Eczema is not one disease with one cause. The table below summarizes the main contributing factors for each type.

Eczema typeMain contributing factors
Atopic dermatitisGenetics, skin barrier dysfunction, immune dysregulation
Contact dermatitisIrritants or allergic substances touching the skin
Dyshidrotic eczemaMultifactorial; may involve sweating, irritants, and contact sensitivities
Nummular eczemaOften associated with dry skin and barrier disruption; exact cause may be unclear
Seborrheic dermatitisInflammation associated with Malassezia yeast and other factors

Atopic Dermatitis

This is the type most people mean when they say eczema. It involves an interaction of genetics, skin barrier dysfunction, and immune activity. Environmental exposures influence how and when it shows up.

Contact Dermatitis

Contact dermatitis happens when the skin reacts to something it touches. Irritant contact dermatitis results from direct skin damage. Allergic contact dermatitis involves an immune reaction to a specific substance. Mayo Clinic gives examples such as poison ivy, perfume, lotion, and jewelry containing nickel. Learn more in our guide to contact dermatitis treatment.

Dyshidrotic and Nummular Eczema

Dyshidrotic eczema typically causes small, itchy blisters on the hands and feet. Nummular eczema causes round or coin-shaped patches. Their exact causes are less clear. Dry skin, barrier disruption, sweating, irritants, and contact sensitivities may all play a part.

Seborrheic Dermatitis

Seborrheic dermatitis tends to affect oily areas such as the scalp and face. It is associated with skin oils, inflammation, and a yeast called Malassezia that normally lives on the skin. Mayo Clinic lists dandruff as a form of seborrheic dermatitis. See our articles on dandruff and what makes dandruff worse.

These types do not share identical causes, so the right approach depends on which one a person has.

What Does NOT Cause Eczema?

Several common beliefs are not supported by evidence:

  • Contact with someone who has eczema. Eczema is not contagious.
  • Poor hygiene. Eczema is not caused simply by being unclean. In fact, over-washing with harsh products can aggravate it.
  • Food allergies alone. Foods do not usually cause atopic dermatitis, according to the AAP.
  • Stress alone. Stress can worsen symptoms but is not considered the underlying cause.
  • Infection. Having eczema does not mean you have an infection, although infections can complicate it.

Some of these factors can make symptoms worse without being the root cause. That difference matters for managing the condition.

When Should You See a Doctor About Eczema?

Consider seeing a health care provider if you or your child has:

  • Skin inflammation that is persistent or getting worse
  • Itching so severe that it disrupts sleep or daily activities
  • Frequent flare-ups
  • Painful or cracked skin
  • A rash that may be an allergic reaction to something touching the skin
  • Possible signs of infection, such as streaks, pus, or yellow scabs

Mayo Clinic advises seeking immediate medical attention if you or your child has a fever and the rash looks infected. Rapidly worsening painful skin, clusters of blisters, or punched-out sores can also signal a serious infection that needs prompt care.

A board-certified dermatologist can confirm the type of eczema and help you find a treatment plan that fits you.

Frequently Asked Questions About Eczema Causes

What is the main cause of eczema?

There is no single main cause. Atopic dermatitis, the most common type, appears to result from a combination of genetics, a weakened skin barrier, immune system activity, and environmental factors, as described by NIAMS.

Is eczema hereditary?

Family history raises risk. The AAD reports that many people with atopic dermatitis have a blood relative with eczema or an allergic disease such as asthma or hay fever. Even so, inheriting this tendency does not guarantee that eczema will develop.

Can stress cause eczema?

Stress is better understood as a trigger than a cause. Mayo Clinic lists stress among common flare triggers. It can increase itching and scratching, but it does not explain why a person has eczema in the first place.

Can allergies cause eczema?

Not usually. The AAD states that atopic dermatitis is most often not caused or triggered by a specific allergy. Many people with eczema do have allergic conditions, and certain allergens may aggravate symptoms in some individuals.

Does poor hygiene cause eczema?

No. Eczema is related to the skin barrier, immune system, and genetics, not to being unclean. Frequent washing with harsh soaps can actually irritate the skin and make symptoms worse.

Can certain foods trigger eczema?

For some children, yes, particularly when a true food allergy is present. The AAP notes that foods typically do not cause atopic dermatitis and that unnecessary elimination diets can be harmful. Ask a health care provider before removing foods.

Why does eczema suddenly appear?

Eczema can first appear at any age. A new exposure to irritants, changes in work or skin care habits, a new contact allergy, or shifts in skin barrier function may play a role. A provider can help determine the type and the likely contributors.

Can adults develop eczema for the first time?

Yes. The AAD notes that for some people atopic dermatitis first appears in adulthood. Adult-onset eczema may also be contact dermatitis, especially in people with frequent exposure to irritants.

Conclusion: Understanding What Causes Eczema

Eczema does not have one universal cause. Genetics, skin barrier dysfunction, immune activity, and environmental influences all contribute, and they interact differently in each person. Everyday triggers such as harsh products, weather, stress, or infections can worsen symptoms without being the underlying cause. Different eczema types also have different contributing factors.

Learning your own patterns is often the most practical step. If your eczema is persistent, painful, or disrupting your sleep, talk with a health care provider or dermatologist. Reviewing eczema treatment options can also help you prepare for that conversation.

Sources

Medical Disclaimer

This article is for general educational purposes only and is not medical advice. It cannot diagnose any condition or replace the guidance of a qualified health care professional. Always talk with your doctor or dermatologist about your own symptoms, risks, and treatment options. If you think you have a medical emergency or a serious skin infection, seek care right away.