How does a person get eczema?

Eczema. Doctors do not know the exact cause of eczema, but a defect of the skin that impairs its function as a barrier, possibly combined with an abnormal function of the immune system, are believed to be important factors. Studies have shown that in people with atopic dermatitis there are gene defects that lead to abnormalities in certain proteins (such as filaggrin) that are important in skin health.
Inherited. Eczema is generally inherited. There is usually family history for eczema, asthma or hayfever, together we call atopy. These three conditions are essentially the same condition but in different systems: skin, airways or sinuses.