While eczema is not necessarily inherited, there is a genetic component to the condition. If one or both of your parents have eczema, you may be more likely to develop the condition yourself. However, there are also other factors that can contribute to the development of eczema, such as environmental triggers and stress.