Eczema, or atopic dermatitis, is a skin condition. It begins in infancy or childhood and the cause is often unknown. In some children, it may be caused by food allergies or allergies to things around them. Eczema can be hereditary. It may also be related to hay fever or asthma.