There are two types of diabetes, type 1 and type 2. Type 1 is primarily genetic and affects the person from a very young age. Type 2 is mainly caused by excess weight and a lack of activity, with genetic factors playing a role as well.