Eczema affects the epidermis (epidermis) and the uppermost layer of the underlying dermis, which is interlocked with the epidermis by small cones, the so-called papillae.