Type 2 DM is primarily due to lifestyle factors and genetics.[45] A number of lifestyle factors are known to be important to the development of type 2 DM, including obesity (defined by a body mass index of greater than 30), lack of physical activity, poor diet, stress, and urbanization.[16] Excess body fat is associated with 30% of cases in those of Chinese and Japanese descent, 60–80% of cases in those of European and African descent, and 100% of Pima Indians and Pacific Islanders.[11] Even those who are not obese often have a high waist–hip ratio.[11]
Type 2 diabetes was once rare in children and adolescents but has recently become more common. However, it usually begins in people older than 30 and becomes progressively more common with age. About 26% of people older than 65 have type 2 diabetes. People of certain racial and ethnic backgrounds are at increased risk of developing type 2 diabetes: blacks, Asian Americans, American Indians, and people of Spanish or Latin American ancestry who live in the United States have a twofold to threefold increased risk as compared with whites. Type 2 diabetes also tends to run in families.

There is no known preventive measure for type 1 diabetes.[2] Type 2 diabetes – which accounts for 85–90% of all cases – can often be prevented or delayed by maintaining a normal body weight, engaging in physical activity, and consuming a healthy diet.[2] Higher levels of physical activity (more than 90 minutes per day) reduce the risk of diabetes by 28%.[71] Dietary changes known to be effective in helping to prevent diabetes include maintaining a diet rich in whole grains and fiber, and choosing good fats, such as the polyunsaturated fats found in nuts, vegetable oils, and fish.[72] Limiting sugary beverages and eating less red meat and other sources of saturated fat can also help prevent diabetes.[72] Tobacco smoking is also associated with an increased risk of diabetes and its complications, so smoking cessation can be an important preventive measure as well.[73]
In autoimmune diseases, such as type 1 diabetes, the immune system mistakenly manufactures antibodies and inflammatory cells that are directed against and cause damage to patients' own body tissues. In persons with type 1 diabetes, the beta cells of the pancreas, which are responsible for insulin production, are attacked by the misdirected immune system. It is believed that the tendency to develop abnormal antibodies in type 1 diabetes is, in part, genetically inherited, though the details are not fully understood.
2.Retinopathy - Diabetes may cause blood vessels in the retina (the light sensitive lining of the eye) to become leaky, blocked, or grow abnormally [Figure 1]. Retinopathy is rare before the age of 10 and the risk increases with the length of time a person has diabetes. Treatments such as laser, injections in the eye, or other procedures may be helpful to prevent visual loss or restore sight. The longer a patient has diabetes, the greater chance of developing an eye problem.  All patients with diabetes are at risk for developing retinopathy, but the risk is higher for patients with worse blood sugar control.  Early retinopathy may have no symptoms, but early treatment is essential to prevent any loss of vision.
The World Health Organization recommends testing those groups at high risk[54] and in 2014 the USPSTF is considering a similar recommendation.[58] High-risk groups in the United States include: those over 45 years old; those with a first degree relative with diabetes; some ethnic groups, including Hispanics, African-Americans, and Native-Americans; a history of gestational diabetes; polycystic ovary syndrome; excess weight; and conditions associated with metabolic syndrome.[23] The American Diabetes Association recommends screening those who have a BMI over 25 (in people of Asian descent screening is recommended for a BMI over 23).[59]

Type 2 diabetes, which is often diagnosed when a person has an A1C of at least 7 on two separate occasions, can lead to potentially serious issues, like neuropathy, or nerve damage; vision problems; an increased risk of heart disease; and other diabetes complications. A person’s A1C is the two- to three-month average of his or her blood sugar levels.