There is a genetic component to asthma, i.e. having a family history of asthma or allergies can increase the risk of developing the condition. However, it is essential to note that only some people with a family history of the condition will have it.